/etc/apache2/apache2.conf
163
164 <Directory /var/www/>
165 Options Indexes FollowSymLinks
166 AllowOverride None
167 Require all granted
168 </Directory>
を通したいパスへ変更する
/etc/apache2/apache2.conf
163
164 <Directory /home/ubuntu/www>
165 Options Indexes FollowSymLinks
166 AllowOverride None
167 Require all granted
168 </Directory>
apacheの再起動
sudo /etc/init.d/apache2 restart