Clean up vhost status php code