Rewrite problem

st1905 nginx-forum at nginx.us
Sat Sep 18 20:55:32 MSD 2010


Igor Sysoev Wrote:
-------------------------------------------------------
> On Thu, Sep 16, 2010 at 01:15:45PM -0400, st1905
> wrote:
> 
> > How to match every php file under the admin
> directory? Thanks. I dont
> > want to match admin folder globally on the
> domain.
> 
> location ~ ^/admin/.+\.php$
> 
> 
> -- 
> Igor Sysoev
> http://sysoev.ru/en/
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx


That worked great, thank you.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,131021,131767#msg-131767




More information about the nginx mailing list