ErrorDocument without line in error_log
Posted: Tue Oct 10, 2006 2:32 am
Greetings.
I'm using ErrorDocument to dynamically create the content.
Each time user requests something that is missed, it's automatically created, saved to disk in appropriate place (so next time 404 do not even appear) and given to user.
Php script that process request do change http reply status as well to 200 via
The problem is that i can't prevent lines in error_log. Every time user's request come - even if it outputs 200 OK new line appears in error_log.
Can anyone suggest me how to solve this?
I'm using ErrorDocument to dynamically create the content.
Code: Select all
ErrorDocument 404 /i/404.phpPhp script that process request do change http reply status as well to 200 via
Code: Select all
header('HTTP/1.0 200 OK');Can anyone suggest me how to solve this?