views:

19

answers:

0

I'm trying to clean up our ErrorLog to eliminate entries stating "File does not exist" when the corresponding access log entry shows 301 (redirect).

The message is correct in that the requested file doesn't exist, but our custom ErrorDocument is redirecting the user to the correct location via a 301 / Redirect code.

Recently, we started using the same functionality to assist with landing pages (ie www.mysite.com/app1 => www.mysite.com/software/download.php?id=000). As a result, our error log is not filling with the "File does not exist" message, even though it's really not an error.

LogLevel was at 'warn'; changing to 'error' didn't make a difference. Just would like to only see "file not exist" when the access log reports a 404 for the same transaction.