From: Mike Taylor Date: Thu, 22 Aug 2013 11:51:36 +0000 (+0100) Subject: Comment on new rewrite rule. X-Git-Tag: 0.9.1~227 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=848c0701dd48ef4224abf0ada7c39e9afba5f1e1;p=mkws-moved-to-github.git Comment on new rewrite rule. --- diff --git a/tools/apache2/mkws-live b/tools/apache2/mkws-live index 84cd8db..914b1d8 100644 --- a/tools/apache2/mkws-live +++ b/tools/apache2/mkws-live @@ -14,6 +14,11 @@ RewriteLogLevel 1 RewriteLog /var/log/apache2/mkws-rewrite.log RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=demo&password=demo [P] # [NE,P] + + # The following rule allows the server to accept service-proxy + # requests that begin with an escaped "%3F" rather than a literal + # "?". This is useful, as requests generated by ProxyPass + # elsewhere always have the leading "?" escaped for some reason. RewriteRule /service-proxy/\?(.*) /service-proxy/?$1 [P] # [NE,P] Header set Access-Control-Allow-Credentials true