Test an Apache config before restarting

apache2ctl configtest && service apache2 reload

# CentOS ships it as httpd; graceful finishes the requests already in flight
httpd -t && service httpd graceful