Revision 14834
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/web/BIEN3/Redmine/issues/.htaccess | ||
---|---|---|
6 | 6 |
SetEnvIf Request_URI ^ innermost_dir=issues |
7 | 7 |
|
8 | 8 |
# dir without trailing / is provided as an absolute filesystem path |
9 |
SetEnvIf Request_URI ^ dest=../!issues?c[]=status&c[]=priority&c[]=tracker&c[]=subject&c[]=updated_on&c[]=done_ratio&f[]=status_id&f[]=&group_by=&op[status_id]=o&per_page=100&set_filter=1&sort=priority%3Adesc%2Cid%3Adesc&utf8=✓ |
|
10 |
# can't use `RewriteRule ^ - [env=dest:__]` because that messes up % |
|
9 | 11 |
RewriteCond %{ENV:innermost_dir} =issues |
10 |
RewriteRule ^/ ../!issues?c[]=status&c[]=priority&c[]=tracker&c[]=subject&c[]=updated_on&c[]=done_ratio&f[]=status_id&f[]=&group_by=&op[status_id]=o&per_page=100&set_filter=1&sort=priority%3Adesc%2Cid%3Adesc&utf8=✓ [discardpath,last,noescape,qsappend] |
|
12 |
RewriteRule ^/ %{ENV:dest} [discardpath,last,noescape,qsappend] |
|
13 |
# need separate var because % is treated specially in the replacement str |
|
11 | 14 |
RewriteCond %{ENV:innermost_dir} =issues |
12 | 15 |
RewriteRule ^.+$ https://projects.nceas.ucsb.edu/nceas/issues/$0 [discardpath,last,noescape,qsappend] |
Also available in: Unified diff
bugfix: web/BIEN3/Redmine/issues/.htaccess: need to store dest in separate var because % is treated specially in the replacement str