2018-04-02 22:26:17 +00:00
|
|
|
# START OF CUSTOM GLOBAL PANEL URLS Template
|
|
|
|
<VirtualHost *>
|
|
|
|
ServerName {domainname}
|
|
|
|
ServerAlias {domainname_alias}
|
|
|
|
|
|
|
|
DocumentRoot {ehcpdir}
|
|
|
|
|
|
|
|
LogFormat "%v:%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
|
|
|
|
LogFormat "%v:%p %h %l %u %t \"%{Host}i\" \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined_host
|
|
|
|
CustomLog /var/log/apache2/access_log_multi.log vhost_combined_host
|
|
|
|
|
2018-05-24 23:11:59 +00:00
|
|
|
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9001{ehcpdir}/$1
|
2018-05-22 01:18:01 +00:00
|
|
|
ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "open_basedir={ehcpdir}:/usr/share/php:/usr/share/pear"
|
2018-04-02 22:26:17 +00:00
|
|
|
|
|
|
|
<Files ~ "\.conf$">
|
|
|
|
Order allow,deny
|
|
|
|
Deny from all
|
|
|
|
</Files>
|
|
|
|
|
|
|
|
<Files ~ "\.txt$">
|
|
|
|
Order allow,deny
|
|
|
|
Deny from all
|
|
|
|
</Files>
|
|
|
|
|
|
|
|
<Files ~ "\.log$">
|
|
|
|
Order allow,deny
|
|
|
|
Deny from all
|
|
|
|
</Files>
|
|
|
|
|
|
|
|
<Files ~ "\.sh$">
|
|
|
|
Order allow,deny
|
|
|
|
Deny from all
|
|
|
|
</Files>
|
|
|
|
|
|
|
|
</VirtualHost>
|
|
|
|
# END OF CUSTOM GLOBAL PANEL URLS Template
|