PerlAuthenHandler_modperl_apache

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: PerlAuthenHandler
From: "HORNER, J. (JH8)" <JH8@ornl.gov>
Date: Fri, 9 Jun 2000 09:24:56 -0400 

What are the rules for using the PerlAuthenHandler?  

I have a timeout module that works great on my Apache 1.3.12/mod_perl 1.24,
and if I put the directives directly in the httpd.conf file.  

When I try to put the stuff in the httpd.conf file on my "Stronghold/2.4.1
Apache/1.3.3 C2NetEU/2409 Doorkeeper/2.0  (Unix) mod_perl/1.21 configured"
server,
the service doesn't start.

Here are the entries on the first server:

PerlSetEnv PERL5LIB lib/perl
PerlRequire  conf/startup.pl
PerlFreshRestart On
PerlModule Apache::Registry

<Directory /data/2jnetworks/test>
AuthType Basic
AuthName TEST
AuthUserFile /usr/local/apache/conf/www_passwd
AuthGroupFile /usr/local/apache/conf/www_group
require group 2jnetworks
PerlAuthenHandler Apache::TimeOut
PerlSetVar TimeLimit 15
</Directory>

Here are the entries for the second server:

PerlSetEnv PERL5LIB lib/perl
PerlRequire  conf/startup.pl
PerlFreshRestart On
PerlModule Apache::Registry

<Directory /data/httpd/docs/jhorner>
AuthName Test
AuthType Basic
AuthUserFile /usr/local/apache/conf/www_passwd
AuthGroupFile /usr/local/apache/conf/www_group
require group test
PerlAuthenHandler Apache::TimeOut
PerlSetVar TimeOut 15
</Directory>

When I put the PerlAuthenHandler entries into an .htaccess file, the server
will start, but I get:

/data/httpd/docs/jhorner/.htaccess: Invalid command 'PerlAuthenHandler',
perhaps mis-spelled or defined by a module not included in the server
configuration

I have other perl handler type things in the httpd.conf file, but nothing
else gives this error, any ideas?

===




the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu