perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Hicks <chi...@chicks.net>
Subject Location and AuthDBI
Date Sun, 26 Mar 2006 22:58:45 GMT
I've run into quite an oddity trying to get AuthDBI to work on a current 
CentOS box.

 	[root@dot conf.d]# rpm -q httpd
 	httpd-2.0.52-22.ent.centos4
 	[root@dot conf.d]# httpd -V
 	Server version: Apache/2.0.52
 	Server built:   Jan  5 2006 11:54:39
 	Server's Module Magic Number: 20020903:9
 	Architecture:   64-bit
 	Server compiled with....
 	 -D APACHE_MPM_DIR="server/mpm/prefork"
 	 -D APR_HAS_SENDFILE
 	 -D APR_HAS_MMAP
 	 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 	 -D APR_USE_SYSVSEM_SERIALIZE
 	 -D APR_USE_PTHREAD_SERIALIZE
 	 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 	 -D APR_HAS_OTHER_CHILD
 	 -D AP_HAVE_RELIABLE_PIPED_LOGS
 	 -D HTTPD_ROOT="/etc/httpd"
 	 -D SUEXEC_BIN="/usr/sbin/suexec"
 	 -D DEFAULT_PIDLOG="logs/httpd.pid"
 	 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 	 -D DEFAULT_LOCKFILE="logs/accept.lock"
 	 -D DEFAULT_ERRORLOG="logs/error_log"
 	 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 	 -D SERVER_CONFIG_FILE="conf/httpd.conf"
 	[root@dot conf.d]# rpm -qa | grep mod_
 	mod_ssl-2.0.52-22.ent.centos4
 	mod_python-3.1.3-5.1
 	mod_perl-1.99_16-4.centos4

When I put my AuthDBI directives under <Location /cgi> and there's a real 
live CGI script being executed everything is fine.  When I have a
 	<Location /cgi/app/reserve>
 		SetHandler perl-script
 		PerlResponseHandler FINI::Reserve
 	</Location>

it breaks saying

[Sun Mar 26 17:58:37 2006] [crit] [client 70.174.92.205] configuration error:  couldn't check
user.  No user file?: /cgi/app/reserve

But if I turn around and copy the contents of the <Location /cgi> info 
into the <Location /cgi/app/reserve> things suddenly start working again.

-- 
</chris>

The whole problem with the world is that fools and fanatics are always so
certain of themselves, and wiser people so full of doubts.
             - Bertrand Russell, philosopher, mathematician, author,
               Nobel laureate (1872-1970)

Mime
View raw message