12
8
I need allow access to a sym-linked directory within ~/Sites from my Apache. I Symlinked the directories like this
ln -s ~/path/to/the/source/directory/ ~/Sites/source-link-here
Now whenever I fire up a GET request I get a 403 reply
curl http://localhost/~username/source-link-here/
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /~username/source-link-here
on this server.</p>
...
How can I tell Apache to allow acces to the symlinked directory and how do I tell Apache to allow this only for requests fired from localhost.
Any help is greatly appreciated.
Best regards
robertj
1
Welcome to Super User! It would be nice to include the essential parts of the answer here, and provide the link only for future reference.
– slhck – 2011-11-30T12:06:42.720I went from xampp zend environment to the default mac/apache setup and after a restart was dead in the water. Step 2 was key. Thank you! – Shanimal – 2012-06-15T13:58:02.370