I've got a pair of Apache 2.2.13 boxes. One is acting as a load balancer (mod_proxy_balancer), proxying requests to the back-end server. Eventually a second back-end server will be commissioned. On the proxy I have the following config: <Proxy balancer://static-web> BalancerMember http://sweb01 loadfactor=1 ProxySet lbmethod=byrequests </Proxy> ProxyPass / balancer://static-web/ ProxyPassReverse / balancer://static-web/ On the back-end server I have the following: RedirectMatch ^/$ /output/index.html When a request to http://www.example.com/ is made (using wget), I see the following: Proxy: 192.168.1.1 - - [14/Oct/2009:11:08:30 +0000] "GET / HTTP/1.0" 302 229 "-" "Wget/1.10.2" 192.168.1.1 - - [14/Oct/2009:11:08:30 +0000] "GET //output/uk-home-page.html HTTP/1.0" 200 15750 "-" "Wget/1.10.2" Back-end Server: 172.16.20.11 - - [14/Oct/2009:11:08:30 +0000] "GET / HTTP/1.1" 302 229 "-" "Wget/1.10.2" 172.16.20.11 - - [14/Oct/2009:11:08:30 +0000] "GET /output/uk-home-page.html HTTP/1.1" 200 15750 "-" "Wget/1.10.2" Can anyone help me understand where the extra / is coming from on the Proxy? Mark. -- Mark Watts BSc RHCE MBCS Senior Systems Engineer, Managed Services Manpower www.QinetiQ.com QinetiQ - Delivering customer-focused solutions GPG Key: http://www.linux-corner.info/mwatts.gpg
Attachment:
signature.asc
Description: This is a digitally signed message part