Hi,
Quote:
Originally Posted by bathory
Hi,
This is because you are proxying / and /website1. Does /website1 wroks?
You have to use different URIs for proxying, like /website1 /website2
Regards
|
the situation I have is quite tricky I am having 17 websites.
there are sets of them A,B,C depending upon type of application being served.
A,B,C are themselves proxied and then there are other applications on A,B,C which are also proxied.
The problem I reported belongs to set B.
The front end is main site and /website1 etc are different applications.
website1 can be accessed on LAN as
http://<IP of LAN>/website1
and / is the front end which is accessible http://<IP of LAN>/
from set B.
I was able to solve this problem after some long struggle.
The solution is quite illogical and what I did was I kept the generic one at the last i.e. now the / goes at the last.
Code:
ProxyPass /website1 http://192.168.1.5/website1
ProxyPassReverse /website1 http://192.168.1.5/website1
ProxyPass / http://192.168.1.5/
ProxyPassReverse / http://192.168.1.5/
Note the last 2 entry are below /website1 i.e. I have redirected to root of the site at the last.In my question this entry was at the first line.
Thanks for your time.