Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 08:52:52 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        David Karapetyan <david.karapetyan@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Apache aliased directory invisible
Message-ID:  <48FD8A54.4010603@infracaninophile.co.uk>
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

[-- Attachment #1 --]
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?
> 

Options Indexes for the icons area?

Create a stub directory "icons" under your web-root?

Don't use Aliases within apache, but create symlinks instead and tell
Apache to FollowSymLinks?

One or other of those should work...

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkj9ilQACgkQ8Mjk52CukIzLFACfVA8hti43kIzT/KQrCBPiq8b+
//YAn1WUTIMPAsHhF+5hwpNz1KyICVpm
=yHK4
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48FD8A54.4010603>