Welcome! Log In Create A New Profile

Advanced

Re: error pages: bug or feature?

Piotr Sikora
July 19, 2009 02:56AM
> This is not a bug and not a feature (if you mean a feature as "well known
> and documentated bug"). This is intended behaviour:

By feature I meant "intended behaviour" ;)

> http://wiki.nginx.org/NginxHttpCoreModule#error_page
>
> Otherwise, you will not be able to show your custom static error_page's
> with original response status, it would always return 200 response:
>
> error_page 404 /404.html;
>
> location = /404.html {
> root /path/to/page;
> }

Of course, you're right. Next time I'll read documentation first, instead of
trying to find not existing bugs in the code... Sorry for the noise!

Best regards,
Piotr Sikora < piotr.sikora@frickle.com >
Subject Author Posted

error pages: bug or feature?

Piotr Sikora July 18, 2009 08:28PM

Re: error pages: bug or feature?

Igor Sysoev July 19, 2009 01:55AM

Re: error pages: bug or feature?

Piotr Sikora July 19, 2009 02:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 135
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready