tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rupert Young" <>
Subject Virtual hosts with Apache2.0.39/Tomcat4.0.3/mod_jk/Win2k
Date Thu, 27 Jun 2002 22:57:21 GMT

I've looked through the docs, faqs and list archives to find a solution to
my problem, but am going round in circles, perhaps spmeone can help.

I have the above system and am trying to set up a virtual host, through
which I can run the jsp files.  I am able to set up a virtual host to run
static files in the Apache2 directory, with this directive in httpd.conf.

<VirtualHost *>
	DocumentRoot "C:/Apache/Apache2/htdocs/webdocs/web"

This works fine.  Now what I want to do is link to a webapp and have tomcat
run the jsp files. I tried this,

<VirtualHost *>
	DocumentRoot "C:/Apache/Tomcat/webapps/bliss"
	JkMount /*.jsp ajp13

as I want to run like this, but I get a
404 error. With JkMount /bliss/*.jsp ajp13 it's treated like a static page.
This does work however http://localhost/bliss/index.jsp

I also tried adding a <Host> directive to my tomcat server.xml (I have the
line 'Include "c:/Apache/Tomcat/conf/auto/mod_jk.conf" ' in my httpd.conf),
but that seemed to screw things up completely.

If anyone can point me in the right direction I would be eternally grateful.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message