From: Garrett Rooney Date: Mon, 9 Jan 2006 02:52:48 +0000 (+0000) Subject: Set up r->path_info so that the PATH_INFO environment variable gets X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12c486c895b67c1ef05c1e82fe2703f46b695858;p=thirdparty%2Fapache%2Fhttpd.git Set up r->path_info so that the PATH_INFO environment variable gets passed on to the back end FastCGI process. * modules/proxy/mod_proxy_fcgi.c (proxy_fcgi_canon): Use the post-hostname portion of the URL as the path info for the request. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@367170 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_fcgi.c b/modules/proxy/mod_proxy_fcgi.c index c9b0c72f4f1..8a6aac3f5ab 100644 --- a/modules/proxy/mod_proxy_fcgi.c +++ b/modules/proxy/mod_proxy_fcgi.c @@ -64,6 +64,8 @@ static int proxy_fcgi_canon(request_rec *r, char *url) r->filename = apr_pstrcat(r->pool, "proxy:", scheme, host, sport, "/", NULL); + + r->path_info = apr_pstrdup(r->pool, url); } else if (strncmp(url, "local://", 8) == 0) { url += 6;