You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Allan Kamau <ka...@gmail.com> on 2010/02/21 09:44:50 UTC

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

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 <ka...@gmail.com> 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=/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/apxs";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"
>        <Location /biomart/martsoap>
>        AllowOverride None
>        Options None
>        Order allow,deny
>        Allow from all
>
>        Options +ExecCGI
>        PerlOptions +ParseHeaders
>        </Location>
>
>
>
>
> Could it be that I have not installed mod_perl correctly.
>