Hi guys!
I am running Apache 2.4.9 under WampServer 2.5 on Windows 8.1 and I am having issues with symbolic links.
Here is what I am trying to achieve:
I have source files for my website in Z:\projects\website and I have created a symbolic link to this directory in Z:\wamp\www using the mklink cmd: mklink /D Z:\wamp\www\website Z:\projects\website
I have also created a VHost for this, like follows:
<VirtualHost *:80>
DocumentRoot "Z:/wamp/www/website"
ServerName website.dev
ServerAlias website.dev
ErrorLog "logs/website.dev-error.log"
CustomLog "logs/website.dev-access.log" common
FallbackResource /index.html
</VirtualHost>
And allowed the following of symlinks:
<Directory Z:/wamp/www/>
Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
AllowOverride All
Require all granted
</Directory>
Of course, I have also created an entry matching 127.0.0.1 to website.dev in my hosts file.
But it doesn't work
When I access website.dev (or directly with the IP or localhost), Apache answers with a 403 Forbidden "You don't have permission to access / on this server."
The error log also says: "Forbidden: Z:/wamp/www/website doesn't point to a file or directory"
This looks like Apache isn't able to follow the symbolic link, but I can't figure it out...
Any help would be really appreciated, I have already spent too may hours on this ^^