redo rewrite rules and reverse proxy settings so that apache can use reverse proxy connection pool