I have a symlink in my main htdocs directory /home/www/example.com/htdocs
:
index.php
cms (symlink)
lrwxrwxrwx 1 apache myuser 32 May 22 15:33 cms -> /home/www/xyz-cms/https/cms/
However, when I visit my site at http://www.example.com/cms I get a 404 not found.
Am I missing a step to get this working?
From the Apache 2 documentation,
So you need to make sure you have FollowSymLinks in the Options setting, probably as part of the
<Directory>
container.For example,
Also, you'll need to make sure the permissions on
/home/www/xyz-cms/https/cms/
allow access to the user Apache is running as.