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:
Benjamin Sonntag 2012-01-24 11:53:03 +00:00
parent 956cf9f6cc
commit 883827c8d3
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
KeepAlive Off
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !/cgi-bin/
RewriteRule ^/(.*)$ %%redirect%%/$1 [R=301,L]
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc