reverse proxy to tomcat not working ?

Discussion in 'Apache' started by reckless_jack, Dec 20, 2008.

  1. #1
    Apache is running on 443 successfully earlier. Forwarding request to tomcat which is running on port 8080. But now i have to change configuartion so that apache can run as reverse proxy to tomcat.For this i added following line to httpd.conf file

    ProxyRequests Off

    ProxyPass /xyz/ http://localhost:8080/xyz/
    ProxyPassReverse /xyz/ http://localhost:8080/xyz/

    <Location /xyz/ >
    Order allow,deny
    Allow from all
    </Location>

    Both apache and tomcat are running on same linux machine.
    Please save me . I am not good at configuration thing.Trying to do it from last four days.

    PS: :confused:Situation has become worst.When i did- netstat -antuwp | grep httpd
    it doesn't show port https:443 . It has stopped listening on 443.

    All mentioned changes are in separate file which is included by original config file.

    :(
     
    reckless_jack, Dec 20, 2008 IP