Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jul 1999 13:07:50 -0600
From:      Juan Kuuse <kuuse@quik.guate.com>
To:        FreeBSD Quest <freebsd-questions@freebsd.org>
Subject:   Apache working - but symlinks not
Message-ID:  <377BBC86.1578F843@quik.guate.com>

next in thread | raw e-mail | index | archive | help
I'm running 3.0-RELEASE, and just installed Apache 1.3.2.
I'm using the default access.conf file (just copied from
access.conf.default).

In the /usr/local/www/data directory, I created the data symbolic link: 
lrwxr-xr-x  1 root  wheel    27 Jul  1 11:08 data ->
/usr/local/share/doc/apache
lrwxr-xr-x  1 root  wheel    27 Jun 22 09:20 data.default ->
/usr/local/share/doc/apache  

In the /usr/local/share/doc/apache directory: 
-rw-r--r--  1 root  staff  2326 Jul  3  1996 apache_pb.gif
-rw-r--r--  1 root  staff  1622 May 20  1998 index.html
drwxr-xr-x  6 root  staff  1024 Jun 22 09:20 manual
lrwxr-xr-x  1 root  staff    27 Jul  1 10:18 mydocs ->
/home/kuuse/Desktop/mydocs/
drwxr-xr-x  2 root  staff   512 Jul  1 11:04 mytry 

I created the symbolic link 
mydocs
("Forbidden
You don't have permission to access /mydocs on this server.")

and the subdirectory
mytry

The subdirectory access (httpd://localhost/mytry) works fine, but the
symbolic link (http://localhost/mydocs) doesn't.
Anyone knows why?
Please send a copy to me, as I'm currently not on the list.
Thanks in advance!

/Juan Kuuse


Here follows an extract of the access.conf file:

# This should be changed to whatever you set DocumentRoot to.

<Directory /usr/local/www/data>

# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".

# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.

Options Indexes FollowSymLinks

# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options",
"FileInfo",
# "AuthConfig", and "Limit"

AllowOverride None

# Controls who can get stuff from this server.

order allow,deny
allow from all

</Directory>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?377BBC86.1578F843>