Welcome! Log In Create A New Profile

Advanced

Re: Error 404 if url contains "star"

Francis Daly
April 10, 2016 02:38PM
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@daoine.org

_______________________________________________
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: 153
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