NXP-15463: allow skipping URL rewrite and redirect on error