Add Options FollowSymLinks in Apache

fdhbox

Verified User
Joined
Sep 2, 2019
Messages
11
Hello,

How do i add "Options FollowSymLinks" globally in apache in directadmin?


Any help is highly appreciated
 
Hello,

The option FollowSymLinks is enabled by default on DirectAdmin servers. The main requirement for this to work an owner of a symlink and a target file/directory should match. In other words, you can not use symlinks to cross-link content between different users.
 
  • Like
Reactions: Kal
I am asking coz i got this on error logs:


AH00670: Options FollowSymLinks and SymLinksIfOwnerMatch are both off, so the RewriteRule directive is also forbidden due to its similar ability to circumvent directory restrictions


Francis
 
Do you have more than one /home for your files?

The default /home has these:

Code:
<Directory /home>
        AllowOverride All
        Options -MultiViews -Indexes +FollowSymLinks +IncludesNoExec +Includes
        AllowMethods GET HEAD POST
</Directory>

extra/httpd-directories.conf
 
Back
Top