Welcome! Log In Create A New Profile

Advanced

add_header directive not working for 40x and 50x responses

October 05, 2009 11:43AM
As per the http header module's documentation ([url=http://wiki.nginx.org/NginxHttpHeadersModule]link[/url]) the add_header directive does not work for 40x and 50x error pages.

Is there a specific reason for this? Will the ability to use this directive in error pages be added later on?

This is something that is required by my project since NGINX is responsible for serving error pages and we need to set specific cookies when the error page is displayed.

There is also a post on the ruby nginx forums ([url=http://www.ruby-forum.com/topic/180810#new]link[/url]) with this issue without a satisfactory answer.

Any information on the issue would be appreciated.
Subject Author Posted

add_header directive not working for 40x and 50x responses

fxdemolisher October 05, 2009 11:43AM

Re: add_header directive not working for 40x and 50x responses

fxdemolisher October 09, 2009 02:12PM

Re: add_header directive not working for 40x and 50x responses

agentzh October 09, 2009 11:06PM

Re: add_header directive not working for 40x and 50x responses

agentzh November 17, 2009 05:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 324
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