• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Alias /packages "/usr/local/autotest/packages/"
2
3# If the results directory doesn't exist locally, toss it to Google Storage.
4RewriteEngine On
5
6# Redirect job result url.
7RewriteCond %{REQUEST_URI} ^/results/([0-9].*)$
8RewriteCond /usr/local/autotest/%{REQUEST_URI} !-f
9RewriteCond /usr/local/autotest/%{REQUEST_URI} !-d
10RewriteRule ^/results/([0-9].*) https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/$1 [R=301,L]
11
12# Redirect special task result url.
13RewriteCond %{REQUEST_URI} ^/results/(hosts/.*)$
14RewriteCond /usr/local/autotest/%{REQUEST_URI} !-f
15RewriteCond /usr/local/autotest/%{REQUEST_URI} !-d
16RewriteRule ^/results/hosts/(.*/[0-9].*) https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/hosts/$1 [R=301,L]
17