"Invalid command "PerlOptions", perhaps ..." error
am 21.02.2010 09:38:19 von Allan KamauHi,
I have installed httpd 2.2.14 and mod_perl-2.0.4 from source. When I
run httpd and instruct it to use a user defined httpd.conf file it
raises the "Invalid command 'PerlOptions' error (Biomart's httpd.conf
file)
Below are the details of how I build both the http-2.2.14 and
mod_perl-2.0.4 software and a clip of my configuration file.
#inflate httpd-2.2.4.tar.bz2 and navigate to the newly inflated directory
date;time ./configure
--prefix=/var/biomart/biomart_0.7/httpd/httpd-2.2.14 --enable-deflate
--enable-rewrite --enable-so;date;
make;make install;
#inflate mod_perl-2.0.4 and navigate to the newly inflated directory
date;time perl Makefile.PL
PREFIX=/var/biomart/biomart_0.7/httpd/httpd-2.2.14
MP_APXS="/var/biomart/biomart_0.7/httpd/httpd-2.2.14/bin/apx s";date;
make;make install;
my user defined httpd.conf contains the directive below
ScriptAlias /biomart/martsoap
"/var/biomart/biomart_0.7/biomart-perl/cgi-bin/martsoap"
AllowOverride None
Options None
Order allow,deny
Allow from all
Options +ExecCGI
PerlOptions +ParseHeaders
Could it be that I have not installed mod_perl correctly.