I noticed today that errors about invalid flags on rewrite rules do not have APLOGNO() on them. cmd_rewriterule calls cmd_rewriterule_setflag and if a string is returned, prefixes "RewriteRule: " and returns that as an error.
Should these have APLOGNO()? They are errors, but they don't use ap_log_rerror. If those have APLOGNO() added, should each possible flag error have a different one or are all flag errors the same and the code should be added before the "RewriteRule:" prefix? - Y