CentOS lacks a tool for enabling and disabling HTTPd modules, configuration and vhosts in a scripted way. Follow Debian example and implement it: - a2enmod - a2dismod - a2enconf - a2disconf - a2ensite - a2dissite