Okay here's what happened.

My config:

User www
Group www
ServerName forrie.com
DocumentRoot /home/test
Listen *:8091

<Directory />
Options All
</Directory>

ErrorLog        /var/log/httpd-error.log

If I do a "ln -s /usr/local/shares/forrie/files ." into the above DocumentRoot, I get the proper symlink:

files -> /usr/local/shares/forrie/files

And I get this error:

[Fri Sep 09 13:49:33 2005] [error] [client 192.168.1.99] Symbolic link not allowed: /hom
e/test/files

BUT...

If I create a file "test2" in the ".." directory, containing "foo", then "ln -s /home/test2 ." which gives me:

test2 -> /home/test2

I can get to it via the browser.

Now I'm suspicious of a filesystem item with FreeBSD-6.0 -- the symblic link to "files" is on the second hard drive, whereas the first is on the same disk.

Other than that possibility, I'm at a loss here.


Thanks.


_F



Joshua Slive wrote:
On 9/9/05, Joshua Slive <[EMAIL PROTECTED]> wrote:
  
4. ln -s test2/index.txt test/symlink.txt
    

Oops.  That's obviously not exactly what I did, since it creates a
broken symlink.  More like
ln -s ../test2/index.txt test/symlink

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  

Reply via email to