You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modproxy-dev@apache.org by ba...@veribox.net on 2001/08/16 01:16:10 UTC
[PATCH] mod_proxy.c
when using the reverse proxy, requests for http://localhost/menu
were getting changed to http://localhostmenu.
barbee.
Index: modules/proxy/mod_proxy.c
===================================================================
RCS file: /home/cvspublic/httpd-proxy/module-2.0/mod_proxy.c,v
retrieving revision 1.50
diff -u -r1.50 mod_proxy.c
--- modules/proxy/mod_proxy.c 2001/07/31 16:25:18 1.50
+++ modules/proxy/mod_proxy.c 2001/08/15 21:30:42
@@ -181,7 +181,7 @@
if (len > 0) {
r->filename = apr_pstrcat(r->pool, "proxy:", ent[i].real,
- r->uri + len, NULL);
+ (r->uri + len - 1), NULL);
r->handler = "proxy-server";
r->proxyreq = PROXYREQ_REVERSE;
return OK;