PDA

View Full Version : problem with viewing images on server...


jameson
08-18-1999, 01:30 AM
for some reason, I can't view the digits for my counter... (the first is http://www.jamesonrobert.com/digits/0.gif )
Whenever I try to load this or another digit file, I get a 404.
What should these images be chmoded? (the directory, too) What else could the source of this problem be?
------------------
Jameson Robert Gagnepain
http://www.jamesonrobert.com

Justin
08-18-1999, 02:32 AM
It wouldn't be a matter of permissions - if it were, you would get a 403 Forbidden error, not a 404 Not Found... although when I try to go to http://www.jamesonrobert.com/digits/ to get a directory listing I get a 403 - you probably have directory indexing turned off (recomended - I do it on my sites), but if not, make sure the /digits directory is 755 (as all directories should be). This is the default, so if you simply created the directory and uploaded the gif file(s) it should be working...

PS - the GIF(s) should be at 644, BTW, if they are not already...

------------------
Justin Nelson
FutureQuest Support
[This message has been edited by Justin (edited 08-18-99)]

jameson
08-18-1999, 09:40 AM
The directory is 755 and the .gifs are 644, and It still doesn't work... directory listing is on.
------------------
Jameson Robert Gagnepain
http://www.jamesonrobert.com

jameson
08-18-1999, 09:49 AM
I just created a new directory at http://www.jamesonrobert.com/digit/
I moved all the digits in there and they work now.

THANKS! :)
------------------
Jameson Robert Gagnepain
http://www.jamesonrobert.com

Binky
08-18-1999, 04:24 PM
How do you turn directory indexing off? I've never heard of this.

Justin
08-18-1999, 04:50 PM
See the .htaccess tutorial:

http://www.aota.net/Tutorials/htaccess.shtml

Page 2 shows how to turn off directory indexing :)

------------------
Justin Nelson
FutureQuest Support

Mandi
08-18-1999, 07:10 PM
[nbsp]. . . and if ya really want to get fancy, you can use the same .htaccess to redirect to a custom 403 error page![nbsp][nbsp]Whoo-hoo, too much fun :D!

http://www.cgspouses.net/graphics/[nbsp][nbsp]<--no index page for this directory, so you'll see it in action