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?

link|improve this question

80% accept rate
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
feedback

1 Answer

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

http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewriteloglevel

Example

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).

link|improve this answer
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
feedback

Your Answer

 
or
required, but never shown

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