Actually, mod_jk2 does not use JKMount . . . .

In workers2.properties you might have a configuration
that reads:

# Uri mapping
[uri:/examples/*.jsp]
worker=ajp13:localhost:8009

Now this is really pointing to:

$TOMCAT_HOME/webapps/examples

Most of the time, the absolute directory is outside of
your document home for the Apache web server.

You can handle this with a directory alias in the
httpd.conf file.  Something like:

Alias /examples/ "/opt/tomcat/webapps/examples/"

will work.  Just substitute your directory location
for the one in the above line.

These two snippets (from workers2.properties and
httpd.conf) will let Apache serve everything except
the files ending in .jsp.  That will be handed off to
Tomcat.

To include the servlets under the examples directory,
add the following to your workers2.properties file.

[uri:/examples/servlet/*]
worker=ajp13:localhost:8009

This will get all of the servlets in the examples
webapp, while still allowing Apache to serve static
content.

There are some more configuration changes that you
should do, like denying access to the WEB-INF
directory, and configuring the properties of the
actual application directory.  Most of that is
detailed in the Apache web server documentation.

I'm just a user/sysadmin/developer and not a member of
any Apache group, so this is just based on my
experience and the reading of the documentation.

HTH

/mde/
just my two cents . . . .

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to