Project

General

Profile

Actions

Bug #776

closed

server.errorfile-prefix file ignores php content

Added by Anonymous over 18 years ago. Updated over 16 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_fastcgi
Target version:
-
ASK QUESTIONS IN Forums:

Description

##
  1. Format: <errorfile-prefix><status-code>.html
  2. -> ..../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

Actions #1

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

Actions #2

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.

Actions #3

Updated by stbuehler almost 17 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid
Actions #4

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom