Re: [us...@httpd] 2 reverse proxy to serve an application

2010-07-16 Thread Tapas Mishra
A-B-C request from internet comes at A it forwards that to B and then B checks if it has to send that request to C or it can serve that from B itself. I am posting the configurations. site1.abc.com site2.abc.com site3.abc.com site4.abc.com these sites above are having domain names

Re: [us...@httpd] 2 reverse proxy to serve an application

2010-07-16 Thread Tapas Mishra
Since I set ProxyPreserveHost On, so the hostname I use for ProxyPass at B is irrelevant. The request sent by server A to server B will always have the same hostname as the request received by server A. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypreservehost That is why I have

[us...@httpd] 2 reverse proxy to serve an application

2010-07-15 Thread Tapas Mishra
Let us take following scenario Server A ---Server B with Public IP On LAN both A and B are on same subnet an application on B is accessible when you are having a GUI on B and that too only as http://localhost:9090/portal the configuration

Re: [us...@httpd] 2 reverse proxy to serve an application

2010-07-15 Thread Eric Covener
then how should I write a ProxyPass rule so that the request can pass 2 reverse proxies in this scenario. I couldn't make much sense of your lengthy post. If system A is a reverse proxy, and system B is an origin server that also listens on localhost:9090 with other content, you'd setup one

Re: [us...@httpd] 2 reverse proxy to serve an application

2010-07-15 Thread Tapas Mishra
Exactly you actually got the core of my configuration.I have done exactly what you have said. I got problem in having such a thing.Some that had not worked.The problem was with the application generating the URLs which had path as /portal /library etc on their documentation page of the application

Re: [us...@httpd] 2 reverse proxy to serve an application

2010-07-15 Thread Eric Covener
On Thu, Jul 15, 2010 at 2:40 PM, Tapas Mishra mightydre...@gmail.com wrote: Exactly you actually got the core of my configuration.I have done exactly what you have said. I got problem in having such a thing.Some that had not worked.The problem was with the application generating the URLs which

Re: [us...@httpd] 2 reverse proxy to serve an application

2010-07-15 Thread Tapas Mishra
Ok I am trying what you said. The original error as Tom suggested in application was http://www.spinics.net/lists/apache-users/msg95596.html its not possible to configure the application to generate absolute URLs. I just mentioned the above thread if you want to know what exactly I am trying.