Welcome! Log In Create A New Profile

Advanced

Re: nginx + FollowSymLinks owner verification

January 05, 2013 12:41PM
I consider it a feature if try_files and if can really check whether a file exists or not (instead of accessible). I have cooked a patch [1] that implements this functionality. Please review, comments are welcome.

Note: this patch changes behaviour. Previously, files which were not accessible were simply skipped. After applying this patch, files which exist, but are not accessible are not skipped. Maybe an option can be added to try_files and if to toggle this behavior?

Regards,
Peter

[1]: http://lekensteyn.nl/files/0001-Do-not-require-read-permissions-for-try_files-if.patch
SubjectAuthorPosted

nginx + FollowSymLinks owner verification

activaApril 10, 2012 09:38PM

Re: nginx + FollowSymLinks owner verification

Edho AriefApril 10, 2012 09:44PM

Re: nginx + FollowSymLinks owner verification

activaApril 10, 2012 10:25PM

Re: nginx + FollowSymLinks owner verification

activaApril 10, 2012 10:46PM

Re: nginx + FollowSymLinks owner verification

activaApril 11, 2012 12:18AM

Re: nginx + FollowSymLinks owner verification

activaApril 17, 2012 11:31PM

Re: nginx + FollowSymLinks owner verification

Edho AriefApril 17, 2012 11:40PM

Re: nginx + FollowSymLinks owner verification

charlieApril 26, 2012 09:29AM

Re: nginx + FollowSymLinks owner verification

Maxim DouninApril 26, 2012 10:44AM

Re: nginx + FollowSymLinks owner verification

LekensteynJanuary 05, 2013 10:30AM

Re: nginx + FollowSymLinks owner verification

Valentin V. BartenevJanuary 05, 2013 11:28AM

Re: nginx + FollowSymLinks owner verification

LekensteynJanuary 05, 2013 12:41PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 64
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready