nginx-0.7.31

Igor Sysoev is at rambler-co.ru
Tue Jan 20 17:37:25 MSK 2009


On Tue, Jan 20, 2009 at 01:48:21PM +0000, cynix wrote:

> Igor Sysoev <is at ...> writes:
> 
> > 
> > +   try_files  $uri  $uri/index.php  @php;
> > 
> 
> Thanks, this is working indeed.
> 
> I like your idea about testing the existence of directory with "$uri/".

The attached patch enables trailing slash as directory flag.


-- 
Igor Sysoev
http://sysoev.ru/en/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.try_files.dir
Type: application/x-director
Size: 1595 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20090120/9b60f01b/attachment.dir>


More information about the nginx mailing list