From owner-freebsd-questions@FreeBSD.ORG Sat Sep 10 13:15:17 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FEA216A41F for ; Sat, 10 Sep 2005 13:15:16 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 659AE43D60 for ; Sat, 10 Sep 2005 13:15:15 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by dirg.bris.ac.uk with esmtp (Exim 4.51) id 1EE5CK-0001rO-MD; Sat, 10 Sep 2005 14:15:14 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 4.50) id 1EE5CJ-0004DY-Uy; Sat, 10 Sep 2005 14:15:12 +0100 Date: Sat, 10 Sep 2005 14:15:11 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Forrest Aldrich In-Reply-To: <4321D164.5000602@forrie.com> Message-ID: References: <4321D164.5000602@forrie.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant X-Spam-Score: -2.8 X-Spam-Level: -- Cc: freebsd-questions@freebsd.org Subject: Re: sysctl or system tweak for symbolic links? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 13:15:17 -0000 On Fri, 9 Sep 2005, Forrest Aldrich wrote: > Hi, > > Using FreeBSD_6.0_Beta4 (applies to Beta2, also). > > I'm trying to track down a problem I've been having with apache-2.0.54 not > following symbolic links. > > It's basically come down to my being able to follow the link if it's in the > same directory structure (ie: .. or /path/to/..), but fails if the symbolic > link is located elsewhere (ie: /usr/local/path/directory) or on another disk. > > I wonder if there's a sysctl or other system variable that handles the > behavior of or access to symbolic links in this fashion that I may have > missed. Seemed like a reasonable conclusion after these tests have been > failing, though it could be something else, too. Stock apache configuration. Look at the documentation for the "Options" directive, particularly "SymLinksIfOwnerMatch". -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ Just because I have nothing to hide doesn't mean I have nothing to fear.