Did you set the <welcome-file-list> in web.xml so that it knows to use
index.cfm as a welcome page?

Also, I think your <Directory> is wrong for Apache. Apache doesn't know
about the directories used by tomcat, so it will never match your path. I
think you want something like this:

<Location />
    Options All
    DirectoryIndex index.cfm
</Location>

Charlie

> -----Original Message-----
> From: Brett Simpson [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 10, 2004 4:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Directory recursion with mod_jk2.
> 
> On Monday 10 May 2004 03:46 pm, Cox, Charlie wrote:
> > Remove your [uri] line and use something like this in the httpd.conf:
> >
> > <LocationMatch .*\.cfm$>
> >     JkUriSet ...
> > </LocationMatch>
> 
> No luck on that. I still end up in a Tomcat served directory listing
instead
> of getting the index.cfm.
> 
> Here's what I now have:
> 
> # My Apache config
>     LoadModule jk2_module    modules/mod_jk2.so
> 
>     <Directory "/opt/jakarta-tomcat-4.1.30/webapps/cfusion">
>         Options All
>         DirectoryIndex index.cfm
>     </Directory>
> 
> <LocationMatch .*\.cfm$>
>         JkUriSet worker ajp13:localhost:8009
> </LocationMatch>
> 
> #workers2.properties
> 
> [logger]
> info=Native logger
> level=ERROR
> 
> [config:]
> file=${serverRoot}/conf/workers2.properties
> debug=0
> debugEnv=0
> 
> [uriMap:]
> info=Maps the requests.
> debug=0
> 
> [shm:]
> info=Scoreboard. Required for reconfiguration and status with multiprocess
> servers
> file=anonymous
> debug=0
> 
> [workerEnv:]
> info=Global server options
> timing=0
> debug=0
> 
> [channel.socket:localhost:8009]
> info=Ajp13 forwarding over socket
> debug=0
> tomcatId=localhost:8009

Reply via email to