I had lampp installed previously. I uninstalled it using sudo ./uninstall But even after i uninstalled it, it was showing me the contents of /opt/lampp/htdocs. I used sudo rm to remove the directory too. Then I installed apcache using
sudo apt-get install apache2 mysql-server php php-mysql libapache2-mod-php php-xml php-mbstring
But now it says
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
How can I fix this? Is there some other application running on :80 rather than any of the apache installations?