Re: [opensuse] FollowSymlink



On 29-07-2009 18:59, jdd wrote:
I have a web site dodin.org working.

I have some time to time to setup folders with big files, so I want to
have them on an other partition.

for example the moodyblue files should be on /data/moodyblue and the
web server have a link in htdocs moodyblue->/data/moodyblue

the vhost if like this:

<VirtualHost *:80>
ServerAlias dodin.org
# *.domain.tld
DocumentRoot /home/www/htdocs
Options +Includes +FollowSymLinks
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</VirtualHost>

but

http://dodin.org/moodyblue/index.html

gives error 403

lrwxrwxrwx 1 root root 26 Jul 29 18:32 moodyblue -> /data/moodyblue/

most files in htdocs are "drwxr-xr-x 4 root root" and perfectly
accessible

drwxr-xr-x 5 root root 4096 Apr 2 08:32 moodyblue

and all files a read for all

what can be the problem? partition mount?? (fstab= /dev/hda8 /data
ext3 defaults 1 2)

thanks
jdd


2 things that I can think of:
1. Check that there is no local .htaccess file in your DocumentRoot that overwrites the Options directive.
2. Double-check the permissions on /data/ & /data/moodyblue/ (and the files in that folder), and make sure that they are actually accessible by the user under which apache is running.

Best regards
Sylvester Lykkehus
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx