Welcome! Log In Create A New Profile

Advanced

weird 404 behavior

Posted by gottaloveit 
weird 404 behavior
February 08, 2012 01:43AM
Hello, and in advance I have been searching for days for this and so this is my last resort, but please forgive me if I might have missed this problem or solution already discussed.

I am successful in most of the error_page 404 and rewrite configuration, but there is 1 that is stumping me.

Situations:
/index.php - ok
/asd - should get 404, received custom 404 page, ok
/index.phpa - should get 404, received blank white page

Here's logs from access log
expect a 404 custom page - success
[08/Feb/2012:06:34:30 +0000] "GET /asd HTTP/1.1" 404 4068 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11"
[08/Feb/2012:06:34:30 +0000] "GET /local.php?stylesheet_link1 HTTP/1.1" 200 5610 "/asd" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11"
[08/Feb/2012:06:34:30 +0000] "GET /local.php?javascript_link1 HTTP/1.1" 200 68075 "/asd" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11"

expect regular front page - success
[08/Feb/2012:06:34:45 +0000] "GET /index.php HTTP/1.1" 200 11240 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11"
[08/Feb/2012:06:34:45 +0000] "GET /local.php?stylesheet_link1 HTTP/1.1" 200 5610 "/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11"
[08/Feb/2012:06:34:45 +0000] "GET /local.php?javascript_link1 HTTP/1.1" 200 68075 "/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11"

expect a 404 custom page - got blank white page
[08/Feb/2012:06:34:49 +0000] "GET /index.phpa HTTP/1.1" 404 31 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11"

Has anyone seen this before? I am running PHP-FPM through Fast CGI

Thank you
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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