|?CACERT_LINE=|
|*if CACERT!=""|
|?CACERT_LINE=SSLCACertificateFile `CACERT`|
|*endif|
|?APACHE_USERDIR=UserDir public_html|
|*if HAVE_USERDIR_ACCESS="0"|
|?APACHE_USERDIR=|
|*endif|

<VirtualHost |IP|:|PORT_80|>
	ServerName shared.domain
	|APACHE_USERDIR|
	DocumentRoot |DOCROOT|
|*if APACHE_VER="2.0"|
	SuexecUserGroup |USER| |GROUP|
|*else|
	User |USER|
	Group |GROUP|
|*endif|
	CustomLog /var/log/httpd/homedir.log homedir
	CustomLog /var/log/httpd/access_log combined
</VirtualHost>

<VirtualHost |IP|:|PORT_443|>
	SSLEngine on
	SSLCertificateFile |CERT|
	SSLCertificateKeyFile |KEY|
	|CACERT_LINE|

	ServerName shared.domain
	|APACHE_USERDIR|
	DocumentRoot |DOCROOT|
|*if APACHE_VER="2.0"|
	SuexecUserGroup |USER| |GROUP|	
|*else|
	User |USER|
	Group |GROUP|
|*endif|
	CustomLog /var/log/httpd/homedir.log homedir
	CustomLog /var/log/httpd/access_log combined
</VirtualHost>
