On 12/07/2010 08:25 PM, Joost de Heer wrote:
On Mon, December 6, 2010 02:56, Dennis Jacobfeuerborn wrote:
I just noticed that when I use ErrorDocument to server custom 404 pages
the
output filter I defined is not getting used anymore. Is there some special
configuration required to make the filters also work on custom error
pages?

How do you define the error pages? I haven't tried it, but I'd guess that
ErrorDcument 404 http://your.server/404.html will result in a new request,
and that filters will be applied in this case.

That doesn't work because if you redirect the forces Apache to use a 30x status which means the 404 cannot be returned anymore. What I'm doing is basically:

ErrorDocument 404 /_errors/404.html

That way I can serve the error_pages with a proper 404 status.

Regards,
  Dennis

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to