You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marcus Kellermann <Ma...@bentley.com> on 2004/07/15 20:09:54 UTC
MOD_JK2 is mapping all URIs to Tomcat on IIS
I have a Tomcat 4.1X install on IIS 6.0 that is redirecting all traffice
to Tomcat and not just the URIs specified in the worker2.properties
file.
Looking at the URI section in
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.htm
l it states that [URI:*] is a special case for when the virtual dir
can't be found in the config file. How do you turn this feature off? I
want IIS to handle anything that isn't in the worker2.properties file.
My configuration file looks like
<WORKERS2.PROPERTIES>
#Look at
#http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.ht
ml
#for parameter description
[shm:]
info=Scoreboard. Required for reconfiguration and status
with multiprocess servers
file=C:\Program
Files\Bentley\ProjectWise\WebServer\temp\jk2.shm
size=1048576
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map webapps to the Web server uri space
[uri:/WEL/*]
[status:]
info=Status worker, displays runtime informations
[uri:/jkstatus/*]
info=Display status information and checks the config
file for changes.
group=status:
</WORKERS2.PROPERTIES>
And the output from JKSTATUS looks like
<JKSTATUS_OUTPUT>
uri runtime info
uri information, using getAttribute()
id name host uri group context inheritGlobals match_type servlet
timing aliases path
0 /WEL/* * /WEL/* lb:lb / 1 prefix null 0 null /WEL/*
0 /jkstatus/* * /jkstatus/* status: / 1 prefix null 0 null
/jkstatus/*
0 * * null null null 1 host null 0 null null
0 */ * / lb:lb / 1 context null 0 null /
</JKSTATUS_OUTPUT>
[URI:*] isn't apart of my properties file so it must be in the code?
How can I turn it off?
Thanks
Marcus Kellermann