My mod_rewrite rules are working fine but sometimes similar errors showing up in my error logs:

File does not exist: /var/www/examplesite/exampleurl

Of course the requested directory doesn't exists, page properly served but my error logs growing.

What can cause these errors?

bumped to the homepage by Community 2 days ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

  • Can we assume this is from the Aache ErrorLog? – Joshua Hoblitt Aug 23 '11 at 7:05
  • @Joshua Hoblitt Yes, this is from Apache's error logs. mod_rewrite is working fine (e.g. when i open examplesite.com/exampleurl, i got the correct page as a result). – fabrik Aug 23 '11 at 8:03

You should probably start by changing the loglevel for your rewrite engine:



RewriteLogLevel 3

This should help diagnose if there is an issue with the rewrite rules or perhaps some other parameters for the client requests(perhaps they have incorrect Host parameters, etc).

  • Thank you for your response. I've modified my conf but nothing changed, all i got is File does not exist: /var/www/examplesite/exampleurl – fabrik Aug 29 '11 at 10:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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