]> granicus.if.org Git - apache/commit
Fix use of trailing slashes in proxy
authorRainer Jung <rjung@apache.org>
Fri, 14 Dec 2012 13:29:31 +0000 (13:29 +0000)
committerRainer Jung <rjung@apache.org>
Fri, 14 Dec 2012 13:29:31 +0000 (13:29 +0000)
commitab4ce36c1a0d39b685ec2ee30e63a2eb7e752f54
tree701914b920537ad55e68ec5b423fd4988a4a9b45
parente1c3c791a94114aa8705ce8559ceb99d660be50e
Fix use of trailing slashes in proxy
balancer and member URLs and add a little
explanation.

Current behavior AFAIK:

- Any path of a balancer URL inside <Proxy>
  is ignored. So lets not use e.g.trailing slashes
  there. The URL should for consistency always
  look like balancer://mycluster.
- The general comment about trailing slashes on the
  left and right of ProxyPass is also right for
  balancer use.
- Trailing slahes in BalancerMember in most cases
  lead to double slashes on the origin server.
  So lets drop them there and instead get the
  ProxyPass to the balancer right.
- Path components in member URLs are only
  needed, if different path prefixes are needed
  for members in the same balancer (unlikely
  but possible). If all members work with the
  same non-empty additional prefix, put it
  into the ProxyPass at the end of the balancer
  instead.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421851 13f79535-47bb-0310-9956-ffa450edef68
docs/manual/mod/mod_proxy.xml
docs/manual/mod/mod_proxy_balancer.xml
docs/manual/mod/mod_proxy_fcgi.xml
docs/manual/mod/mod_proxy_scgi.xml