There are a lot of posts out there but I could not resolve my issue. I symlinked an home folder to a localhost one, but when I try to run some php scripts that open a file that's in that folder I cannot access it. I tried to modify apache setting:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
<Directory /home/nyarlathotep/.config/garmin-extractor/3887499814/activities>
Options FollowSymLinks Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
that folder permissions are set to 777, but I still get "permission denied". What can I do? I'm not an apache expert for sure.