From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 11:39:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEEC31065674 for ; Tue, 21 Oct 2008 11:39:58 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from hermes.wbtsystems.com (87-198-244-212.ptr.magnet.ie [87.198.244.212]) by mx1.freebsd.org (Postfix) with ESMTP id A4A198FC34 for ; Tue, 21 Oct 2008 11:39:58 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from SUNYA (sunya.wbt.wbtsystems.com [10.12.1.114]) by hermes.wbtsystems.com (Postfix) with ESMTPA id 85D60F7410; Tue, 21 Oct 2008 12:22:01 +0100 (IST) From: "Barry Byrne" To: "'Derek Ragona'" , "'David Karapetyan'" , References: <20081021031603.GB45624@vagrant.hsd1.in.comcast.net> <6.0.0.22.2.20081021060221.0257aff0@mail.computinginnovations.com> Date: Tue, 21 Oct 2008 12:22:05 +0100 Message-ID: <23582B33F3AD4C5F84CFF64D6A00BB93@wbt.wbtsystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <6.0.0.22.2.20081021060221.0257aff0@mail.computinginnovations.com> Thread-Index: AckzbUpushz+QJ7OSIOYL3bxaAUBpwAAccMg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: Subject: RE: Apache aliased directory invisible 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: Tue, 21 Oct 2008 11:39:59 -0000 > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Derek Ragona > Sent: 21 October 2008 12:07 > To: David Karapetyan; freebsd-questions@freebsd.org > Subject: Re: Apache aliased directory invisible > > At 10:16 PM 10/20/2008, David Karapetyan wrote: > >FreeBSD office19.resnet.nd.edu 7.0-RELEASE-p5 FreeBSD > 7.0-RELEASE-p5 #0: > >Wed Oct 1 10:10:12 UTC 2008 > >root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > > > >Hello all. I would like to make aliased directories in apache visible > >from the directory root. An example: When I visit > http://myserver.com/, > >I would like to see the 'icons' folder (suppose that in my > document root > >I have directories 'bobo' and 'gogo', but that /icons is actually an > >alias for /usr/local/share/icons). Bobo and gogo show up in the > >directoroy listing when I access http://myserver.com, but not /icons. > >How can I remedy this? > > add a symbolic link: > > ln -s /usr/local/share/icons [path to your doc root]/icons > > typically for apache22 this would be: > > ln -s /usr/local/share/icons /usr/local/www/apache22/data/icons > You may also want to check your apache config that the FollowSymLinks option is on. Something like: Options FollowSymLinks is in the appropriate place. Otherwise, Apache will ignore symbolic links. - barry