EHCP-Force-Edition/ehcp/apache_subdomain_template

22 lines
874 B
Text
Executable file

#____________start of {subdomain}.{domainname}__paneluser:{panelusername}_reseller:{reseller}_id:{id}____________
# this file used in Easy Hosting Control Panel (ehcp), www.ehcp.net
<VirtualHost *>
ServerName {subdomain}.{domainname}
ServerAlias www.{subdomain}.{domainname}
UseCanonicalName Off
DocumentRoot {homedir}
LogFormat "%v:%p %h %l %u %t \"%{Host}i\" \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined_host
CustomLog {homedir}/logs/access_log combined
CustomLog /var/log/apache2/access_log_multi.log vhost_combined_host
php_admin_value open_basedir "{homedir}:/usr/share/php:/usr/share/pear"
php_admin_value upload_tmp_dir {homedir}/phptmpdir
php_admin_value session.save_path 0;660;{homedir}/phptmpdir
php_admin_value disable_functions "exec,passthru,shell_exec,system,proc_open,popen"
{customsubdomainhttp}
</VirtualHost>