[Sitting November 19 13:17:04 2011] [error] [client] File does not exist: /var/www/vhosts/x.com/httpdocs/scores.asp

[Sitting November 19 13:17:54 2011] [error] [client] File does not exist: /var/www/vhosts/x.com/httpdocs/reqewrqwe.awwe

Solved thanks

Produce a [cde] and return a clear file in reaction towards the Web addresses you want to remove in the logs:


Just in case you do not have any pattern for that Web addresses and you need to prevent for those non-existing files, give a [cde]:

RewriteRule scores\.asp$ - [L]

Or simply having a more current apache:


after which RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^.*$ index.php [L] giving a 404 status response:

FallbackResource /index.php

The index.php file must is available, otherwise (for that <?php header("Status: 404 Not Found", 1, 404); ) this could create a never-ending loop.

Alternatively this may work (and will not require index.php file):


See: Apache2: how to avoid logging certain missing files into error.log