On Wed, 2004-02-11 at 22:32 +0100, Stefan Traby wrote:
> Hi !
> 
> I tracked down my config-parsing problem so it's easy
> to reproduce.

Thanks for the tracking down. It seems even something as simple as:

LoadModule perl_module modules/mod_perl.so

<IfDefine foo>
<Perl>
</Perl>
</Ifdefine>

Will cause this problem. It's a bug in httpd's configuration parser, and
is closely related to this bug:

http://marc.theaimsgroup.com/?t=106565148000001&r=1&w=2

I am looking at it right now.

> Here a complete system-independent httpd.conf:
> 
> ----------------------------------------------------------------------
> ServerName google.com
> LoadModule perl_module modules/mod_perl.so
> <VirtualHost *>
>   <Perl>
>   </Perl>
> </VirtualHost>
> 
> <IfDefine foo>
>   <Perl>
>   </Perl>
> </IfDefine>
> 
> <Perl>
> </Perl>
> ----------------------------------------------------------------------
> 
> Here what it does:
> 
> [0]--(22:27:59)-([EMAIL PROTECTED])-(~)-> httpd -t -Dfoo
> Syntax OK
> [0]--(22:28:04)-([EMAIL PROTECTED])-(~)-> httpd -t
> Syntax error on line 8 of /usr/websys/conf/httpd.conf:
> Expected </Perl>> but saw </Perl>
> [1]--(22:28:08)-([EMAIL PROTECTED])-(~)-> 
> 
> Have fun fixing this :)
> 
> It is cool in real-world because I use  "-DSSL".
> 
> "apachectrl sslstart" works, but you can't stop httpd
> using apachectrl... :)
> 
> -- 
> 
>   ciao - 
>     Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to