Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Apache Reverse Proxy (Same ProxyPass path but different Destination)

reverse proxy path

6:04 am on May 15, 2014 (gmt 0)

New User

joined:May 14, 2014
votes: 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)


WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
votes: 43

welcome to WebmasterWorld, ku1918!

My question is that how i can differentiate both of them.

separate virtual host containers?