On Wednesday 21 November 2007 6:21:57 am Neil Shephard wrote:
> Alias /cgi-perl /usr/local/apache/chi-perl/
> <Location /cgi-perl>
Should that be:
Alias /cgi-perl /usr/local/apache/cgi-perl/
rather than
Alias /cgi-perl /usr/local/apache/chi-perl/
?
(typo in c[gh]i-perl?)
> 3. The book indicates that one of the Environment variables that
> should be reported by the script is MOD_PERL, but I don't see this,
> despite mod_perl being included and configured when apache is started
> as shown in the logs after restarting ([Tue Nov 20 16:49:56 2007]
> [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g
> mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal
> operations). Have I done something wrong, and/or why is the MOD_PERL
> environment variable missing?
If the above is what your config file says, you have mod_perl enabled, but
your script isn't running under it.
> I realise that the most likely problem stems from using an out-of-date
> book, but it was the only one I could find that covered Perl and MySQL
> for the web,
There's a mod_perl2 book out now (cf. http://modperl2book.org/) and the
original mod_perl1 book is available online (http://modperlbook.org/).