Bug #776
closedserver.errorfile-prefix file ignores php content
Description
- Format: <errorfile-prefix><status-code>.html
- -> ..../status-404.html for 'File not found'
server.errorfile-prefix = "/var/www/htdocs/error"
error-404.html contains php, as do all the other .html files on my website (I use sessions for logging into the website, so I need it like this.)
ALL other .html pages process php just fine, apart from the error-404.html.
To test it, I copied the contents of index.html file into error.404.html.
It simply ignores the php code within the error-404.html page.
For information,
server.error-handler-404 processes php just fine.
-- lt
Updated by Anonymous over 18 years ago
Good question.. why am I not using the server.error-handler-404 setting instead then if it works? I want error pages for errors 403, 500 etc too.
-- lt
Updated by Anonymous over 17 years ago
lighttpd sux on adding such useful options, 1year later you are only able to define a 404 as a PHP file, all others errors must be handled by HTML, what a crap coding or the author is really sleeping.
Updated by stbuehler almost 17 years ago
- Status changed from New to Fixed
- Resolution set to invalid
Also available in: Atom