You need to make sure your cgi is setup in the httpd.conf for this virtualhost, then you need to include jkmounts for what you wish tomcat to handle. For example: JkAutoAlias /home/path/to/you/tomcat/webapps JkMount /*.jsp ajp13 JKMount /*/*.jsp ajp13 JkMount /servlet/ ajp13 JkMount /admin/* ajp13 JkMount /manager/* ajp13 JKMount /servlets-examples/* ajp13
By specifying the .jsp tomcat will only handle that and wherever your cgi-bin is located and defined for that virtual host will work.
Howeer - I have had some problems with this in the past as apache and tomcat fight over what to handle.
Joined: Apr 08, 2002
Jack, if you do a search on "mod_jk" you got lots of past discussions regarding your topic.
Well, Ben, thanks for that. I have searched a whole bunch, and I could not find any past discussions WITH A SOLUTION to this particular problem. If you know of any specific discussions with working solutions, please let me know.
You need to make sure your cgi is setup in the httpd.conf for this virtualhost...
Thanks John, but I am looking for a non CGI way to do this. I would like the JSP to handle the request (as it does when Apache is not involved). Once Apache is put in front of Tomcat, it denys all PUT reqests.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com