ServerName ${DOM}
DocumentRoot ${HOME}/public_html

ErrorLog /var/log/virtualmin/${DOM}_error_log
CustomLog /var/log/virtualmin/${DOM}_access_log combined

ScriptAlias /cgi-bin/ ${HOME}/cgi-bin/

DirectoryIndex index.php index.php4 index.php5 index.html index.htm

<Directory ${HOME}/public_html>
	Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch 
	allow from all
	AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>

<Directory ${HOME}/cgi-bin>
	allow from all
	AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>

