I'm pretty stumped here...
I have a virtual host set up with SSI enabled. The relevent and basic configuration goes like this:
<IfModule include_module>
FilterDeclare SSI
FilterProvider SSI INCLUDES resp=Content-Type $text/html
</IfModule>
<VirtualHost 0.0.0.0:80>
FilterChain =SSI Compress
ErrorDocument 404 /404.htm
</VirtualHost>
("Compress" is a filter for mod_deflate.)
Now, this works just fine in non-error situations. However, if you were to request a nonexistent page, the error document is displayed, but it clearly hasn't been run through the SSI filter. What's more, it
does pass through the Compress filter.
The only obvious thing I know to check is whether or not the content type of the response in this situation is text/html or something else, since that's what the SSI filter triggers on. Unfortunately, according to the Live HTTP Headers extension for Firefox, it
is text/html.
Any help would be appreciated.
Edit: This is Apache 2.2.
--
Ryan