tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikael Hansen <>
Subject Apache/Tomcat integration with automatic context generation
Date Sun, 14 Apr 2002 13:28:15 GMT

I have succefully integrated Apache 1.3.20 and Tomcat 4.0.3 with mod_jk. I
do however have a special problem that I hope anyone can suggest a
solution to:

I can automatically generate a context

for every user that has the catalog:

which contains a web application.

I do this with the following entry in server.xml:
<Listener className="org.apache.catalina.startup.UserConfig"

I can also get tomcat to evaluate requested jsp files through apache with
the following entry in the Apache configuration:

JkMount /*.jsp ajp13

The mod_jk setup is as follows:

LoadModule    jk_module  libexec/
AddModule     mod_jk.c
JkWorkersFile /q/fyr_0/jakarta-tomcat-4.0.3/conf/
JkLogFile     /q/fyr_0/apache/logs/mod_jk.log
JkLogLevel    info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

The problems is that I would like to do the same for servlets as I do with
jsp files withpout having to create a JkMount entry for each user on the

In more details a request to:

should be the same as requesting

I can redirect to the tomcat-server but it would be
nice to do it without the url changing.

Anyone has an idea?

Best regards
	Mikael Hansen

"We are Microsoft. You will be assimilated.
	Resistance is Futile."

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message