Check rewrite rule, improve output for no locales