View Single Post
Old 05-25-2005, 12:06 PM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,705
redhead is on a distinguished road
Quote:
Forbidden

You don't have permission to access /stage/tampadetox/images/sub/left_bar.jpg on this server.
Apache/2.0.46 (Red Hat) Server at www.seekmediadesign.com Port 80
Quote:
Forbidden

You don't have permission to access /stage/tampadetox/images/sub/ on this server.
Apache/2.0.46 (Red Hat) Server at www.seekmediadesign.com Port 80
Quote:
Forbidden

You don't have permission to access /stage/tampadetox/images/ on this server.
Apache/2.0.46 (Red Hat) Server at www.seekmediadesign.com Port 80
First off, how do you transfer the files to the server? is it through ftp ? or through frontpage extensions ?
If you have a login shell on the server, check the permissions on the images and images/sub directories, they should be something like this:
Code:
~ > ls -la images | egrep '(./|sub)'
drwxr-xr-x    4 redhead  users        4096 Jul 17  2003 ./
drwxr-xr-x    3 redhead  users        4096 Jul 17  2003 ../
drwxr-xr-x    2 redhead  users        4096 Apr 13  2003 sub/
next check the permissions on the images, they should be something like this:
Code:
images/sub > ls -l
total 244
-rw-r--r--    1 redhead  users        1466 Jul 14  2003 404-1.png
-rw-r--r--    1 redhead  users        1649 Jul 14  2003 404-2.png
..
To change the permissions on the directories, use chmod, something like this should do it:
Code:
~ > chmod 0755 images
~ > cd images 
images > chmod 0755 sub
images > cd sub
images/sub > chmod 0644 *
If you are using ftp to transfer, it could be that you're in ASCII mode, when transfering the images will get currupted, so be sure to transfer the images in BIN mode.
If it's with frontpage extensions, I have no idear why they might get currupted.

Another thing could be, that theres a .htaccess file preventing me from teh further investigation on the permissions settings here.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote