Skip Menu |

This queue is for tickets about the Apache-AuthenCache CPAN distribution.

Report information
The Basics
Id: 1509
Status: new
Priority: 0/
Queue: Apache-AuthenCache

People
Owner: Nobody in particular
Requestors: pcampbell [...] lauder.ac.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Apache::AuthenCache clobbers DirectoryIndex directive in httpd.conf
Version: Apache-AuthenCache-0.05 With: Apache-AuthenLDAP-0.61, Apache/1.3.26, mod_perl/1.26, perl-5.6.1, RedHat-7.2, Linux-2.4.9 Requesting a page with url: https://www.mis.lauder.ac.uk/ When using only Apache::AuthenLDAP this displays the contents of index.html. When using Apache::AuthenCache with Apache::AuthenLDAP this displays / directory listing. Here are the relevant lines (I believe) from my httpd.conf file: --BEGIN-- SetEnv ORACLE_HOME /usr/oracle PerlRequire '/var/www/www.mis.lauder.ac.uk/perllib/apacherequire.pl' #apacherequire contains these two lines: # use strict; # use lib '/var/www/www.mis.lauder.ac.uk/perllib'; PerlModule CGI PerlModule CGI::Carp PerlModule CGI::Pretty PerlModule DBI PerlModule Carp # Reload modules if source file updated PerlInitHandler Apache::StatINC PerlSetVar StatINC_UndefOnReload On PerlSetVar StatINC_Debug 1 # Load XSLT page handler PerlModule AxKit PerlModule Apache::Filter AxDebugLevel 10 # Prepare LDAP Authentication PerlModule Apache::AuthenLDAP PerlSetVar BaseDN o=LCH PerlSetVar LDAPServer mail.lauder.ac.uk PerlSetVar UidattrType cn # Cache LDAP Authentication PerlModule Apache::AuthenCache # Cache passwords for 1 hour PerlSetVar AuthenCache_CacheTime 3600 # Username can be upper or lowercase to match PerlSetVar AuthenCache_CaseSensitive Off <Directory "/var/www/www.mis.lauder.ac.uk/html"> # Authentication AuthName "Lauder MIS Intranet" AuthType Basic # By commenting one or the other of these two PerlAuthenHandler lines I # can displays index.html: PerlAuthenHandler Apache::AuthenLDAP # or display the directory contents PerlAuthenHandler Apache::AuthenCache Apache::AuthenLDAP Apache::AuthenCache::manage_cache require valid-user # Respect Symbolic links Options FollowSymLinks Indexes # Indexes DirectoryIndex index.px index.xml index.pl index.php index.html index.htm default.htm # ... </Directory> Thanks, Paul Campbell <pcampbell@lauder.ac.uk> Lauder College