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!

UserDir, Apache 2.x, Tomcat 5.0.19, mod_Jk2 - combination

Status
Not open for further replies.

meyersche

Programmer
Mar 22, 2004
1
CH
After serveral hours, I finally got Apache 2.0.x to connect to Tomcat 5.0.19 for serving .jsp files. The server runs fine, but when I call for a .jsp file, the server sends the request to tomcat and tomcat looks at it's root directory for the .jsp file instead of where apache found it.
I've several users. Everybody should put *.jsp - files into there own whitch can be called over domain/~user. Tomcat has now to accomplish the request in the real directory like: /home/staff/user/www

The biggest problem this causes is that using UserDir= httpd.conf doesn't work at all for Tomcat. Is there any way to have Tomcat recognize UserDir virtual directories? The documentation on tomcat is sparse at best unfortunatly. I was just wondering if anyone else ran into similar problems.

If anyone can help it would be appreciated. If you need any more info just reply.

Thanks very much!
Meyersche (Switzerland)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top