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.EmbeddedTkoClient -d 6 RewriteRule ^/embedded_tko(.*) /usr/local/autotest/frontend/client/www/autotest.EmbeddedTkoClient/$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.EmbeddedTkoClient -d 10 RewriteRule ^/embedded_tko(.*) /usr/share/autotest/frontend/client/www/autotest.EmbeddedTkoClient/$1 11