You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by pe uni <pe...@yahoo.com> on 2009/08/31 17:46:09 UTC

[users@httpd] Rewrite the redirected URL..

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 <URL:http://httpd.apache.org/userslist.html> 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: [users@httpd] Rewrite the redirected URL..

Posted by Krist van Besien <kr...@gmail.com>.
On Mon, Aug 31, 2009 at 5:46 PM, pe uni<pe...@yahoo.com> 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 <URL:http://httpd.apache.org/userslist.html> 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