Modrewrite for connect