cat << EOM > /etc/httpd/conf.d/${DOMAIN_NAME}.conf <VirtualHost *:80> ServerName ${DOMAIN_NAME} DocumentRoot ${HTML_PATH}/public_html <Directory "${HTML_PATH}/public_html"> order allow,deny allow from all Allowoverride all </Directory> </VirtualHost> EOM