Fixed config for url rewriting