Using mod_proxy_balancer... GET missing!

Using mod_proxy_balancer... GET missing!

am 21.01.2010 21:59:08 von Douglas Garstang

I have two servers sitting behind apache that I need to load balance
between. My config is:


ServerName lbal01.nyc.xxx.com
ServerAlias openelements.xxx.com
ProxyRequests Off

Order deny,allow
Allow from all

ProxyPass /balancer-manager !
ProxyPass / balancer://openelements/ stickysession=JSESSIONID
nofailover=On
#ProxyPassReverse / http://app01.nyc.xxx.com:8080/admin
#ProxyPassReverse / http://app02.nyc.xxx.com:8080/admin

BalancerMember http://app01.nyc.xxx.com:8080 route=app01
BalancerMember http://app02.nyc.xxx.com:8080 route=app02
ProxySet lbmethod=byrequests


AllowOverride AuthConfig


SetHandler balancer-manager
Order Deny,Allow
Deny from all
Allow from all



I'm not really sure what I am doing, and I'm still trying to
understand the difference between BalancerMember and ProxyPassReverse.
However, requests to openelements.xxx.com:443 are in fact being load
balanced to the two backend servers. But... something is wrong... this
is what ngrep shows me...

T 192.168.1.204:60093 -> 192.168.1.201:8080 [AP]
... / HTTP/1.1..Host: app01.nyc.xxx.com:8080..X-Forwarded-For:
173.8.157.70..X-Forwarded-Server: lbal01.nyc.xxx.com..Connection:
Keep-Alive....
##

The problem here is that apache isn't a) forwarding the original URL
(it doesn't matter what I put after openelements.xxx.com/) and b) the
HTTP GET is missing. What's up with that? I have confirmed that the
GET (and the correct URL) are there when I access the backend servers
directly.

Thanks,
Doug.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org