|
Okay, a quick explanation for you.
You created the file as root with read, write permissions for the owner (rw-------)
The webserver is running as user apache, so is unable to read the file.
The command i gave u changes the file permissions to be readable by the group and others (readable by anyone)
|