blob: 51187a94aded5376e1dd490a55a6b7a2bda9947f [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.EmbeddedSpreadsheetClient -d
RewriteRule ^/embedded_spreadsheet(.*) /usr/local/autotest/frontend/client/www/autotest.EmbeddedSpreadsheetClient/$1
# This rule is meant for autotest installations from a package such as RPM.
RewriteCond /usr/share/autotest/frontend/client/www/autotest.EmbeddedSpreadsheetClient -d
RewriteRule ^/embedded_spreadsheet(.*) /usr/share/autotest/frontend/client/www/autotest.EmbeddedSpreadsheetClient/$1