This is a discussion on Is this proxy setup possible using Apache? within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi all! I would like a proxy setup with the following qualities: Generally pages are proxyed the normal way using ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all!
I would like a proxy setup with the following qualities: Generally pages are proxyed the normal way using mod_proxy. If the file part of the URL is a specific text the page returned from the proxy is not the specified URL but another one on a different server setup by me. Example: www.somesite.com/somepage.html is proxyed as www.somesite.com/somepage.html (normal proxy) www.somesite.com/myspecificpath.html is proxyed as www.myremotesite.com/mypage.html (proxy to other site) and www.someothersite.com/myspecificpath.html is proxyed as www.myremotesite.com/mypage.html (proxy to other site) Is this possible using Apache ? /Morten Iversen Ps: I have tried to come up with a solution for this setup for a couple of days now from the mod_rewrite and mod_proxy manual, but no luck. As far as I can see mod_rewrite allows me to map a remote server to a local path. What I want is really to map a remote server to a remote path. I dont want to give up on this one - please help !:) |