Evert Meulie wrote:
Hi everyone!
When trying to start Apache I get:
Syntax error on line 376 of
/usr/local/apache-freeside/conf/Apache-Freeside.conf:
Perl not allowed here
The relevant paragraph from Apache-Freeside.conf:
PerlModule HTML::Mason
<Directory /usr/local/apache/htdocs/freeside-mason>
<Files ~ (\.cgi)>
AddHandler perl-script .cgi
PerlHandler HTML::Mason
</Files>
<Perl>
require "/usr/local/etc/freeside/handler.pl";
</Perl>
</Directory>
(the 'require' line is 376).
This paragraph I've cut/pasted from:
http://www.sisd.com/freeside/docs/install.html
My apache version is: Apache/2.0.50 (Unix) mod_perl/1.99_14 Perl/v5.8.4
DAV/2
Is there anyone out there who can enlighten me? I'm lost... :-/
Evert, just take:
> <Perl>
> require "/usr/local/etc/freeside/handler.pl";
> </Perl>
out of the <directory> container and it will work.
Philippe, has the allowed placement of <Perl> sections changed in mp2?
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html