Remove your [uri] line and use something like this in the httpd.conf:

<LocationMatch .*\.cfm$>
        JkUriSet ...
</LocationMatch>

regular expression is your friend. You should then be able to use your
DirectoryIndex.

Charlie

> -----Original Message-----
> From: Brett Simpson [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 10, 2004 12:58 PM
> To: Tomcat Users List
> Subject: Re: Directory recursion with mod_jk2.
> 
> 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?

Reply via email to