Hi friends;
i have configured my apache instance to delegate requests to a application running on tomcat container.
lets say my URL for tomcat container is
http://localhost:8014/accounts
I want to access this URL from
http://localhost Now the configuration in vertual host, i have made to access this is
ProxyPreserveHost On
ProxyPass / http://localhsot:8014/accounts/
ProxyPassReverse / http://localhost:8014/accounts/
When I am trying to access http://localhost it gives me following text on the page
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET/.
Reason: DNS lookup failure for: localhsot
Apache/2.2.12 (Ubuntu) Server at localhost Port 80
Can some body please describe the solution for me.