Welcome! Log In Create A New Profile

Advanced

Re: fastcgi causing 502 errors? [was: alternating 404 and 200]

Nuno Magalhães
September 04, 2009 10:53AM
> hm, I would suggest you take out the '502' from your error_page handling.
> You want to see whether the 502 is coming from your fastcgi... or nginx.
> Take a look at your php error logs as well.

Before i had a 502 error_page i kept having 200 and 404 (my previous
post). It was only when Igor suggested i should look into that error
log thingy ;) that i discovered the 404 was because i had no 502 page
to handle the error. The real error is thus 502 and the page gets
served.

I've changed (and tested) my local php settings so that errors get
outputted to a file instead of the browser, but this situation outputs
no errors to the php log.

Setting fastcgi_intercept_errors to off didn't create output either
(so i left it on).

--
() ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\ ascii ribbon campaign - against html e-mail
Subject Author Posted

fastcgi causing 502 errors? [was: alternating 404 and 200]

Nuno Magalhães September 03, 2009 04:00PM

Re: fastcgi causing 502 errors? [was: alternating 404 and 200]

Jeffrey 'jf' Lim September 03, 2009 04:10PM

Re: fastcgi causing 502 errors? [was: alternating 404 and 200]

Nuno Magalhães September 03, 2009 06:28PM

Re: fastcgi causing 502 errors? [was: alternating 404 and 200]

Jeffrey 'jf' Lim September 03, 2009 09:42PM

Re: fastcgi causing 502 errors? [was: alternating 404 and 200]

Nuno Magalhães September 04, 2009 10:53AM

Re: fastcgi causing 502 errors? [was: alternating 404 and 200]

vesperto September 07, 2009 10:34AM

Re: fastcgi causing 502 errors? [was: alternating 404 and 200]

vesperto September 08, 2009 06:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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