Welcome! Log In Create A New Profile

Advanced

Re: disable symlink, possible?

June 19, 2009 10:50AM
On Fri, Jun 19, 2009 at 9:18 PM, Avleen Vig<avleen@gmail.com> wrote:
> It's not possible. Trying to do so would be a major performance hit.
> With a feature like this, nginx would have to call stat() on every element
> in the path to make sure it's not a symlink.
> So instead of one stat() on
> /usr/local/www/domain/htdocs/dir/foo/bar/index.html, nginx would have to do
> nine!
>
> Madness :)
>

how about apache's <location >-like directive?

maybe something like

filepath / { deny all; }

filepath /var/www { allow all; }

?

--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Subject Author Posted

disable symlink, possible?

edogawaconan June 17, 2009 03:57AM

Re: disable symlink, possible?

Maxim Dounin June 17, 2009 04:29AM

Re: disable symlink, possible?

Avleen Vig June 19, 2009 10:18AM

Re: disable symlink, possible?

edogawaconan June 19, 2009 10:50AM

Re: disable symlink, possible?

Christopher Smith June 19, 2009 11:53AM

Re: disable symlink, possible?

edogawaconan June 19, 2009 12:43PM

Re: disable symlink, possible?

Cliff Wells June 19, 2009 02:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 164
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready