Re: FastCGI authorizer configuration example?

Marc D Prewitt <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
We are using the following in 1.3.29 which works:

<Location /cgi-bin/access.fpl>
   SetHandler fastcgi-script
</Location>

<Location /realm-protected/>
   AuthType Basic
   AuthName ProtectedRealm
   FastCgiAuthenticator 
/export/httpd/DOMAINS/test.com/cgi-bin/access.fpl
   FastCgiAuthorizer 
/export/httpd/DOMAINS/test.com/cgi-bin/access.fpl
   Require valid-user
   ErrorDocument 403    /cgi-bin/access.fpl
</Location>


On Tue, 11 Oct 2005, Alan Sparks wrote:

> Does anyone have a working example of configuring Apache2 properly for
> Authorizer use?
> Trying to write a Perl FastCGI authorizer process on RHEL4, with stock
> Apache 2.0.52 and FastCGI 2.4.2.  I can get the FCGI process to
> initialize, but it seems from embedded debug prints that the authorizer
> is never invoked.
>
> Trying a configuration like the following... am I missing a key point?
> Thanks in advance.
> -Alan
>
> LoadModule fastcgi_module modules/mod_fastcgi.so
> FastCgiServer /home/asparks/foo.pl -idle-timeout 30 -processes 2
> <Directory /var/www/html>
> AuthType Basic
> AuthName ProtectedRealm
> AuthUserFile  /tmp/userfile
> FastCgiAuthorizer /home/asparks/foo.pl
> </Directory>
>
> -- 
> Alan Sparks, UNIX/Linux Systems Integration and Administration
> <[email protected]>
>
> ___________________________________
> fastcgi-developers mailing list
> http://fastcgi.com/fastcgi-developers/
>

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.