[users@httpd] configuring a balancer in httpd.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux