I\'ve an Ubuntu 14.04 kernel. I was installing my Laravel application in this server. After installing, I tried to set the root directory to public.
sudo n
too late.. but for the benefit you can edit your .htaccess file comment this line
# RewriteRule ^ index.php [L]