Project

General

Profile

« Previous | Next » 

Revision 13651

web/.phpPgAdmin/.htaccess: support overriding action param in a later RewriteRule

View differences:

.htaccess
37 37
RewriteCond %{ENV:base_url} !=""
38 38
RewriteCond %{ENV:subject} ="" [ornext]
39 39
RewriteCond ?subject=%{ENV:subject} ^(.*)$
40
RewriteRule ^$ %{ENV:base_url}/%{ENV:page}.php%1 [discardpath,last,noescape,qsappend,redirect]
40
RewriteRule ^$ %{ENV:base_url}/%{ENV:page}.php%1 [chain,discardpath,noescape,qsappend,redirect]
41
# append action
42
RewriteCond %{ENV:action} ="" [ornext]
43
RewriteCond action=%{ENV:action} ^(.*)$
44
RewriteRule ^.*$ $0?%1 [discardpath,noescape,qsappend,redirect]
41 45

  
42 46
## for internal URLs
43 47

  

Also available in: Unified diff