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: Apache 2.2.x Proxy and changing URLs sent
Author
SFX Group



Joined: 09 Dec 2007
Posts: 3
Location: UK

PostPosted: Sun 09 Dec '07 3:43    Post subject: Apache 2.2.x Proxy and changing URLs sent Reply with quote

Hi, fairly long this so will cut it down abit....

Have a Proxy and a Reverse Proxy as well

<Location /data-melinks/proxy/email/>
ProxyPass http://192.168.1.101/
ProxyPassReverse http://192.168.1.101/
</Location>

This works as result in a web browser page URL below:

http://www.ashleygriffin.co.uk/data-melinks/proxy/email/owa/auth/logon.aspx?replaceCurrent=1&url=http%3a%2f%2f192.168.1.101%2fowa%2f

As you can see the proxy works above, however there is a hard coded part if the link at the end from the sending server, i need to alter this as it passes through Apache... how do i do this, i hear mod_rewrite can do it but it needs to SHOW on the URL as well AND the directory is virtual???

Many Thanks
Ashley
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sun 09 Dec '07 12:12    Post subject: Reply with quote

Have a look at http://apache.webthing.com/mod_proxy_html/

mod_proxy_html is an output filter to rewrite HTML links in a proxy situation.
Back to top
SFX Group



Joined: 09 Dec 2007
Posts: 3
Location: UK

PostPosted: Mon 10 Dec '07 0:23    Post subject: Reply with quote

Hi

Thanks for that, looks good for inside the webpage, however reading that artical doesnt look like it will resolve the URL link that floats back???

Many Thanks
Ashley
Back to top


Reply to topic   Topic: Apache 2.2.x Proxy and changing URLs sent View previous topic :: View next topic
Post new topic   Forum Index -> Apache