I am having this problem (apache2, ubuntu 12.04)
I have put all my sites in /home/username/vhosts folder I have added permissions to home and username to be x and chmod -r 777 on vhosts Added /etc/hosts to access my sites with desired names Did a2enmod rewrite
But still I have this error:
[Sat Jun 23 00:05:23 2012] [crit] [client 127.0.0.1] (13)Permission denied: /home/username/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
WHY is it not readable? I did
sudo -s su - www-data
and with that I can correctly list the /home/username dir
What is wrong with me or apache?