Hi,

trying to do my vhosts configurations with perl. No luck so far:

config: Apache 2.0.54, mod_perl 2.0.1, perl 5.8.7

a simple

<Perl>
$aha = 'var';
</Perl>

throws this error when trying to start Apache2

Syntax error on line 2 of /opt/apache2/conf/vhosts.d/vhostraw.conf:
$parms->add_config() has failed: Invalid command 'aha', perhaps
mis-spelled or defined by a module not included in the server
configuration at
/usr/lib/perl5/site_perl/5.8.7/i586-linux-thread-multi/Apache2/PerlSections.pm
line 203.\n

HowTo?

Richard

Reply via email to