Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Steven Thomson on October 19, 2002, 10:49:54 PM

Title: followSymLinks - HOW ?
Post by: Steven Thomson on October 19, 2002, 10:49:54 PM
Could someone tell me how to tell apache to follow SymLinks.
Thanks.
It's for NetJuke.
Title: Re: followSymLinks - HOW ?
Post by: Des Dougan on October 20, 2002, 01:38:19 AM
From httpd.conf:

# Horde specific configuration files.


    Options Indexes Includes FollowSymLinks

HTH.

Des Dougan
Title: Re: followSymLinks - HOW ?
Post by: Soren Skov Andersen on December 23, 2002, 06:48:10 PM
Hi

OK - I don't get it this... I have a partition on one of my drives and in that is a directory called 'www-root' which is supposed to be my Apache root directory and at the same time a share so that I can see it from my XP PC.

The directory is mapped using fstab as follows:

/dev/hda7       /mnt/DISK1      ext2    defaults                1 2

The directory is at the same time a share so that I can see it from my XP PC. My share is defined as follows:

[www-root]
comment = WWW Root Directory
path = /mnt/DISK1/DISK1/www-root
username = ssa
force user = ssa
force group = ssa
printable = no
read only = no
create mode = 0755
force create mode = 0755
directory mode = 0770
force directory mode = 0770
browseable = yes
writable = yes

The directory 'html' in /home/e-smith/files/primary/ has been deleted and replaced by a link which links to /mnt/DISK1/DISK1/www-root

In /etc/httpd/conf/ I have the following settings:


    Options FollowSymLinks
    AllowOverride None
    order deny,allow
    deny from all
    allow from none



    Options Indexes Includes FollowSymLinks
    Options +Includes
    AddType application/x-httpd-php .php .php3 .phtml

    AllowOverride None
    order deny,allow
    deny from all
    allow from all


All my files in www-root are owned by ssa and have the 755 permissions. I don't get why I still get 403 (Forbidden). Can anyone help me out?

BR/Soren