I am having problems configuring Apache. I installed LAMP to work on PHP.
I get the error "You don't have permission to access / on this server." when I try and access "http://localhost/" in my Web browser.
I was initially trying to set myself permissions to copy, paste and edit files in /var/www and I seemed to have completely messed the permissions up. In addition, this is what I added to the /etc/apache2/httpd.conf file that was initially blank.
Allow from all
I have attached the following screenshots:
A. Permissions of /var/www
B. Error message when accessing localhost
This is what I want to do:
1. Give my user account full rights to paste and edit files in /var/www
2. Is the httpd.conf file content correct?
3. I am confused about the default directory. Is it /var/www or /var/www/html ?