Use apache class to manage vhost