Re: [users@httpd] Proper configuration of FollowSymLinks in 2.0.54

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <jslive@xxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

  

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux