Rewrite the redirected URL..

Rewrite the redirected URL..

am 31.08.2009 17:46:09 von pe uni

Hi,
My application is :
broweser ---> apache proxy----> webapplication

webapplication is expecting a URL, and based on the contents of the URL, the webapplication does a search for a document given in the URL and sends the response back. The response itself is a redirection to a different URL.
Ex:
browser ---> https://apacheproxy.com/SO/querystring=createsalesorder
apacheproxy---> proxypass /SO http://webapplication.com/SO
reverseproxypass /SO https://webapplication.com/SO
webapplication ---> redirects to a new page with a URL of http://webapplication.com/SO/createsalesorder

How do I change the URL to be https://apacheproxy.com/SO/createsalesorder instead of http://webapplication.com/SO/createsalesorder

Thanks for you advise.
Regards,
Pe





------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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

Re: Rewrite the redirected URL..

am 01.09.2009 08:27:35 von Krist van Besien

On Mon, Aug 31, 2009 at 5:46 PM, pe uni wrote:

> How do I change the URL to be https://apacheproxy.com/SO/createsalesorder instead of http://webapplication.com/SO/createsalesorder

That is what ProxyPassReverse does.


Krist


--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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