Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

302 redirect from apache proxy not coming back on port 80 to VIP

Client makes request to web server using VIP over port 80. Load balancer forwards request to web server on port 9000.

Web server receives request from client (via LB) on port 9000.

Web server makes request to App server via port 8080.

App Server responds to web server via port 8080 with 302 Redirect to http://dastst-msw-01v.ceg.corp.net:8080/login.jsp?REDIRECTED_FROM=%2F

Web server responds to client via load balancer over port 9000 with 302 Redirect to http://test-dri.bge.com:9000/login.jsp?REDIRECTED_FROM=%2F

Load balancer forwards the 302 Redirect exactly as above over port 80 to the client.

What they don't like is that the load balancer forwards the 302 redirect exactly as it receives it, and doesn't change the port to 80.

3 REPLIES
Cisco Employee

Re: 302 redirect from apache proxy not coming back on port 80 to

yes, the loadbalancer does not change the content of the http 302 redirect.

The solution would be to catch the client http request that triggers a 302 redirect and generate the redirect from the loadbalancer itself.

Not sure which loadbalancer you are using.

They can all create 302 redirect.

Config would be different depending on the device.

Gilles.

New Member

Re: 302 redirect from apache proxy not coming back on port 80 to

It's the CSS running 7.5.

Is there something special on the CSS for the 302?

Cisco Employee

Re: 302 redirect from apache proxy not coming back on port 80 to

Again, there is nothing we can to modify the redirect sent by the server.

The solution is therefore to intercept the client request and generate our own redirect so the server does not have to do it.

Here is a link to config examples.

http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_configuration_example09186a00801de8d6.shtml

Gilles.

758
Views
0
Helpful
3
Replies