httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Wolff III <>
Subject Re: 2.0.37-dev mod_include issue
Date Fri, 24 May 2002 14:01:06 GMT
On Wed, May 22, 2002 at 10:39:10 -0500,
  Bruno Wolff III <> wrote:
> When the error message for 403 forbidden is generated using the file
> HTTP_FORBIDDEN.html.var I get a log message in the error log indicating
> that an SSI expression is bad. The log entry is:
> [Wed May 22 09:23:02 2002] [error] [client] Invalid expression "$REDIRECT_URL
= /\/$/" in file /usr/local/apache2/error/HTTP_FORBIDDEN.html.var
> I played around with this a bit and it looks like the /s around the
> regular expression are the problem. The documentation doesn't indicate
> there has been any change with how this works since apache 1.3.x.

I played with this some more and there does seem to either be a bug or
some lack in the documentation for mod_include.
This "if" worked:
<!--#if expr="$REDIRECT_URL = '/test/'" -->
This "if" didn't:
<!--#if expr="$REDIRECT_URL = /test/" -->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message