httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DM <donalmurt...@yahoo.co.uk>
Subject [users@httpd] configuring a balancer in httpd.conf
Date Tue, 01 Aug 2006 19:19:27 GMT
Hi,

I'm trying to get Apache to forward all it's requests to either one of two Tomcat processes.
I can get Apache to forward the requests to a single Tomcat using the following settings in
httpd.conf:

###################
ProxyRequests Off

<Proxy *>
        Order deny,allow
        Allow from all
</Proxy>

ProxyPass / http://erie:8080/
ProxyPassReverse / http://erie:8080/
###################


I attempted to get the load-balancing working by replacing the above with the following:

###################
ProxyRequests Off

ProxyPass / balancer://mycluster stickysession=jsessionid nofailover=On
ProxyPassReverse / balancer://mycluster

<Proxy balancer://mycluster>
        BalancerMember http://erie:8080
        BalancerMember http://titan192:8080

        Order deny,allow
        Allow from all
</Proxy>
###################

But I get a "403 Forbidden" error indicating that I don't have permission to access the resource
on the server.

Many thanks in advance,
Don



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message