Access via Browser
Posted: 7/16/2003 3:36:55 PM
By: Comfortably Anonymous
Times Read: 2,154
0 Dislikes: 0
Topic: Linux
Parent Message
Are you saying that you are accessing the file via a web server?

If you are using Apache, you will need to add FollowSymLinks to your Directory directive in httpd.conf. By default, Apache will not follow symbolic links.

See here for more info...
Rating: (You must be logged in to vote)
Discussion View:
Replies:

Access via Browser
Posted: 7/16/2003 3:36:55 PM
By: Comfortably Anonymous
Times Read: 2,154
0 Dislikes: 0
Topic: Linux
Thank you for that information. So I added this directive:

Options Indexes FollowSymLinks

to my conf file in the root httpd directory and rebooted (I am using Cobalt Raq 4).

But it doesn't seem to have made a difference. Is this because the server will only follow symbolic links  where the target file or directory is in the top level of the 'sites' directory?

Within sites I have the individual user web directories i.e.www.site1.com and www.site2.com etc. Here are my instructions

cd /home/sites/www.site2.com/web
ln -s /home/sites/www.site1.com/web/images  images

successfully creates the 'alias' images directory in site2... but If I navigate to it vai a browser, permission is denied???
Rating: (You must be logged in to vote)