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

DirectX - Error when pressing ctrl + alt + del

c++ directx

So far my program is working pretty well. Unfortunately when I press ctrl + alt + del it throws an error. Now I have read this question:

Programmatically changing a UILabel from the App Controller in a Navigation Based iOS App

objective-c cocoa-touch ios

I'm having a lot of trouble with what seems like a very simple thing. I cannot update a UILabel programmatically from a Navigation-based iOS App. I don't want to use a button as this label is desig...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.