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 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

---------------------------------------------------------------------
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.