相关主题:
http://www.directadmin.com/forum/showthread.php?t=42332
出于安全原因,默认情况下,FollowSymLinks处于禁用状态。
为了防止这种情况,可以:
1)从.htaccess文件中删除FollowSymLinks。 它可以用SymLinksIfOwnerMatch替换。
2)或者使用补丁方法,它允许FollowSymLinks,但在内部用SymLinksIfOwnerMatch代替它,因此客户端不需要调整任何东西(我们将来可能会使用它作为默认值)。
cd /usr/local/directadmin/custombuild
./build update
./build set harden-symlinks-patch yes
./build set secure_htaccess no
./build apache
./build rewrite_confs
http://www.directadmin.com/forum/showthread.php?t=42332&p=214681#post214681











