Re: Filters not applied with ErrorDocument pages?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux