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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache not passing https requests through to tomcat

Status
Not open for further replies.

ZenDrax

Programmer
Feb 24, 2003
1
US
Hi all,

Thank you in advance for any insight that anyone may be able to offer me.

I just installed Tomcat 4.1.18 on a machine running slackware linux 8.1. I want to use it as a servlet/jsp engine for Apache+mod_ssl. So I installed the mod_jk module (mod_jk-1.3-eapi.so), added the neccessary LoadModule directive to httpd.conf, and added an Include to call the mod_jk.conf file generated by tomcat.

Now here's the problem: I can access Tomcat's included examples just fine via -- Apache correctly passes the request off to Tomcat. But if I try the same url via https, apache returns 404 errors. Apache works fine via http or https for my regular static pages, but when I use https it does not recognize /examples as a path that should be delegated to Tomcat.

Can anybody please explain what I've left out or done wrong?

Thanks again,
ZenDrax
 
In the server.xml file which is located in the $TOMCAT_HOME/conf, add the https connector. It should already be there but it will be commented out. Remove the comments and voila...

Daniel C.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top