Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am getting 404 error while the file exist. I gave the file (chmod 755) still the file does not show up. Strange part it only happens to few files. I am certain the file exists on the directory and PHP file have no script errors. My .htaccess file says

ErrorDocument 404

This only happens on my Google Chrome browser and it works fine on Safari.

share|improve this question

If it only happens in some browsers but not in others, have you tried clearing the browser cache? ErrorDocument with an absolute URL will send a redirect, which might be cached in your browser.

share|improve this answer

Do you have access to your servers log files? Can you check if your browser actually made a request, and if your server sent out a 404 error? This should be the first thing to check, to decide if it was a server-side error, or just a problem with the browser/proxy caching pages, and serving a cached 404 error page.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.