Re: AW: Support for ProxyPreserveHost with mod_proxy_balancer?

2006-02-13 Thread Gregor J. Rothfuss

Plüm wrote:


After a first quick view in the code on trunk I cannot see a problem there.
Can you please post your config here, such that we can rule out a config
problem?


let me know if this snip is enough:

NameVirtualHost *:8080
ProxyRequests Off
ProxyPreserveHost On

Proxy balancer://tiles_live_cluster/
   BalancerMember 192.168.1.54:8080
   BalancerMember 192.168.1.55:8080
   BalancerMember 192.168.1.56:8080
   BalancerMember 192.168.1.57:8080
   BalancerMember 192.168.1.58:8080
   BalancerMember 192.168.1.59:8080
   BalancerMember 192.168.1.60:8080
   BalancerMember 192.168.1.61:8080
   BalancerMember 192.168.1.62:8080
   BalancerMember 192.168.1.63:8080
/Proxy

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any VirtualHost block.
#
VirtualHost *:8080
ServerName t0.tiles.com
ServerAlias t1.tiles.com
ServerAlias t2.tiles.com
ServerAlias t3.tiles.com

ProxyPreserveHost On
ProxyPass / balancer://tiles_live_cluster/ nofailover=On
ProxyPassReverse / balancer://tiles_live_cluster/
/VirtualHost

Proxy balancer://live_cluster
   BalancerMember 192.168.1.54:8080
   BalancerMember 192.168.1.55:8080
   BalancerMember 192.168.1.56:8080
   BalancerMember 192.168.1.57:8080
   BalancerMember 192.168.1.58:8080
   BalancerMember 192.168.1.59:8080
   BalancerMember 192.168.1.60:8080
   BalancerMember 192.168.1.61:8080
   BalancerMember 192.168.1.62:8080
   BalancerMember 192.168.1.63:8080
/Proxy

VirtualHost *:8080
ServerName customer.server.com
ServerAlias tiles.server.com
ServerAlias tiles0.server.com
ServerAlias tiles1.server.com
ServerAlias tiles2.server.com
ServerAlias tiles3.server.com

ProxyPreserveHost On
ProxyPass / balancer://live_cluster/ nofailover=On
ProxyPassReverse / balancer://live_cluster/
/VirtualHost



Furthermore could you please open a bug in bugzilla for this? This makes
things easier to track and to reference.


will do if it is not a PEBKAC issue (problem exists between keyboard and 
chair) ;)


--
http://43folders.com/2005/09/19/writing-sensible-email-messages/


Support for ProxyPreserveHost with mod_proxy_balancer?

2006-02-12 Thread Gregor J. Rothfuss

hi,

i am trying to use mod_proxy_balancer with a backend that is in turn 
using name-based virtual hosts.


it seems that mod_proxy_balancer doesn't honor ProxyPreserveHost (both 
2.2.0 and trunk), and does not send the Host: header to the backend.


would there be interest in a patch for that or am i attempting something 
dumb?


thanks,

-gregor


Re: Distributing httpd-2.2, redux

2005-09-30 Thread Gregor J. Rothfuss

William A. Rowe, Jr. wrote:


But given how lightweight zlib is, and how much of a moving target it
was before 1.2.3, I'd strongly argue that 'deflate' is a core feature,
that if we teach httpd to 'reinflate' there are many old vulnerabilites
that we expose our users to, and that shipping 1.2.3 would add very
little pain for much mod_deflate gain.


it might be worth turning mod_deflate on by default. there are still too 
many sites out there that do not have it on.