.rewrite ignore exception for assets