| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Apache Reverse Proxy (Same ProxyPass path but different Destination)|
reverse proxy path
| 6:04 am on May 15, 2014 (gmt 0)|
I have a problem here.
I am doing reverse proxy for few website in my test server.
So , what i have encounter here is that when i request the website from the client , both website request from the same path , thus only the leading ProxyPass will work , not the latter.
Here is my configuration .
ProxyPass /js http://example.com/js
ProxyPassReverse /js http://example.com/js
ProxyPass /js http://example.org/js
ProxyPassReverse /js http://example.org/js
My question is that how i can differentiate both of them.Because it will cause the second website unable to load the js scrips.
I have try Alias like
Alias /fjs /js
so it will come like
ProxyPass /fjs http://example.org/js
But the js script for the second website is still not working
| 12:54 am on May 17, 2014 (gmt 0)|
welcome to WebmasterWorld, ku1918!
|My question is that how i can differentiate both of them. |
separate virtual host containers?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved