Crazytje Posted December 27, 2008 Share Posted December 27, 2008 I've just reinstalled Apache with php on my centos server and for some reason it's not following symlinks. The error that's in the error log is: Symbolic link not allowed or link target not accessible: /var/www/html/test I just do what I've always done in the past, my httpd.conf settings: User apache Group apache DocumentRoot "/var/www/html" <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory "/var/www/html"> Options FollowSymLinks Indexes AllowOverride All Order allow,deny Allow from all </Directory> The symlink in /var/www/html lrwxrwxrwx 1 apache apache 28 Dec 27 10:40 test -> /usr/local/site/test/ for testing i did a chmod 0777 on the directory, and everything is owned by apache. What am I missing here?, It always worked in the past. I hope someone can help, using google turned up nothing Quote Link to comment https://forums.phpfreaks.com/topic/138563-issue-with-apache-following-symlinks/ Share on other sites More sharing options...
Crazytje Posted December 27, 2008 Author Share Posted December 27, 2008 Forgot to mention it is only for symlinks that point to directory's outside of the document root. Couldn't edit my original post anymore Thanks Quote Link to comment https://forums.phpfreaks.com/topic/138563-issue-with-apache-following-symlinks/#findComment-724510 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.