write permissions 12.04 server edition

Asked by David Jones

I have installed 12.04 server edition and uploaded some content to /var/www but when I open it in a browser I get a list instead of the web page i loaded.
I placed my wan ip in static in the conf file it is accessable from outside my network except it doesn't simply open my page.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Who is the owner of the data? You can use:

ls -la /path/to/filename

To check ownership and ACL.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#2

Have you also tried restarting the webserver service, probably with:

sudo service httpd restart

Revision history for this message
David Jones (dj) said :
#3

Sorry as usual the mistake was between the chair and keyboard. lol I forgot to name the file index.html once that was done it works like magic.
Thanks for your help I know I can always count on you to be the first to respond.

David
in TN

Revision history for this message
David Jones (dj) said :
#4

Thanks actionparsnip, that solved my question.