Hi there,

On Mon, 30 Oct 2000, Fabio Albertin wrote:

> I try to access the /site/eg/ directory of the Apache::ASP distribution,
> the browser gives me a 500 error and my log says:
> [alert] [client 127.0.0.1]
> /usr/local/apache/htdocs/site/eg/.htaccess: Invalid command 'PerlSetVar',
> perhaps mis-spelled or defined by a module not included in the server
> configuration
> The same thing happens when I put a PerlSetVar debug 2 in my httpd.conf.
> How would I go about troubleshooting and fixing this error?

It looks like your Apache isn't running mod_perl.  I guess your Apache
is loading mod_perl DSO, does mod_perl in fact say it's running if you
leave out the ASP/Perl stuff?  There should be a line in the error_log
which says "resuming normal operations" and that line should say the
mod_perl version number if all is well.

I don't think it's ASP that's the problem.  Maybe your config is
trying to do mod_perl things before mod_perl is loaded into Apache.
If you have LoadModule directives in your httpd.conf they need to be
seen before any Perl-ish things like PerlSetVar directives.

Have you seen the Guide?  <http://perl.apache.org/guide>

73,
Ged.

Reply via email to