]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Set up r->path_info so that the PATH_INFO environment variable gets
authorGarrett Rooney <rooneg@apache.org>
Mon, 9 Jan 2006 02:52:48 +0000 (02:52 +0000)
committerGarrett Rooney <rooneg@apache.org>
Mon, 9 Jan 2006 02:52:48 +0000 (02:52 +0000)
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

modules/proxy/mod_proxy_fcgi.c

index c9b0c72f4f1637f1b27c0d03016ccea50202b76c..8a6aac3f5ab4bdf41e62f55daf9ebeee4d260b3a 100644 (file)
@@ -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;