Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Directory recursion with mod_jk2.

Brett Simpson

2004-05-10

Replies:

On Thursday 06 May 2004 04:24 pm, Brett Simpson wrote:
> I'm trying to configure Apache2 with mod_jk2 on Linux to be able to process
> all files with a .cfm extension in all directories on the server. The cfm
> is used for the Coldfusion servlet which is installed in the ROOT context.

I figured out what I was doing wrong.

I needed the following in my worker2.properties file and had to avoid the use
of "DirectoryIndex index.cfm" in Apache.

[uri:/*.cfm]
info=CFM Extension mapping.
debug=0

If I add "DirectoryIndex index.cfm" to Apache then all requests get sent to
Tomcat even though I only specify *.cfm for the uri. Consequently
DirectoryIndex in Apache doesn't work for files covered under the uri.

This is listed as a bug.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19298

Has anyone else seen this problem or know of a workaround?

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.