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

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

 



On 9/8/05, Forrest Aldrich <forrie@xxxxxxxxxx> wrote:
>  What is the proper way to configure FollowSymLinks in 2.0.54?
>  
>  I'm having a problem getting this to work at all - after reading the
> manual, searching for examples, it seems fairly straightforward; however,
> every combination I try fails with: Symbolic link not allowed.
>  
>  I am suspicious that I've hit a bug, and actually filed a bug report, to
> which detractors insist there is no bug.
> 

They didn't insist there was no bug.  They pointed out repeated
inconsistencies and errors in your examples that made it impossible to
recreate any problem.
 
>  I tried a stripped-down httpd.conf that has basically this:
>  
>  DocumentRoot /usr/local/www/data:
>  
>  
> <Directory />
>      Options All
>  </Directory>
>  
>  The symlink is in the DocumentRoot as:
>  
>  files -> /usr/local/shares/directory
>  
>  I tried specifying the directory in different ways:
>  
>  
> <Direcotory "/files"> 
>  
>  <Direcotry "/usr/local/www/data/files">
>

<Directory> sections must always use full file-system paths.

The first thing to do is to look through httpd.conf (and any Include'd
config files) for EVERY SINGLE OCCURENCE of the Options directive, and
make sure they all include FollowSymlinks or All.  (The other posters
comment about needing to specify FollowSymLinks explicitly is not
correct; this option is included in All.)

Once you have it working like that, you can start removing some of
them to see where it breaks.

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