Fixed rewrite rule for ErrorDocument