Hello,
On Fri, 20 Apr 2012 06:56:51 +0700
Edho Arief <edho@myconan.net> wrote:
> 1. you forgot to put ~ for regex match
> 2. the one you want is rewrite/return, not try_files
>
> something like this may work:
>
> location ~ ^/article-(\d+)\.php$ {
> rewrite ^ /post.php?id=$1 last;
> }
Ok i have it do, but the result is same, File not found.
The config complete: http://nopaste.info/af7861f553.html
Regards
Silvio
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx