projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8a85e0a
)
Comment on new rewrite rule.
author
Mike Taylor
<mike@indexdata.com>
Thu, 22 Aug 2013 11:51:36 +0000
(12:51 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 22 Aug 2013 11:51:36 +0000
(12:51 +0100)
tools/apache2/mkws-live
patch
|
blob
|
history
diff --git
a/tools/apache2/mkws-live
b/tools/apache2/mkws-live
index
84cd8db
..
914b1d8
100644
(file)
--- 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]
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
RewriteRule /service-proxy/\?(.*) /service-proxy/?$1 [P] # [NE,P]
Header set Access-Control-Allow-Credentials true