On Fri, 5 Nov 1999, Einar Johnsson wrote:

> Hello.
> I just compiled mod_perl-1.21 with: perl Makefile.PL EVERYTHING=1
> 
> When I try to use the PerlAccessHandler directive in my httpd.conf
> I get:
> Invalid command 'PerlAccessHandler', perhaps mis-spelled or defined by a
> 
> module not included in the server configuration

sounds like the Apache that was installed isn't mod_perl enabled.  if you
following the INSTALL.simple steps below, APACHE_PREFIX=... will also
install the mod_perl enable Apache for you.

#where APACHE_PREFIX is where you wish to have Apache installed
#e.g. APACHE_PREFIX=/usr/local/apache

% lwp-download http://www.apache.org/dist/apache_x.x.x.tar.gz

% lwp-download http://perl.apache.org/dist/mod_perl-x.xx.tar.gz

% tar -zxf apache_x.x.x.tar.gz

% tar -zxf mod_perl-x.xx.tar.gz

% cd mod_perl-x.xx

# mod_perl will build Apache for you
% perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFIX=/usr/local/apache

% make test && make install

Reply via email to