httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <>
Subject mod_include if expr parsing
Date Sat, 04 May 2002 04:52:14 GMT


<!--#elif expr="($SERVER_PORT = 443) && ($p_ssl = 1)" -->
produces a "Unmatched '('" error which is wrong.

This looks like a legitimate bug, though from looking through the CVS
history I don't really think this code changed much between 1.3 and 2.0,
so I can't really see how it worked in 1.3.  You get the error message
after the parse tree has been generated and then you go to walk the tree
and it encounters a ( it didn't expect.  The parse tree that gets
generated doesn't look totally kosher (in particular, some of the ->parent
pointers seem wrong).  Is anyone especially familiar with this code?


   Cliff Woolley
   Charlottesville, VA

View raw message