logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: How to change URL of HTTP 302 returned by proxied server
Author
andre.fischer



Joined: 31 Jan 2014
Posts: 8
Location: Canada, Toronto

PostPosted: Fri 31 Jan '14 20:57    Post subject: How to change URL of HTTP 302 returned by proxied server Reply with quote

Hi. I'm running Apache 2.4.7 on a RHEL 6.4 server. I'm using the Oracle WebLogic Proxy Plugin ver 12.c to connect to a back end server.

What's happening is that Apache answers www.blah.com and proxies the request via the WebLogic Proxy Plugin to internal.blah.com. Unfortunately, the downstream system encounters a problem and issues an http 302 redirect to internal.blah.com/whathappened.

I would like to have Apache intercept this http 302 and redirect the client to www.blah.com/whathappened.


Is this possible?

Thanks....


Andre Fischer.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7328
Location: Germany, Next to Hamburg

PostPosted: Wed 26 Feb '14 18:09    Post subject: Reply with quote

Sometimes there is an issue with SSL. if yes you might try

Code:
WLProxySSL ON



What is your ProxyPreserveHost setting?


or what might be a solution

Code:

Header edit Location ^internal.blah.com/whathappened www.blah.com/whathappened
Back to top


Reply to topic   Topic: How to change URL of HTTP 302 returned by proxied server View previous topic :: View next topic
Post new topic   Forum Index -> Apache