Welcome! Log In Create A New Profile

Advanced

Re: nginx 0.8.47 php-fpm error_page not working

August 09, 2010 05:22AM
On Mon, Aug 09, 2010 at 12:35:48AM -0400, nginx_newbie wrote:

> Dear Edogawaconan / Igor,
>
> I tried both the above corrections but still the problem remains the
> same. As suggested
> by Igor, I have removed
>
> --------------------------------------------
> > if (-f $request_filename) {
> > break;
> > }
> -------------------------------------------
>
> As for fastcgi_intercept_errors it is already ON as per the included
> fastcgi_params file.

Sorry, I missed it.
What should handle /error404.htm ?
If /error404.html should not be handled by PHP, but as usual static file,
then you need to set:

error_page 404 /error404.htm;

location = /error404.htm {
root /srv/www/mutually4u.com/public_html;
}


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

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

nginx 0.8.47 php-fpm error_page not working

nginx_newbie August 08, 2010 02:36AM

Re: nginx 0.8.47 php-fpm error_page not working

edogawaconan August 08, 2010 02:48AM

Re: nginx 0.8.47 php-fpm error_page not working

nginx_newbie August 09, 2010 12:35AM

Re: nginx 0.8.47 php-fpm error_page not working

Igor Sysoev August 09, 2010 05:22AM

Re: nginx 0.8.47 php-fpm error_page not working

Igor Sysoev August 08, 2010 02:54AM

Re: nginx 0.8.47 php-fpm error_page not working

nginx_newbie August 09, 2010 09:11AM

Re: nginx 0.8.47 php-fpm error_page not working

edogawaconan August 09, 2010 09:34AM

Re: nginx 0.8.47 php-fpm error_page not working

Igor Sysoev August 09, 2010 09:42AM

Re: nginx 0.8.47 php-fpm error_page not working - SOLVED

nginx_newbie August 09, 2010 12:27PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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