Commit 774f8310 authored by Garrett Rooney's avatar Garrett Rooney
Browse files

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
parent 8cbef4b3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;