Page 1 of 1

I can´t execute a PHP file because it´s in a subfolder

Posted: Sun Aug 06, 2006 10:51 am
by florenciox
Hello,

I´m trying to test a website a coder made for me but I can´t execute a PHP file because it´s in a subfolder.

I´m not a coder, but I need to execute a PHP file located in httpdocs/admin (where httpdocs is the root)

I moved the file to the root and it executes but doesn´t work because it´s configuration.

For this reason, I think it a matter of permissions but I changed the permissions to 775 and to 777 with Filezilla but it continues inaccessible, the site says:

Not Found
The requested document was not found on this server.

Can anybody help me?

Thanks in advance

Florencio
Costa Rica

Posted: Sun Aug 06, 2006 1:38 pm
by dibyendrah
if document root is httpdocs, it should read any sub-folders under that root folder.

Posted: Sun Aug 06, 2006 2:44 pm
by blackbeard
did you change the permissions on the folder and the file, or just the file?

Posted: Sun Aug 06, 2006 5:47 pm
by Ollie Saunders
Not Found
The requested document was not found on this server.
Means, it wasn't found. If it was a matter of permission it would say forbidden. Check you are typing the name correctly, if this is running on a linux server it may be case sensitive. If you are requesting http://somesite.com/admin/ try http://somesite.com/admin/index.php
I´m trying to test a website a coder made for me
Where is he now?

Posted: Sun Aug 06, 2006 6:43 pm
by RobertGonzalez
The placement of the file in the subfolder should have nothing to do with it not executing. Try the suggestions posted so far (using the proper case of the filename, using the proper filename) and post back what the browser is telling you.