
vincent at gryzor
Sep 26, 2009, 12:41 PM
Post #1 of 1
(244 views)
Permalink
|
|
[PATCH] Log inconsistency on rewrite [F]
|
|
Greetings, A stupid config example to make my point : Loglevel debug RewriteEngine On RewriteRule .* - [F] This denies all requests, and logs nothing at all in error log to explain that behavior. This is contrary to a common Apache behavior about all non 2XX answers triggering an explanation message in error log. For instance, "deny from all" does. It means people need to set RewriteLog stuff to even find out that Rewrite was the source of the 403, which is IMHO bad. I am therefore submitting this trivial patch against trunk's rewrite.c : all it does is to add an error log entry when rewrite triggers a [F] rule. I hope someone will kindly apply it, or please bash me :) Regards, gryzor
|