mod_rewrite: could not init rewrite log lock in child
I found this strange error in my freebsd Apache error log: ”mod_rewrite: could not init rewrite log lock in child”. The same error was logged every second and was filling up my disk with junk. This should not happen because I have a fresh installation of Apache from the Freebsd ports tree and no strange configuration.
After some google-time I found the ”RewriteLog directive” at the mod_rewrite page. It says: ”To disable logging either remove or comment out the RewriteLog directive or use RewriteLogLevel 0! ”
I set ”RewriteLogLevel 0″ in my apache conf-file and restarted apache. The problem was now gone! I do not know which file or directory that mod_rewrite tries to write to however i am pleased to know that the problem was solved.
