nginx 0.8.47 php-fpm error_page not working - SOLVED

Igor Sysoev igor at sysoev.ru
Tue Aug 10 05:50:00 MSD 2010


On Tue, Aug 10, 2010 at 01:16:51AM +0100, Eugaia wrote:

> It's a 'feature' of Chrome, IE and probably some other browsers too.
> 
> http://wiki.nginx.org/NginxHttpCoreModule#msie_padding
> 
> If you're using version < 0.8.25, or msie_padding is set to 'off', then 
> padding up to 512 bytes won't be done for Chrome when error pages are 
> generated.

nginx adds the padding only for built-in error pages.
It does not add the padding for custom error pages by error_page or
error pages received from proxied, FastCGI, uWSGI, and SCGI servers.

> Marcus.
> 
> On 09/08/2010 22:39, Michael Shadle wrote:
> > You should submit a bug to chromium and give us the URL. I will also add feedback/bump it. That is somewhat irresponsible of them to "assume" behaviors.
> >
> > On Aug 9, 2010, at 9:27 AM, "nginx_newbie"<nginx-forum at nginx.us>  wrote:
> >
> >    
> >> Dear Igor,
> >>
> >> Problem Solved!!!!
> >>
> >> Chrome does not show very small page [with less than 500 bytes] to the
> >> browser and the browser simply generates its own error message. This
> >> is not a problem with the web server, rather a feature / problem with
> >> Chrome.
> >>
> >> Many thanks for your guessing.... It was indeed the problem with
> >> Chrome....
> >> It works great in Firefox. It was my mistake having not tried to access
> >> the page
> >> Firefox earlier. Anyways, thanks again for your time and efforts.
> >>
> >> Looking forward to be of help to others in future after I get used to
> >> using nginx.
> >> Keep up the great work going and wish you all the best for the growth
> >> and
> >> development of nginx.
> >>
> >> Regards
> >> Ganesh
> >>
> >> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,117436,117883#msg-117883
> >>
> >>
> >> _______________________________________________
> >> nginx mailing list
> >> nginx at nginx.org
> >> http://nginx.org/mailman/listinfo/nginx
> >>      
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://nginx.org/mailman/listinfo/nginx
> >    
> 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx

-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list