Feature #7
error-handler advanced usage
| Status: | Wontfix | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | core | |||
| Target version: | 1.4.20 | |||
| Pending: | No |
Resolution: | wontfix |
|
| Patch available: |
Description
i would like to specify redirect url for error-handler,
so the httpd would respond with Location: header to user.
second request is to support more error codes, perhaps any numeric code.
currently i need handler for 500, 403 and 503
History
08/23/2005 12:17 PM - Anonymous
Would be great to use this functionality with mod_secdownload so you could specify a url or redirect for an invalid download (408 Request Timeout)... not too user friendly spitting back the 408 Request Timeout page.
-- t.lucas
08/27/2008 05:05 PM - stbuehler
- Status changed from Assigned to Fixed
- Resolution set to wontfix
server.errorfile-prefix is your friend, static content should be enough for that, or use a dynamic backend in the first place (mod_magnet).
you should not redirect errors, as that would hide them.
http://trac.lighttpd.net/trac/wiki/server.errorfile-prefixDetails