You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by qazi Ahmed <fi...@rediffmail.com> on 2001/05/11 13:24:47 UTC
Regarding the PerlAuthenHandler
Hi Guru's
I am implementing NIS Authentication in my project.
Using Apache1.3.19, modperl_1.25,perl 5.005_02.
In httpd.conf when i try to put
PerlRequire /eg/startup.pl
PerlModule Apache::AuthenNIS
<Directory /home/guts>
AuthType Basic
AuthName "NIS Authentication"
PerlAuthenHandler Apache::AuthenNIS
</Directory>
i get the error
Syntax error on line 547 of /export/home/ats/test-tools/ats/guts/apache/conf/httpd.conf:
Invalid command 'PerlRequire', perhaps mis-spelled or defined by a module not included in the server configuration
./apachectl start: httpd could not be started
In startup.pl i have mentioned the path of my perl modules(AuthenNIS.pm etc) using
use lib qw(../../../);
Please hint some expertise suggestions..
Thanks and regards
Qazi Firdous
_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com
Re: Regarding the PerlAuthenHandler
Posted by Owen Boyle <ob...@bourse.ch>.
qazi Ahmed wrote:
>
> Syntax error on line 547 of /export/home/ats/test-tools/ats/guts/apache/conf/httpd.conf:
> Invalid command 'PerlRequire', perhaps mis-spelled or defined by a module not included in
the server configuration
Are you *really* sure you have installed mod_perl? Try ./httpd -l to
list the modules and check..
Rgds,
Owen Boyle.