im using Ubuntu 14.04, and got problem with apache configuration:
i created a Symlink in
/var/www/html (the apache DocRoot since Ubuntu 14.04) torwards
ln -s /home/me/myWebDirectory myWebDirectory
localhost/myWebDirectory renders a
and in fact,
sudo -u www-data ls /home/me/myWebDirectory returns a permission denied too
apache2.conf had following directive :
<Directory /var/www> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
i changed it for
but no result.
i tried to add the
me user to
www-data group with following command but it didnt help either :
sudo usermod -a -G www-data me
what is it that i miss ??
i changed the group of
/home/me/myWebDirectory into www-data with rx rights, but no success either...
NB 1: i know there's another way to do it, while activating the apache mod_userdir and that's probably what i'll be going to do next. But first i'd like to understand how to make this "simple" solution work...
NB 2: i know as well i could create a VirtualHost and so on, but again, i'd like first to understand why this simple (first and temporary) solution won't work...