httpd.apache.org/docs/trunk/mod/mod_rewrite.html#rewriterule: Per-directory Rewrites: * The If blocks follow the rules of the directory context.
My fault, not understanding the docu.