Re: Ubuntu and mod_perl

Fred Moyer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Tue, May 17, 2011 at 3:22 PM, Tom Kane <[email protected]> wrote:
> Now, I have another issue: I have created a startup.pl file and placed it into the conf.d
>  directory. However, when I restart apache2 I get an error message to the effect that the first
> 'use' statement is a syntax error. I'm sure that my problem lies in my confusion as to (1) where
> to point ServerRoot, and (2) where I'm supposed to put my perl scripts. These are all pretty
> elementary, I suppose, but if anyone can shed any light, I will be very appreciative.

You should have a line in your httpd.conf that looks something like
this.  If not, you will need to add it.

PerlPostConfigRequire /etc/apache2/conf.d/startup.pl
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.