1 |
8066
|
aaronmk
|
RewriteEngine on
|
2 |
8403
|
aaronmk
|
RewriteOptions AllowNoSlash inherit
|
3 |
8394
|
aaronmk
|
RewriteBase /CTFS/schema/
|
4 |
8066
|
aaronmk
|
|
5 |
8363
|
aaronmk
|
# parse dotpath in the query string
|
6 |
|
|
RewriteCond %{QUERY_STRING} ^(?!&).+$
|
7 |
8399
|
aaronmk
|
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
|
8 |
8400
|
aaronmk
|
RewriteRule ^.*$ /dotpath%1 [discardpath,noescape,last]
|
9 |
8363
|
aaronmk
|
|
10 |
8376
|
aaronmk
|
# don't rewrite existing paths
|
11 |
|
|
RewriteCond %{REQUEST_FILENAME} -d [ornext]
|
12 |
|
|
RewriteCond %{REQUEST_FILENAME} -f
|
13 |
|
|
RewriteRule ^.+$ - [discardpath,noescape,last]
|
14 |
|
|
|
15 |
8394
|
aaronmk
|
RewriteRule ^.*$ ../_archive/DBv5.txt#$0 [discardpath,noescape,last,redirect]
|