root/inputs/.htaccess @ 8946
1 | 8513 | aaronmk | RewriteEngine on |
---|---|---|---|
2 | RewriteOptions AllowNoSlash InheritBefore |
||
3 | RewriteBase /datasources/
|
||
4 | |||
5 | SetEnvIf Request_URI ^ innermost_dir=datasources |
||
6 | |||
7 | # auto-add trailing / (dir without trailing / is absolute filesystem path)
|
||
8 | RewriteCond %{ENV:innermost_dir} =datasources
|
||
9 | RewriteRule ^/ %{REQUEST_URI}/ [discardpath,last,noescape,qsappend,redirect]
|