Possible Duplicate:
Making webpages on the server accessible
I have just set up a LAMP EC2 instance using rightscale when I got to the link:
"http://ec2-xxx.compute-1.amazonaws.com/"
I get the standard apache welcome page. Now on my server I have the directory '/var/www/html/' where I can put my 'publicly' viewable web-pages. I have added a directory in here with some php script which are now at:
"/var/www/html/newdir/somefilename.php"
When I go to:
"http://ec2-xxx.compute-1.amazonaws.com/newdir/somefilename.php"
The script doesnt run (php is working) - i.e. I get 'Not found' - i.e. cant even find the page. I have set permissions to the directory and file to 777 (using chmod).
Can anyone please tell me what I am not doing? I want to be able to run the php from a web browser