The URL redirection must not redirect /cgi-bin/ folder : it's often for POSTed data, and redirecting POSTed data doesn't work. For example, this break mailman cgi-bin access...
This commit is contained in:
parent
956cf9f6cc
commit
883827c8d3
|
@ -4,6 +4,7 @@
|
||||||
KeepAlive Off
|
KeepAlive Off
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !/cgi-bin/
|
||||||
RewriteRule ^/(.*)$ %%redirect%%/$1 [R=301,L]
|
RewriteRule ^/(.*)$ %%redirect%%/$1 [R=301,L]
|
||||||
|
|
||||||
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
|
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
|
||||||
|
|
Loading…
Reference in New Issue