Mobile app version of vmapp.org
Login or Join
Shakeerah822

: 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

@Shakeerah822

Posted in: #Apache #Linux #Server

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?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Shakeerah822

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme