: Proper way of allowing Apache to serve from an encrypted folder (/home dir) I have a folder in my home folder, /home/user/mywebsite. My home folder was encrypted when I installed Ubuntu. I
I have a folder in my home folder, /home/user/mywebsite. My home folder was encrypted when I installed Ubuntu. I have a symlink in /var/www/fleet -> /home/user/mywebsite.
My configuration file:
<Directory /var/www/fleet>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
When I try to access, I get 403 forbidden.
apache error.log [Fri Dec 01 16:08:28.100927 2017] [core:error] [pid
23024] [client 192.168.168.9:50328] AH00037: Symbolic link not allowed
or link target not accessible: /var/www/fleet
I know it's a permissions issue since I can run this command:
sudo -u www-data ls /var/www/fleet
ls: cannot access /var/www/fleet: Permission denied
what is the correct way to allow serving encrypted folder? Do I add www-data user to my user group?
More posts by @Shakeerah822
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.