Re: Perl not allowed here

2004-08-05 Thread Evert Meulie
-Original Message-
From: Stas Bekman <[EMAIL PROTECTED]>
To: Evert Meulie <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], "Philippe M. Chiasson" <[EMAIL PROTECTED]>
Date: Thu, 05 Aug 2004 11:06:28 -0700
Subject: Re: Perl not allowed here

> 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
> > 
> > 
> > AddHandler perl-script .cgi
> > PerlHandler HTML::Mason
> > 
> > 
> > require "/usr/local/etc/freeside/handler.pl";
> > 
> >  
> > 
> > (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:
> 
>  > 
>  > require "/usr/local/etc/freeside/handler.pl";
>  > 
> 
> out of the  container and it will work.

'It' being Apache here?  ;-)

Yup, Apache now starts without errors, but HTML::Mason still doesn't seem
to function. When I get to a .cgi page I get the source on the screen,
instead of what should appear...

Is there any way I can get this working with apache/mod_perl 2, or should
I settle for version 1?


Regards,
   Evert


-- 
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



Perl not allowed here

2004-08-05 Thread Evert Meulie
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


AddHandler perl-script .cgi
PerlHandler HTML::Mason


require "/usr/local/etc/freeside/handler.pl";

 

(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...   :-/



Regards,
 Evert



-- 
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