DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20945>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20945

Mod_ext_filter mangles SSI

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Major                       |Minor



------- Additional Comments From [EMAIL PROTECTED]  2003-06-21 20:27 -------
> Regarding the scenario where the example "slowdown"
> filter breaks SSI: Please submit a sample configuration
> that shows this problem so we can recreate/debug.

Ok:
1. Copy and paste the 'slowdown' filter from
  http://httpd.apache.org/docs-2.0/mod/mod_ext_filter.html
  (or any other filter, as far as I can tell)
2. Create the following SHTML file called test.shtml:
  <HTML><HEAD><TITLE>Title</TITLE></HEAD><BODY>
  <H1>Start</H1>
  <H3>[<!--#include virtual="sub"-->]</H3>
  <H1>End</H1>
  </BODY></HTML>
3. Create the following include file called sub.html:
  This is the include.

The catch (which stumped me for quite a while) is that the include statement is
looking for "sub", but the file is actually called "sub.html".  Apache fills in
the missing extention, but the presence of mod_ext_filter causes the include to
be printed before the <HTML> tag, not in the <H3>.  With the full extention
listed, the include is printed in the correct place.  This is 100% repeatable.

Downgrading this bug from 'Major' to 'Minor' now that I see that this only
affects server-side includes which have partially broken references.

> Also, was anything written to the error log at the time?

No, the error log is clean.

(I'll respond to part 2 of your comment as soon as I generate some supporting 
data.)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to