Jump to content

Issue with apache following symlinks


Crazytje

Recommended Posts

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 :(

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.