I have installed LAMP by apt-get install lamp-server^
http://localhost ran fine.
To set up for local development I have changed relevant files in apache2/sites-available/ and apache2.conf and then run a2dissite and a2ensite in admin user according to-
https://help.ubuntu.com/community/Ap...#Virtual_Hosts
I have changed the directory to the home directory of a non-admin user and run a2dissite and a2ensite from admin user. I have followed this to change php.conf:
https://wiki.ubuntu.com/UserDirectoryPHP
by commenting out this -
<IfModule mod_userdir.c>
<Directory /home/*/public_html>
php_admin_value engine Off
</Directory>
</IfModule>
I have put an html index.html file in the directory but when I try
http://localhost I get 403 forbidden error.
How can I set up to develop from home directory of non-admin user? I have carefully checked all steps and tried running service apache2 restart many times.