2018-04-02 22:26:17 +00:00
|
|
|
#____________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
|
|
|
|
|
2018-05-24 23:46:43 +00:00
|
|
|
ProxyPassMatch ^(.*\.php)$ fcgi://127.0.0.1:9000{homedir}/$1
|
2018-05-22 15:01:06 +00:00
|
|
|
ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir={homedir}:/usr/share/php:/usr/share/pear; \n upload_tmp_dir={homedir}/phptmpdir; \n session.save_path={homedir}/phptmpdir;"
|
2018-04-02 22:26:17 +00:00
|
|
|
|
2019-01-28 18:22:37 +00:00
|
|
|
<FilesMatch "access_log|error_log">
|
|
|
|
Deny from All
|
|
|
|
</FilesMatch>
|
|
|
|
|
2018-04-02 22:26:17 +00:00
|
|
|
{customsubdomainhttp}
|
|
|
|
|
|
|
|
</VirtualHost>
|