[thelist] symlinks/freebsd/apache

CDitty mail at redhotsweeps.com
Thu Oct 5 12:17:05 CDT 2000


I think that you need to do an alias in the apache conf file.  That should 
do exactly as you wish.

CDitty

At 11:45 AM 10/5/00, you wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>What I'm trying to do is a fairly sensible symlink on
>my server - my main photos section lives at
>http://www.easyweb.co.uk/pics/
>but knowing some people, I'll get attempts to
>get to it at
>http://www.easyweb.co.uk/photo/ and
>http://www.easyweb.co.uk/photos/
>(and having Dan Quayle as a mate (jk) also
>http://www.easyweb.co.uk/photoes/ )
>
>So I did the sensible thing and set up a couple
>of symlinks:
>bash$ ln -s pics photos
>bash$ ln -s pics photoes
>
>which gives me (extract):
>lrwxrwxrwx   1 web3060  3060      4 Oct  5 16:40 photo -> pics
>lrwxrwxrwx   1 web3060  3060      4 Oct  5 16:41 photoes -> pics
>lrwxrwxrwx   1 web3060  3060      4 Oct  5 16:41 photos -> pics
>drwxr-xr-x  10 web3060  3060   1024 Oct  3 22:04 pics
>
>Smurfy, eh? Those Unix classes last year pay off.
>cd photo (etc) gives me exactly what I'd expect - it takes
>me into a dir with all the same content as /pics/.
>
>So why the hell when I try to access
>http://www.easyweb.co.uk/photo/ or
>http://www.easyweb.co.uk/photo/index.html
>(etc)
>do I get 403 errors?
>
>Cheers
>Martin
>
>________________
>Martin Burns, Content Management Consultant
>tel: +44 (0)778 068 6418
>http://evolt.org/index.cfm?menu=9&uid=32
>http://www.easyweb.co.uk/
>-----BEGIN PGP SIGNATURE-----
>Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
>Comment: PGP Key ID: 0xA835CCCB
>
>iQA/AwUBOdywE3HoHnCoNczLEQIUfACgyCafpbi0utaScqOxkfjgkj794asAoJch
>fsNQ9q6QZjd91A5IJq2lJIZV
>=pBR9
>-----END PGP SIGNATURE-----
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list