Forum Moderators: coopster & phranque

Message Too Old, No Replies

Invalid command 'PerlAuthenHandler'

Trying to set up an older Perl CGI site

         

timster

9:10 pm on Nov 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've been tasked with moving an old Perl CGI site to our Apple XServe. Everything has gone well except for the authentication. Having adapted the old virtual host Apache config file for the new server, I get the following error:

Invalid command 'PerlAuthenHandler', perhaps mis-spelled or defined by a module not included in the server configuration

The following code block lets the Apache server start, but if I uncomment either of the commented lines, it throws an error.


<Directory "/Library/WebServer/mySite/htdocs/secure">
Options Includes Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
AuthName "mySite Members Only"
AuthType Basic
# PerlAuthenHandler Techex::Authen
# PerlAuthzHandler Techex::Authz
Require valid-user
</Directory>

(I thought this would be an easy problem to google, but no luck there. Also didn't see PerlAuthenHandler mentioned in my Apache Definitive Guide.)

BTW, I'm trying to get this site working using CGI. If and when that works, I may try to get it working with mod_perl.

My environment info:
OS: Mac OS X Server 10.4.3
Perl: 5.8.6
WebServer: Apache/1.3.33 (Darwin)
MySQL: 5.0.15-standard

Any help is appreciated.

coopster

9:36 pm on Nov 8, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I think you are missing mod_perl, timster.

[perl.apache.org...]

timster

4:09 pm on Nov 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, yes, coop, that's right of course. (I was gullible and believed the folks who said it was written in old-style CGI.)

Thanks for the link. I've gone ahead and bought Practical mod_perl. 893 pages -- yikes. Time I read it, though.