While the title of this question matches an already asked question, in my case I already set
The setup is the following: my hosting setup includes
htdocs/ directory that is the default document root for HTTP websites and
htdocs-secure that is for HTTPS. They are meant for sites that need a different HTTPS version.
In case both share the same files I create a link from htdocs-secure to htdocs by
ln -s htdocs htdocs-secure but here comes the problem! Log still says
Symbolic link not allowed or link target not accessible: /path/to/htdocs-secure
Header always set Strict-Transport-Security "max-age=500" DocumentRoot /path/to/htdocs-secure <Directory "/path/to/htdocs-secure"> allow from all Options +FollowSymLinks </Directory>
I think it's a correct setup. The HTTP version of the site is accessible, so it doesn't look like a permission problem.
How to fix this?
[Add] other info: I use MPM-itk and I set
AssignUserId to the owner/group of both the directories