Error 500 when adding redirects to errors 425 to 499

Asked

Viewed 48 times

1

I have a file .htdocs where in it has multiple error redirects (has for all types of error HTTP, and that’s all there is in the file): ErrorDocument 400 /PROJETOS/error.php?status=error_400 however when adding respective lines to errors HTTP 425 à HTTP 499 gives internal server error HTTP 500. Does anyone know why?

Version: Apache 2.4.10

Log:

[core:alert] [pid 5676:tid 1644] [client ::1:54077] C:/xampp/htdocs/PROJETOS/.htaccess: Unsupported HTTP response code 425
[Tue May 26 13:46:38.149363 2015] [core:alert] [pid 5676:tid 1644] [client ::1:54080] C:/xampp/htdocs/PROJETOS/.htaccess: Unsupported HTTP response code 450
[Tue May 26 13:46:45.820801 2015] [core:alert] [pid 5676:tid 1688] [client ::1:54082] C:/xampp/htdocs/PROJETOS/.htaccess: Unsupported HTTP response code 450
[Tue May 26 13:46:52.481182 2015] [core:alert] [pid 5676:tid 1668] [client ::1:54084] C:/xampp/htdocs/PROJETOS/.htaccess: Unsupported HTTP response code 499
  • Have you checked the Error Log for probable causes?

  • @qmechanik apparently apache does not recognize these response codes.

  • 1

    In fact these codes are invalid, according to is the IANA code list.

  • @qmechanik what I do with this question?

  • If you want to keep it, you may see an answer or alternative to the problem.

1 answer

0


As stated by the user @qmechanik these codes are invalid or not yet implemented as you can see on the IANA(Internet Assigned Numbers Authority):

425 Unassigned  
426 Upgrade Required    [RFC7231, Section 6.5.15]
427 Unassigned
430 Unassigned
432-499 Unassigned

Browser other questions tagged

You are not signed in. Login or sign up in order to post.