Supports url rewriting