Tuesday, July 10, 2012

ProxyPass issue

I was trying to ProxyPass the app to another server
But ran into a strange problem.

ProxyPass worked when I called but failed when any uri was added to root(

Like gave

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /login.

Reason: DNS lookup failure for:

Where we find the problem is:

Code for ProxyPass:

ProxyPass               /
ProxyPassReverse        /

Solution, I needed another slash at the final, so, it should be:


ProxyPass               /
ProxyPassReverse        /

Now it works \m/ .

No comments:

Post a Comment