After using mod_proxy the web application is no more accessible from other computer

I used apache proxy support in tomcat to remove the port number from url. Here is what I did,

In http.conf file I added LoadModule proxy_module mod_proxy.so ProxyPass /alfresco http://localhost:8080/alfresco ProxyPassReverse /alfresco http://localhost:8080/alfresco

In server.xml file of tomcat <Connector port="8080" ... proxyPort="80"/> (I didn't give proxy name)

Now I am able to access the web application using http:\\localhost/alfresco in my machine. But when I try this from other machine in my lan using http:\\machine1\alfresco I am getting page cannot be displayed error. But if I try http:\\machine1 I am getting It works page of apache. What went wrong?

Previously I am able to use the application from other machine.

Answers


I removed the proxy port="80" in server.xml file and now its working


Need Your Help

Injecting a custom response header in RESTEasy JAX-RS

web-services http-headers jax-rs response resteasy

I have RESTEasy (JAX-RS) server with about 60 services (so far). I would like to automatically inject a custom response header to provider callers with the server build time: X-BuildTime: 20100335....

How can I split a string then edit the string then place back the delimiters to their original spot

java regex string split apache-pig

I am working on a Pig Latin project which requires to change any sentence input by the user to be translated into Pig Latin. I have the conversion down and it works. However I have issues with