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        fran...@daoine.org

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

Reply via email to