Forum Moderators: phranque

Message Too Old, No Replies

File not found, but I know it's there

CHMOD issues?

         

mgm_03

4:43 pm on Feb 14, 2006 (gmt 0)

10+ Year Member



I was asked to make an update to a site. I'm adding a contact form and using php ...the host does support php.

I've made a test file test.php which is just <?php echo phpinfo();?> The browser is returning 404 errors when I try to access a php file.

I tried changing permissions but I get a CHMOD error. But, it looks like the new permissions are accepted however?

The problem does not occur with .html files.

I checked .htaccess and found this (edited):

IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.acme.com
AuthUserFile /webdocs/acme/public_html/_vti_pvt/service.pwd
AuthGroupFile /webdocs/acme/public_html/_vti_pvt/service.grp

I have no idea if this is the root cause or totally unrelated to my problem.
It's a 5 page website. Looks like they used Front Page.
Never encountered something like this before.

jdMorgan

12:24 am on Feb 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



mgm_03,

Is there anything useful in the server error log when you test this file?

Jim