fixed another xdebug issue and added the rewrite needed to apache