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

Allan Kamau <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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 <[email protected]> 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.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.