PDA

View Full Version : Symbolic Links


Sifmole
2004-08-05, 14:03 PM
Hi,

I need to allow the following of symbolic links within my sites. I have several sites setup that need to share several directories of common files.

My research seems to say that I need to include a:

Options FollowSymLinks

in the configuration file for Apache; however, I tried changing configuration file at /etc/httpd/conf/virtual/site to include this option:

<Directory /home/virtual/site6/fst/var/www/html/>
Options FollowSymLinks
Allow from all
AllowOverride All
Order allow,deny
</Directory>
<Directory /home/virtual/site6/fst/home/*/public_html/>
Options FollowSymLinks
Allow from all
AllowOverride All
Order allow,deny
</Directory>

But even after I restart the webserver from my ensim -> services panel, I still get 403 forbidden errors trying to access file through the browser through the symlink.

Any help would be appreciated.

wknopes
2004-08-09, 23:54 PM
The easiest thing to over look when doing this: check to make sure that the userid running the web server can still see all the way down into those directories (including the files themselves).