1Alias /kernels "/usr/local/autotest/kernels/"
2Alias /packages "/usr/local/autotest/packages/"
3
4# If the results directory doesn't exist locally, toss it to Google Storage.
5RewriteEngine On
6RewriteCond %{REQUEST_URI} ^/results/([0-9].*)$
7RewriteCond /usr/local/autotest/%{REQUEST_URI} !-f
8RewriteCond /usr/local/autotest/%{REQUEST_URI} !-d
9RewriteRule /results/([0-9].*) https://sandbox.google.com/storage/chromeos-autotest-results/$1 [R=301,L]
10