Welcome! Log In Create A New Profile

Advanced

Error 404 if url contains "star"

Alexander Schwarz
April 10, 2016 01:18PM
Hello,
i have a very strange problem with my nginx configuration. If the URL contains the word "star", i get the standard 404 Error not found page.
I defined a rule that should redirect all requests to index.php.
http://example.com/some/url/starr --> works, returns my custom styled error 404 page (processed by PHP)http://example.com/some/url/star -> exact word "star", returns default error 404 page (Request does not seem to go over PHP)
The access_log does not log the 404 Error, if the url contains the word. I changed to debug log levels but no logfileis showing something. Tried different nginx versions, server is running Debian 8.
Any ideas?!
Best regards, Alex _______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Error 404 if url contains "star"

Alexander Schwarz April 10, 2016 01:18PM

Re: Error 404 if url contains "star"

Francis Daly April 10, 2016 02:38PM

RE: Error 404 if url contains "star"

Alexander Schwarz April 10, 2016 03:30PM

Re: Error 404 if url contains "star"

B.R. April 11, 2016 05:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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