From 848c0701dd48ef4224abf0ada7c39e9afba5f1e1 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 22 Aug 2013 12:51:36 +0100 Subject: [PATCH] Comment on new rewrite rule. --- tools/apache2/mkws-live | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 1.7.10.4