check rewrite and headers modules