Project

General

Profile

1 8066 aaronmk
RewriteEngine on
2 8446 aaronmk
RewriteOptions AllowNoSlash InheritBefore
3 8066 aaronmk
4 8444 aaronmk
SetEnvIf Request_URI ^ innermost_dir=tables
5
6 8407 aaronmk
# dir without trailing / is provided as an absolute filesystem path
7 8445 aaronmk
RewriteCond %{ENV:innermost_dir} =tables
8 8407 aaronmk
RewriteCond $0 ^/ [ornext]
9 8410 aaronmk
RewriteCond ?&$0 ^(.*)$
10 8507 aaronmk
RewriteRule ^.+$ /wiki/CTFS%1#Tables [discardpath,last,noescape,qsappend,redirect]