This AM, installed apache 1.3.23 with mod_perl 1.26.
My httpd.conf file generates an error "Invalid command '<Perl>'..." on
startup.
====== Output of httpd -l is as follows: =======
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_setenvif.c
mod_perl.c
suexec: disabled; invalid wrapper ../apache_1.3.23/bin/suexec
=== Perl portion of httpd.conf as follows: ===
blah blah blah...
PerlModule Apache::DBI
<Perl>
use lib "/usr/local/www/site.travelhealthadvice/modules";
</Perl>
PerlModule Travel2::AuthCookieHandler
PerlSetVar TravelersPath /
PerlSetVar TravelersLoginScript /travel/interview/login.html
PerlSetVar AdminstratorsPath /
PerlSetVar AdminstratorsLoginScript /administer/login.html
PerlRequire /usr/local/www/site.travelhealthadvice/conf/mason.pl
DefaultType text/html
Alias /business /usr/local/www/site.travelhealthadvice/mason/business
<Location /business>
SetHandler perl-script
PerlHandler HTML::Mason
</Location>
Alias /travel /usr/local/www/site.travelhealthadvice/mason/travel
<Location /travel>
SetHandler perl-script
PerlHandler HTML::Mason
</Location>
<Location /travel/interview>
AuthType Travel2::AuthCookieHandler
AuthName Travelers
PerlAuthenHandler Travel2::AuthCookieHandler->authenticate
PerlAuthzHandler Travel2::AuthCookieHandler->authorize
require valid-user
</Location>
Alias /administer /usr/local/www/site.travelhealthadvice/mason/administer
<Location /administer>
AuthType Travel2::AuthCookieHandler
AuthName Administrators
PerlAuthenHandler Travel2::AuthCookieHandler->authenticate
PerlAuthzHandler Travel2::AuthCookieHandler->authorize
require valid-user
SetHandler perl-script
PerlHandler HTML::Mason
</Location>
Alias /site_admin /usr/local/www/site.travelhealthadvice/mason/site_admin
<Location /site_admin>
SetHandler perl-script
PerlHandler HTML::Mason
</Location>
Alias /debug /usr/local/www/site.travelhealthadvice/mason/debug
<Location /debug>
SetHandler perl-script
PerlHandler HTML::Mason
</Location>
Alias /javascript /usr/local/www/site.travelhealthadvice/javascript
<Files LOGIN>
AuthType Travel2::AuthCookieHandler
AuthName Travelers
SetHandler perl-script
PerlHandler Travel2::AuthCookieHandler->login
</Files>
Any clue as to why? I'm certain I'm starting the same httpd executable
as the one with mod_perl (in any case, the PerlModule directive works
ok, proving this) and this worked fine under my old build.
don't need spam anyway.
Thanks in advance.