blob: 12fca9eae3d3018337d15761485b9d77ed2b09d5 [file] [log] [blame]
RewriteEngine On
# This rule is meant for autotest installations under a single directory,
# such as when pulling the code from git or from a tarball.
RewriteCond /usr/local/autotest/frontend/client/www/autotest.EmbeddedTkoClient -d
RewriteRule ^/embedded_tko(.*) /usr/local/autotest/frontend/client/www/autotest.EmbeddedTkoClient/$1
# This rule is meant for autotest installations from a package such as RPM.
RewriteCond /usr/share/autotest/frontend/client/www/autotest.EmbeddedTkoClient -d
RewriteRule ^/embedded_tko(.*) /usr/share/autotest/frontend/client/www/autotest.EmbeddedTkoClient/$1