Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache, mod_jk and tomcat

Status
Not open for further replies.

ttmac

Technical User
Aug 16, 2002
105
IE
I have configured Apache, mod_jk and tomcat so that requests for a tomcat context are passed through to tomcat by apache when certain url patterns are detected. To the best of my knowledge, the process appears to be running as expected: - when I visit I am being served pages from tomcat.

I now wish to make my website available to the internet. When I visit I am getting a “404 Not Found error: - The requested URL was not found on this server.” error message.

Ideally I would like my website to be available from my own machine on localhost, on my lan and on the web, all access being routed through Apache.

Does Apache/mod_jk /tomcat have to be configured for each of the three access routes localhost, my lan IP address and my web IP address?

Thanks in advance for any assistance,

Tom.
 
Solution, for those interested:

I added the relevant ip addresses to the virtual host tag in the mod_jk.conf file: -

<VirtualHost localhost 127.0.0.1 192.168.8.18 myipaddress>


Tom.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top