Revision 14497
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/web/BIEN3/Redmine/wiki/.htaccess | ||
---|---|---|
1 |
RewriteEngine on |
|
2 |
RewriteOptions AllowNoSlash InheritBefore |
|
3 |
RewriteBase /BIEN3/Redmine/wiki/ |
|
1 |
# this dir only needed as symlink dest |
|
4 | 2 |
|
5 |
SetEnvIf Request_URI ^ innermost_dir=wiki |
|
6 |
|
|
7 |
# dir without trailing / is provided as an absolute filesystem path |
|
8 |
RewriteCond %{ENV:innermost_dir} =wiki |
|
9 |
RewriteCond $0 ^(?!/)(.+)$ [ornext] |
|
10 |
RewriteCond - () |
|
11 |
RewriteRule ^.+$ ../main/wiki/%1 [discardpath,last,noescape,qsappend] |
|
3 |
SetEnvIf Request_URI ^ ignore_fs=1 |
Also available in: Unified diff
web/BIEN3/Redmine/wiki/.htaccess: just use this dir as symlink dest, since the dir name is the same as the URL path within Redmine