<VirtualHost *:80>
	ServerAdmin ${APACHE_SERVERADMIN}

	ServerName ${APACHE_SERVERNAME}
	ServerAlias ${APACHE_SERVERALIAS}

	DocumentRoot ${APACHE_DOCUMENTROOT}
	<Directory ${APACHE_DOCUMENTROOT}>
		Options Indexes FollowSymLinks
		AllowOverride All
		Require all granted
	</Directory>

        Alias /cgi-bin/ ${APACHE_CGI_DIR}
	<Directory /home/www/${APACHE_CGI_DIR}>
	   Options +ExecCGI
	   AddHandler cgi-script cgi pl
	</Directory>

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn


        ErrorLog ${APACHE_LOG_DIR}/${APACHE_SERVERNAME}_error.log
        CustomLog ${APACHE_LOG_DIR}/${APACHE_SERVERNAME}_access.log combined


</VirtualHost>