Date: Tue, 21 Oct 2008 06:07:15 -0500 From: Derek Ragona <derek@computinginnovations.com> To: David Karapetyan <david.karapetyan@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Apache aliased directory invisible Message-ID: <6.0.0.22.2.20081021060221.0257aff0@mail.computinginnovations.com> In-Reply-To: <20081021031603.GB45624@vagrant.hsd1.in.comcast.net> References: <20081021031603.GB45624@vagrant.hsd1.in.comcast.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20081021060221.0257aff0>