English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

The files show 404 but the directories are 403. in the beginning i thought the files were not uploaded however I refreshed the FTP client and they were there. JPG files show fine, but when I try to load PHP it says 404. please help, thanks

2007-06-12 00:12:57 · 3 answers · asked by qqqqqq 1 in Computers & Internet Programming & Design

I have all the permissions correct 755, it still doesn't work, the root folder says 404, however I do have index.php my FTP client is filezilla.

2007-06-12 00:42:18 · update #1

3 answers

If your FTP program allows you to change permissions (chmod) then you need to make that folder that contains these files to 755. Which should allow all files to be read.
I am making the assumption you are hosting on linux, if you are on IIS you need to set files to be read by all.

If you can't do this from FTP you should be able to from your system control panel, or have you hosting company set them.

2007-06-12 00:34:38 · answer #1 · answered by Tracy L 7 · 0 0

Error 403 means "Forbidden". From what you describe I am guessing that the HTTP clients do not have permission to open the folders, which would naturally cause any files in those directories to be missing.

You should check out the properties of the www directories with your ftp client and set the premissions so that anyone can both read and open then, then set the properties of files so that anyone can read them. Files do not need the open permission.

For more details let me know which FTP program you use to upload your files.

2007-06-12 07:17:19 · answer #2 · answered by Marko Z 2 · 0 0

do you use linux server or windows ?

2007-06-12 08:35:25 · answer #3 · answered by mojick 1 · 0 0

fedest.com, questions and answers