Project

General

Profile

Actions

Bug #1055

closed

Error 410 und 412 do not return a HTML page

Added by alexlehm about 17 years ago. Updated 4 months ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
No

Description

after trying error codes 410 and 412 I noticed that the error doesn't include any HTML message. To fix this, I created a file status-410.html with the HTML message, but this isn't returned either. The error file works for 403 and 404 codes.

Actions #1

Updated by Anonymous almost 17 years ago

Hi,

this problem also occurs when sending a 410 header with PHP via FCGI. It's quite annoying.

Regards

-- Chris

Actions #2

Updated by darix almost 17 years ago

  • Status changed from New to Assigned

works in 1.5. i will look into the backport of the fix

Actions #3

Updated by stbuehler over 15 years ago

  • Status changed from Assigned to Fixed
  • Resolution set to worksforme

If you send errors from fastcgi you have to provide the content yourself.

If you set the status with mod_magnet you get an error page, so imho all is working as it should.

Please give more details if you think something else is still broken in current versions.

Actions #4

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Missing Feedback
Actions #5

Updated by mgorven about 15 years ago

I can't seem to return a 406 response with my own content from a mod_magnet script. Returning 200 with the content works, but returning 406 just results in an empty body. I'm using Lighttpd 1.4.19.

Actions #6

Updated by mgorven about 15 years ago

Just tested on 1.4.22 and it works. Seems to have been fixed in 1.4.20.

Actions #7

Updated by gstrauss 4 months ago

  • Description updated (diff)
  • Status changed from Missing Feedback to Fixed
  • ASK QUESTIONS IN Forums set to No

Poster notes above that this issue seems to have been fixed in lighttpd 1.4.20

Actions

Also available in: Atom