Remove mercurial and add in ProxyPreserveHost directive into custom apache2 template