]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix up the path info in the balancer backend just like we do in the
authorGarrett Rooney <rooneg@apache.org>
Sun, 5 Mar 2006 07:08:28 +0000 (07:08 +0000)
committerGarrett Rooney <rooneg@apache.org>
Sun, 5 Mar 2006 07:08:28 +0000 (07:08 +0000)
commit77088eff2a5b5e62bbc01806a204e094d36d25ba
tree22deed399762e52be2365542541944a0a4deef57
parentd215e258b8a29d1b40d6bb5be8a22d53623b064c
Fix up the path info in the balancer backend just like we do in the
fcgi backend.  This lets Rails apps work under a balancer setup without
any hacks to Rails itself.

* modules/proxy/mod_proxy_balancer.c
  (proxy_balancer_canon): Set r->path_info based on the path we got
   from parsing the URL.

* modules/proxy/mod_proxy_fcgi.c
  (proxy_fcgi_canon): Remove the comment about balancer not setting
   the path_info.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@383291 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/mod_proxy_balancer.c
modules/proxy/mod_proxy_fcgi.c