Error 404 if url contains "star"

Francis Daly francis at daoine.org
Sun Apr 10 18:37:35 UTC 2016


On Sun, Apr 10, 2016 at 07:16:33PM +0200, Alexander Schwarz wrote:

Hi there,

> 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://nginx.org/r/location

Your rule does not redirect *all* requests.

> Any ideas?!

There's a missing backslash "\" on the "location ~*" line, just before
the ".(".

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list