summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-12-24 02:54:51 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-12-24 02:54:51 +0000
commit8b3a6ecfaa07b8bbf25a2429e15396d5941215d4 (patch)
treec34fb3976afcb8f937591d52670ec9f7d4d83d9b /sca-cpp/trunk
parentf5f34433577851deb6a5ca23b32fe275e02ac71a (diff)
Turn off URL canonicalization when routing a request through HTTPD's reverse proxy.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052434 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk')
-rw-r--r--sca-cpp/trunk/modules/server/mod-wiring.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/server/mod-wiring.cpp b/sca-cpp/trunk/modules/server/mod-wiring.cpp
index e873733939..0ab61f5af8 100644
--- a/sca-cpp/trunk/modules/server/mod-wiring.cpp
+++ b/sca-cpp/trunk/modules/server/mod-wiring.cpp
@@ -112,6 +112,7 @@ int translateReference(const ServerConf& sc, request_rec *r) {
debug(r->filename, "modwiring::translateReference::filename");
r->proxyreq = PROXYREQ_REVERSE;
r->handler = "proxy-server";
+ apr_table_setn(r->notes, "proxy-nocanon", "1");
return OK;
}