I am new to Ubuntu, I've installed 12.04. I used to use wamp server on Windows, and after changing OS I moved some files from www folder to /var/www
on Ubuntu. But when I try to view that folder in a browser it doesn't display anything.
Probably there is a problem with permission issues. What are proper permissions for /var/www
folder? Here are my /var
folder permissions:
drwxrwxr-x 4 root root 1024 Feb 4 20:06 www
I have run
chmod -R 755 /var/www
chown -R root /var/www
Right now that /var/www
folder is empty, but how can I configure apache to show files under that folder in browser?