From: Philipp Spitzer Date: Tue, 25 Mar 2014 22:51:11 +0000 (+0100) Subject: Added RewriteEngine apache2 configuration. X-Git-Tag: 0.0.2~18 X-Git-Url: https://git.toastfreeware.priv.at/toast/tdyndns.git/commitdiff_plain/58bc2f42632c8ddda0fb245e24e2ab13841617c8 Added RewriteEngine apache2 configuration. --- diff --git a/doc/apache2.txt b/doc/apache2.txt index b4458be..bfeb12f 100644 --- a/doc/apache2.txt +++ b/doc/apache2.txt @@ -1,5 +1,7 @@ # Add a virtual host similar than that: # (e.g. in /etc/apache2/sites-available/example.com.conf) +# +# The Rewrite* lines are necessary to prevent mod_cgi to filter the Authorization HTTP header. SSLEngine Off @@ -12,6 +14,9 @@ SetHandler cgi-script Options ExecCGI FollowSymLinks + RewriteEngine on + RewriteCond %{HTTP:Authorization} ^(.*) + RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]