Home | History | Annotate | Download | only in conf
      1 RewriteEngine On
      2 
      3 # This rule is meant for autotest installations under a single directory,
      4 # such as when pulling the code from git or from a tarball.
      5 RewriteCond /usr/local/autotest/frontend/client/www/autotest.MoblabSetupClient -d
      6 RewriteRule ^/moblab_setup((?!\/server\/).*)$ /usr/local/autotest/frontend/client/www/autotest.MoblabSetupClient/$1
      7 
      8 # This rule is meant for autotest installations from a package such as RPM.
      9 RewriteCond /usr/share/autotest/frontend/client/www/autotest.MoblabSetupClient -d
     10 RewriteRule ^/moblab_setup((?!\/server\/).*)$ /usr/share/autotest/frontend/client/www/autotest.MoblabSetupClient/$1
     11 
     12 <Location "/moblab_setup">
     13     DirectoryIndex MoblabSetupClient.html
     14     <IfVersion >= 2.4>
     15         Require all granted
     16     </IfVersion>
     17 </Location>
     18