A strange mistake. I tried to find out why the virtual host was not working using the setting that I used a hundred times.
DocumentRoot "/var/htdocs/directory-name/"
<Directory "/var/htdocs/directory-name/">
Gave me 403 error no matter what I tried
DocumentRoot "/var/htdocs/directoryname/"
<Directory "/var/htdocs/directoryname/">
No. Has anyone else ever experienced this? I didn’t insert the whole virtual host entry, but that was the only difference between what worked and what gave me 403. I am completely confused.
source
share