ProxyPass with http 302 redirect

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

 



Hi,

I'm trying to setup ProxyPass with mod_proxy_balancer and something weird is happening. 

It seems when the backend server responses with an http 302 redirect, it tries to redirect me to the backend URL instead of the apache URL.

For example, When I do a post to http://www.domain.com/login.do I'm getting an HTTP 302 Redirect to http://10.1.1.2:8080/login2.do instead of http://www.domain.com/login2.do.

My backend servers are running tomcat and I don't have any virtualhost on the apache neither on the tomcats.

This is my configuration:

ProxyPass /balancer-manager !

ProxyPass / balancer://appcluster/
ProxyPassReverse / balancer://appcluster/

<Proxy balancer://appcluster>
   BalancerMember http://10.1.1.2:8080/
   BalancerMember http://10.1.1.3:8080/
</Proxy>


Thanks,

Carlos




      Tarjeta de crédito Yahoo! de Banco Supervielle.
Solicitá tu nueva Tarjeta de crédito. De tu PC directo a tu casa. www.tuprimeratarjeta.com.ar 

---------------------------------------------------------------------
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