httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r367170 - /httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c
Date Mon, 09 Jan 2006 02:52:49 GMT
Author: rooneg
Date: Sun Jan  8 18:52:48 2006
New Revision: 367170

URL: http://svn.apache.org/viewcvs?rev=367170&view=rev
Log:
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.

Modified:
    httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c

Modified: httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c?rev=367170&r1=367169&r2=367170&view=diff
==============================================================================
--- httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c (original)
+++ httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c Sun Jan  8 18:52:48
2006
@@ -64,6 +64,8 @@
         
         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;



Mime
View raw message