Hi,
I'm in desperate need of help and any that you can provide is sincerely
appreciated. I've configured Apache to force a basic authentication for one
of my Tomcat contexts. My problem is that when the DirectoryIndex is set for
to retrieve an index.jsp I get a HTTP 500 errror. When serving a regular
index.html everything works perfectly. The Apache directives follow:
DirectoryIndex index.jsp index.html
<Location "/piccare">
AuthName "PIC-CARE Secure Area"
AuthType Basic
AuthUserFile C:/Apache/security/password.file
AuthGroupFile C:/Apache/security/group.file
require group picUser
AllowOverride AuthConfig
Options FollowSymlinks
Order allow,deny
Allow from all
</Location>
include my_mod_jk.conf
--This is my_mod_jk.conf--
#########################################################
# Auto configuration for the /piccare context starts.
#########################################################
#
# The following line makes apache aware of the location of the /piccare
context
#
Alias /piccare "C:/Apache/tomcat/webapps/piccare"
<Directory "C:/Apache/tomcat/webapps/piccare">
Options Indexes FollowSymLinks
</Directory>
#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /piccare/servlet/* ajp13
JkMount /piccare/*.jsp ajp13
#
# The following line prohibits users from directly accessing WEB-INF
#
<Location "/piccare/WEB-INF/">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
<Directory "C:/Apache/tomcat/webapps/piccare/WEB-INF/">
AllowOverride None
deny from all
</Directory>
#
# The following line prohibits users from directly accessing META-INF
#
<Location "/piccare/META-INF/">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
<Directory "C:/Apache/tomcat/webapps/piccare/META-INF/">
AllowOverride None
deny from all
</Directory>
#######################################################
# Auto configuration for the /piccare context ends.
#######################################################
--This is the log file output from mod_jk:--
[jk_connect.c (108)]: Into jk_open_socket
[jk_connect.c (115)]: jk_open_socket, try to connect socket = 464
[jk_connect.c (124)]: jk_open_socket, after connect ret = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
[jk_ajp13_worker.c (173)]: In jk_endpoint_t::connect_to_tomcat, failed errno
= 61
[jk_ajp13_worker.c (584)]: Error connecting to the Tomcat process.
[jk_ajp13_worker.c (489)]: Into jk_endpoint_t::done
Thanks in advance,
Bryon Bean
[EMAIL PROTECTED]