basic (I hope) mod_perl and CGI question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


I'm trying to use custom authentication and authorization scripts with
the PerlAuthenHandler and PerlAuthzHandler directives.  These work like
a champ for PHP and HTML pages;  however, when I try using them for a
CGI script thay appear to be ignored.   I've added the following to my
httpd.conf file:

<Location /cgi-bin>
SetHandler  perl-script
Options ExecCGI
PerlModule Apache::Registry
PerlSendHeader On
PerlAuthenHandler name-of-module
PerlAuthzHandler name-of-module

But it still seems like the authentication and authorization step
simply gets skipped - no output in Apache error log from my modules.
Any suggestions?



Re: basic (I hope) mod_perl and CGI question writes:

Quoted text here. Click to load it

Hi Stan,

join the mod_perl mailing list. I think they will help you.

Quoted text here. Click to load it

Good luck.

    Carter's Compass: I know I'm on the right track when,
       by deleting something, I'm adding functionality.

Site Timeline