Fix httpd restarts and update ALLOWED_HOSTS