httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Ford <sc...@theplaylistgeneration.com>
Subject [users@httpd] Permissions problem with accessing a file via a symbolic link - (Mac OS X 10.5.7, Apache 2.2.11)
Date Mon, 13 Jul 2009 18:13:53 GMT
I am running Mac OS X 10.5.7 with Apache 2.2.11 installed.  I have an
audio application that creates an html log file of tracks that are
playing.  I am trying to use a symbolic link to access the html file
so I can post it on my site over my LAN.  The file resides in a directory
inside
of my documents folder...

/Users/[username]/Documents/MegaSeg User Data/Logs

I have verified that the permissions to all of the parent directories
have at least execute privileges for others.  The html log file I am
trying to link to has the following privileges...

-rw-r--r--@  1 [username]  staff    625 Jul 10 17:17 NowPlaying.html

I used the following command to setup my symbolic link...

ln -s /Users/[username]/Documents/MegaSeg\ User\ Data/Logs/
NowPlaying.html nowplaying.html

That seemed to work fine, because when I do an ls -al in my website's
folder I see the link.  I have a basic index.html, with a link to
nowplaying.html, but when I click on the link I get a 403 Forbidden
error.

In reading the Apache documentation, I found that I may need to have
FollowSymLinks somewhere in my configuration, but I am not sure from the
Apache documentation where that should go.  I assume it would either be in
the form of a .htaccess file, or somewhere in the httpd.conf file.  It
should be noted that the DocumentRoot directory I am using is configured as
an Alias in my httpd.conf.  I am sure that this is configured correctly as I
can access it just fine over my LAN.

Can anyone help me out with this one?  I am stuck.
Thanks!
-- 
Scott

Mime
View raw message