httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Proper configuration of FollowSymLinks in 2.0.54
Date Fri, 09 Sep 2005 00:59:55 GMT
On 9/8/05, Forrest Aldrich <forrie@forrie.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message