You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Alessandro Forghieri <Al...@think3.com> on 2002/08/19 15:30:14 UTC

Weird: [mp2]

Greetings.
This happens on win32.

If the following is inserted in httpd.conf:

<Perl>
</Perl>

I get, reasonbly enough:

Syntax error on line 961 of D:/Apache2/conf/httpd.conf:
<Perl> sections not yet implemented in modperl-2.0

Tough, but fair. But why should the following:

<IfDefine fubar>
  <Perl>
  </Perl>
</IfDefine>

give me the totally unreasonable:

Syntax error on line 960 of D:/think4/Apache2/conf/httpd.conf:
Expected </Perl>> but saw </Perl>

Obviously minor, but gave me about 15 mins. of head scratching...

Cheers,
alf

Re: Weird: [mp2]

Posted by Doug MacEachern <do...@covalent.net>.
On Mon, 19 Aug 2002, Alessandro Forghieri wrote:

> Greetings.
> This happens on win32.
> 
> If the following is inserted in httpd.conf:
> 
> <Perl>
> </Perl>
> 
> I get, reasonbly enough:
> 
> Syntax error on line 961 of D:/Apache2/conf/httpd.conf:
> <Perl> sections not yet implemented in modperl-2.0
> 
> Tough, but fair. But why should the following:
> 
> <IfDefine fubar>
>   <Perl>
>   </Perl>
> </IfDefine>
> 
> give me the totally unreasonable:
> 
> Syntax error on line 960 of D:/think4/Apache2/conf/httpd.conf:
> Expected </Perl>> but saw </Perl>

not sure, but likely an apache issue.  anyhow, in the cvs version of 
modperl-2.0, pluggable <Perl> sections have been implemented (see posting 
to the dev list).  somebody just needs to implement a default handler to 
actually convert the Perl code to apache config.