Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

share|improve this question

closed as unclear what you're asking by Stephen Ostermiller Nov 21 at 11:51

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Why do you have the same set of ProxyPass directives twice? It isn't clear to me which ones are working and which ones are not. –  Stephen Ostermiller May 15 at 12:25

Browse other questions tagged or ask your own question.