I have just installed Ubuntu 13.10. I followed this guide (most of it) to setup LAMP. Then I was getting this error about
Could not reliably determine the server's fully qualified domain name
Which I solved by adding a line ServerName localhost
to the httpd.conf
file. After that I installed phpmyadmin using
sudo apt-get install phpmyadmin
Everything was working fine (i.e. phpmyadmin, mysql etc) After that I copied one of my projects to /var/www/
and when I try to access this I keep getting this error:
You don't have permission to access /AfaqTraders on this server.
I have tried
chmod -R o+w /var/www
to provide it the required (read write) permissions but I am still having this error and unable to get rid of it. Can any one please tell me what am I missing here. I am new to Ubuntu
and don't know much about it, so apologize if any of this seems noob to you.
P.S. I have tried almost all of the questions here at askubuntu but wasn't able to get this to work.
Below is how my /etc/apache2/apache.conf
file looks:
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Directory /*>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>