Welcome! Log In Create A New Profile

Advanced

Re: Convert Apache rewrite to NGinx

Francis Daly
March 03, 2013 10:02AM
On Sun, Mar 03, 2013 at 01:52:48PM +0100, GASPARD kévin wrote:

Hi there,

> Using nginx 1.2.1 on Debian Wheezy 64 bits.
>
> My wordpress need rewrite, it gave me this:

> # nginx configuration
>
> location / {
> if (!-e $request_filename){
> rewrite ^(.*)$ /index.php break;
> }
> }

See http://wiki.nginx.org/Pitfalls

Particularly the "Front Controller Pattern based packages" section.

Probably a single extra try_files line will work for you.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Convert Apache rewrite to NGinx

GASPARD kévin March 03, 2013 07:54AM

Re: Convert Apache rewrite to NGinx

Francis Daly March 03, 2013 10:02AM

Re: Convert Apache rewrite to NGinx

GASPARD kévin March 03, 2013 01:40PM

Re: Convert Apache rewrite to NGinx

GreenGecko March 03, 2013 02:00PM

Re: Convert Apache rewrite to NGinx

GASPARD kévin March 03, 2013 02:20PM

Re: Convert Apache rewrite to NGinx

Francis Daly March 03, 2013 02:12PM

Re: Convert Apache rewrite to NGinx

GASPARD Kévin March 06, 2013 08:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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