On Wed, Dec 8, 2010 at 11:28 PM, icaro81 <nginx-forum@nginx.us> wrote:
> It works, but:
>
> - www.domain.com returns a 404 not found
>
> - www.domain.com/every/?data=1&moredata=2 dont pass the
> "data=1&moredata=2" to the php
>
location ~ ^(.+)/$ {
try_files $uri $1.php?$args;
}
should fix both problem
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx