Multiviews in Nginx
Edho P Arief
edhoprima at gmail.com
Thu Dec 9 08:56:06 MSK 2010
On Wed, Dec 8, 2010 at 11:28 PM, icaro81 <nginx-forum at 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
More information about the nginx
mailing list