1RewriteEngine 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. 5RewriteCond /usr/local/autotest/frontend/client/www/autotest.MoblabSetupClient -d 6RewriteRule ^/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. 9RewriteCond /usr/share/autotest/frontend/client/www/autotest.MoblabSetupClient -d 10RewriteRule ^/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