[pkg-lighttpd] Bug#802680: Acknowledgement (lighttpd: server.error-handler-404 broken, returns status code 200)

Stefan Bühler stbuehler at lighttpd.net
Sun Oct 25 18:18:25 UTC 2015


Hi,

On Thu, 22 Oct 2015 18:23:22 +0100
Jonathan Dowland <jmtd at debian.org> wrote:

> The relevant upstream docs say
> 
> "You can use a dynamic or static page for the handler. If you use a
> static page, the server will return a 404 HTTP status code with the
> content of your static page."
> 
> http://redmine.lighttpd.net/projects/1/wiki/Server_error-handler-404Details
> 
> I hope I am reading this wrong, but this would suggest this was known
> behaviour?
> 
> http://redmine.lighttpd.net/issues/2456

The docs and the behavior are certainly not optimal, but as
lighttpd-1.4.x is a "stable" branch we try to keep semantic changes to
a minimum.

Please use url.rewrite-if-not-file instead; if you have a scenario that
is not covered by url.rewrite-if-not-file you could also have a look
at mod_magnet.

regards,
Stefan



More information about the pkg-lighttpd-maintainers mailing list