Forum Moderators: open

Message Too Old, No Replies

My forum members cannot view an image in public_html

         

webustaad

1:45 pm on Nov 27, 2004 (gmt 0)

10+ Year Member



Dear webmasters!

I am having a problem while showing a file publicly on my forum. The file is uploaded in my domain name/public_html/images/misc/file1.gif. I can access it while I am in Cpanel but when I give this link my domain name/public_html/images/misc/file1.gif to someone else, they cannot read it. I have checked the permissions which is Read only to user, group and World. There is another file located in the same misc folder and everyone can access it. How come one file is acessed by everyone and other is not while both are in same place and have same permissions. I have also tried the link without writing public_html ( my domain name/images/misc.file1.gif)but nothing happened. Is it the file size which is making problem? Just to let you know that everyone else gets a 404 error while trying to access the file(image).

Can anyone help me out?

encyclo

1:55 pm on Nov 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You shouldn't use the "public_html" within the link: just the example.com/images/misc/filename.gif . However, another important thing to check is capitalization: file names are case-sensitive on Unix/Linux servers, so File1.gif is not the same as file1.gif. Make sure everything in in lower case.

webustaad

3:05 pm on Nov 27, 2004 (gmt 0)

10+ Year Member



Thanks for your reply. The file is in lower case but it still not showing up. I have tried more than 10 times.

webustaad

3:36 pm on Nov 27, 2004 (gmt 0)

10+ Year Member



When I am in the Cpanel the link in my browser is

[www....] my domain name:2082/frontend/x/files/showfile.html?dir=/home/language/public_html/images/misc&file=file1.gif

Now if I give the link [www....] my domain name/images/misc/file1.gif to someone else, he cant access the file. The file size is 90 K and the dimensions are 706 x 1292.