Project

General

Profile

1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /CTFS/terms/
4

    
5
SetEnvIf Request_URI ^ innermost_dir=terms
6

    
7
# dir without trailing / is provided as an absolute filesystem path
8
RewriteCond %{ENV:innermost_dir} =terms
9
RewriteCond $0 ^/ [ornext]
10
RewriteCond #$0 ^(.*)$
11
RewriteRule ^.+$ ../_src/ctfs-comments_worksheet.xls%1 [discardpath,noescape,last,redirect,qsappend]
    (1-1/1)