Welcome! Log In Create A New Profile

Advanced

Re: conditional cache

Maxim Dounin
September 02, 2010 11:56AM
Hello!

On Thu, Sep 02, 2010 at 11:15:14AM -0400, paul2791 wrote:

> I just tried a quick test, using your first method for users/guests ,
> with 419 instead of 418. Seems to work fine. Any reason I couldn't or
> shouldn't use these codes to redirect to different interal @locations???

418 is one from RFC 2324, "Hyper Text Coffee Pot Control
Protocol". It means "I'm a teapot". Good code to say request
should be processed elsewhere. ;)

You are free to use any 4xx/5xx code otherwise unused in a
particular location (and it's good idea to avoid overloading codes
which may happen to be returned due to other reasons).

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

conditional cache

paul2791 September 01, 2010 03:00PM

Re: conditional cache

Maxim Dounin September 01, 2010 07:28PM

Re: conditional cache

paul2791 September 02, 2010 11:02AM

Re: conditional cache

paul2791 September 02, 2010 11:15AM

Re: conditional cache

Maxim Dounin September 02, 2010 11:56AM

Re: conditional cache

Luca De Marinis September 03, 2010 06:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 78
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready