View Single Post

   
  #1 (permalink)  
Old 03-06-2008, 02:02 PM
Giovanni Bechis
 
Posts: n/a
Default Tomcat and mod_jk

I am trying to setup mod_jk on a OpenBSD 4.2 server.
If I put my webapp in /var/tomcat/webapps it works perfectly,
if I put it on the virtualhost apache gives me a 400 error.
In apache vhost I have:
<VirtualHost xx.xx.xx.xx:80>
ServerName demo.dominio.com
DocumentRoot /home/www/demo
JkMount /*.jsp ajp13w
</VirtualHost>

In Tomcat's server.xml I have created a new host which points to
Apache's DocumentRoot.
Anybody knows what's wrong ?
Cheers
Giovanni
Reply With Quote