Hmmm, looks like I missed the bit where you talked about the permissions - sorry.
For the files, I would suggest first permissions of 644. Having them set as executable is actually not a good idea, although in this case it will most likely change nothing. What entries are there in the apache logs? In particular you should see some entries in the error log file which are relevant to the accessing of that file. Are you able to add other files to the directory then access them without problems? What happens when you give the file a different name, such as snapshot.gif, regardless of the fact that its a png file. What happens when you telnet to port 80 (telnet localhost 80) then type "GET /<filename>" There you should get masses of data back. Markus On Wednesday 13 July 2005 17:29, None Blank wrote: > yes as I ahve said I have 2 files in the same dir. > They both have been chmoded 755 and one will work one > will not. Both files have the same owner but one was > added about a week after another. > > --- Markus Mayer <[EMAIL PROTECTED]> wrote: > > Most likely you're looking at a permissions problem. > > Look at the file > > permissions for the files in the directory to be > > sure the apache process can > > access them. > > > > Markus > > > > On Wednesday 13 July 2005 14:59, None Blank wrote: > > > Hi Im having the following 403 forbidden error > > > "[Wed Jul 13 08:39:38 2005] [error] [client > > > > 127.0.0.1] > > > > > (13)Permission denied: access to > > > > /porn/Screenshot.png > > > > > denied" > > > > > > Here is what Im using apache 2.0.52 on a fedora > > > > core 3 > > > > > install and selinux. Everything is defaults and > > > > Ive > > > > > searched every how-to I can find for 2 months now. > > > > > > My permissions are right im trying to access this > > > > file > > > > > Screenshot.png it is in the sam directory and has > > > > the > > > > > same permissons as screenshot.JPG no differences > > > > both > > > > > files have the same owner. I can access > > > screenshot.JPG without a problem. I just simply > > > > mv > > > > > the file into the directory gave it a chmod 755 > > > > and it > > > > > worked fine. I ahve never had this problem before > > > > I > > > > > have always used apache 1.3x though and not > > > > selinux. > > > > > Was upgrading to 2.x my problem? Thanks for any > > > > help > > > > > and ideas. > > --------------------------------------------------------------------- > > > The official User-To-User support forum of the > > Apache HTTP Server Project. > > See <URL:http://httpd.apache.org/userslist.html> for > > more info. > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > " from the digest: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]