Re: "Invalid command "PerlOptions", perhaps ..." error [Solved]

Re: "Invalid command "PerlOptions", perhaps ..." error [Solved]

am 21.02.2010 09:44:50 von Allan Kamau

Hi all,
Please ignore my earlier mail. I seem to have solved it. I need to run
the biomart's "perl bin/configure.pl -r conf/registryURLPointer.xml"
command _after_ mod_perl's installation.

Allan.

On Sun, Feb 21, 2010 at 11:38 AM, Allan Kamau wrote:
> Hi,
> 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=3D/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=3D/var/biomart/biomart_0.7/httpd/httpd-2.2.14
> MP_APXS=3D"/var/biomart/biomart_0.7/httpd/httpd-2.2.14/bin/a pxs";date;
> make;make install;
>
>
>
> my user defined httpd.conf contains the directive below
>
> =A0 =A0 =A0 =A0ScriptAlias /biomart/martsoap
> "/var/biomart/biomart_0.7/biomart-perl/cgi-bin/martsoap"
> =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0AllowOverride None
> =A0 =A0 =A0 =A0Options None
> =A0 =A0 =A0 =A0Order allow,deny
> =A0 =A0 =A0 =A0Allow from all
>
> =A0 =A0 =A0 =A0Options +ExecCGI
> =A0 =A0 =A0 =A0PerlOptions +ParseHeaders
> =A0 =A0 =A0 =A0

>
>
>
>
> Could it be that I have not installed mod_perl correctly.
>