Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
- # Direct modifications to the Apache configuration file may be lost upon subsequent regeneration of the #
- # configuration file. To have modifications retained, all modifications must be checked into the #
- # configuration system by running: #
- # /usr/local/cpanel/bin/apache_conf_distiller --update #
- # To see if your changes will be conserved, regenerate the Apache configuration file by running: #
- # /usr/local/cpanel/bin/build_apache_conf #
- # and check the configuration file for your alterations. If your changes have been ignored, then they will #
- # need to be added directly to their respective template files. #
- # #
- # It is also possible to add custom directives to the various "Include" files loaded by this httpd.conf #
- # For detailed instructions on using Include files and the apache_conf_distiller with the new configuration #
- # system refer to the documentation at: http://www.cpanel.net/support/docs/ea/ea3/customdirectives.html #
- # #
- # This configuration file was built from the following templates: #
- # /var/cpanel/templates/apache2/main.default #
- # /var/cpanel/templates/apache2/main.local #
- # /var/cpanel/templates/apache2/vhost.default #
- # /var/cpanel/templates/apache2/vhost.local #
- # /var/cpanel/templates/apache2/ssl_vhost.default #
- # /var/cpanel/templates/apache2/ssl_vhost.local #
- # #
- # Templates with the '.local' extension will be preferred over templates with the '.default' extension. #
- # The only template updated by the apache_conf_distiller is main.default. #
- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
- Include "/usr/local/apache/conf/includes/pre_main_global.conf"
- Include "/usr/local/apache/conf/includes/pre_main_2.conf"
- LoadModule perl_module modules/mod_perl.so
- LoadModule bwlimited_module modules/mod_bwlimited.so
- LoadModule dav_svn_module modules/mod_dav_svn.so
- LoadModule authz_svn_module modules/mod_authz_svn.so
- Include "/usr/local/apache/conf/php.conf"
- Include "/usr/local/apache/conf/includes/errordocument.conf"
- Include "/usr/local/apache/conf/modsec2.conf"
- ErrorLog "logs/error_log"
- DefaultType text/plain
- ScriptAliasMatch ^/?controlpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
- ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
- ScriptAliasMatch ^/?kpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
- ScriptAliasMatch ^/?securecontrolpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
- ScriptAliasMatch ^/?securecpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
- ScriptAliasMatch ^/?securewhm/?$ /usr/local/cpanel/cgi-sys/swhmredirect.cgi
- ScriptAliasMatch ^/?webmail/?$ /usr/local/cpanel/cgi-sys/wredirect.cgi
- ScriptAliasMatch ^/?whm/?$ /usr/local/cpanel/cgi-sys/whmredirect.cgi
- RewriteEngine on
- AddType text/html .shtml
- Alias /akopia /usr/local/cpanel/3rdparty/interchange/share/akopia/
- Alias /bandwidth /usr/local/bandmin/htdocs/
- Alias /img-sys /usr/local/cpanel/img-sys/
- Alias /interchange /usr/local/cpanel/3rdparty/interchange/share/interchange/
- Alias /interchange-5 /usr/local/cpanel/3rdparty/interchange/share/interchange-5/
- Alias /java-sys /usr/local/cpanel/java-sys/
- Alias /mailman/archives /usr/local/cpanel/3rdparty/mailman/archives/public/
- Alias /pipermail /usr/local/cpanel/3rdparty/mailman/archives/public/
- Alias /sys_cpanel /usr/local/cpanel/sys_cpanel/
- ScriptAlias /cgi-sys /usr/local/cpanel/cgi-sys/
- ScriptAlias /mailman /usr/local/cpanel/3rdparty/mailman/cgi-bin/
- <Directory "/">
- Options All
- AllowOverride All
- </Directory>
- <Directory "/usr/local/apache/htdocs">
- Options Includes Indexes FollowSymLinks
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- <Files ~ "^error_log$">
- Order allow,deny
- Deny from all
- Satisfy All
- </Files>
- <FilesMatch "^\.ht">
- Order allow,deny
- Deny from all
- Satisfy All
- </FilesMatch>
- <IfModule log_config_module>
- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
- LogFormat "%h %l %u %t \"%r\" %>s %b" common
- CustomLog logs/access_log common
- <IfModule logio_module>
- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
- </IfModule>
- </IfModule>
- <IfModule alias_module>
- ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
- </IfModule>
- <Directory "/usr/local/apache/cgi-bin">
- AllowOverride None
- Options None
- Order allow,deny
- Allow from all
- </Directory>
- <IfModule mod_log_config.c>
- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
- LogFormat "%h %l %u %t \"%r\" %>s %b" common
- LogFormat "%{Referer}i -> %U" referer
- LogFormat "%{User-agent}i" agent
- CustomLog logs/access_log common
- </IfModule>
- <IfModule mime_module>
- TypesConfig conf/mime.types
- AddType application/x-compress .Z
- AddType application/x-gzip .gz .tgz
- </IfModule>
- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
- # Direct modifications to the Apache configuration file may be lost upon subsequent regeneration of the #
- # configuration file. To have modifications retained, all modifications must be checked into the #
- # configuration system by running: #
- # /usr/local/cpanel/bin/apache_conf_distiller --update #
- # To see if your changes will be conserved, regenerate the Apache configuration file by running: #
- # /usr/local/cpanel/bin/build_apache_conf #
- # and check the configuration file for your alterations. If your changes have been ignored, then they will #
- # need to be added directly to their respective template files. #
- # #
- # It is also possible to add custom directives to the various "Include" files loaded by this httpd.conf #
- # For detailed instructions on using Include files and the apache_conf_distiller with the new configuration #
- # system refer to the documentation at: http://www.cpanel.net/support/docs/ea/ea3/customdirectives.html #
- # #
- # This configuration file was built from the following templates: #
- # /var/cpanel/templates/apache2/main.default #
- # /var/cpanel/templates/apache2/main.local #
- # /var/cpanel/templates/apache2/vhost.default #
- # /var/cpanel/templates/apache2/vhost.local #
- # /var/cpanel/templates/apache2/ssl_vhost.default #
- # /var/cpanel/templates/apache2/ssl_vhost.local #
- # #
- # Templates with the '.local' extension will be preferred over templates with the '.default' extension. #
- # The only template updated by the apache_conf_distiller is main.default. #
- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
- PidFile logs/httpd.pid
- LockFile logs/accept.lock
- # Defined in /var/cpanel/cpanel.config: apache_port
- Listen 0.0.0.0:80
- User nobody
- Group nobody
- ExtendedStatus On
- ServerAdmin admin@hostname.com
- ServerName server.some_domain.net
- LogLevel warn
- # These can be set in WHM under 'Apache Global Configuration'
- Timeout 300
- ServerSignature On
- <IfModule prefork.c>
- </IfModule>
- RewriteEngine on
- RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
- RewriteLock /usr/local/apache/logs/rewrite_lock
- <IfModule !mod_ruid2.c>
- UserDir public_html
- </IfModule>
- <IfModule mod_ruid2.c>
- UserDir disabled
- </IfModule>
- # DirectoryIndex is set via the WHM -> Service Configuration -> Apache Setup -> DirectoryIndex Priority
- DirectoryIndex index.html.var index.htm index.html index.shtml index.xhtml index.wml index.perl index.pl index.plx index.ppl index.cgi index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml default.htm default.html home.htm index.php5 Default.html Default.htm home.html
- # SSLCipherSuite can be set in WHM under 'Apache Global Configuration'
- SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP:!kEDH
- SSLPassPhraseDialog builtin
- SSLSessionCache dbm:/usr/local/apache/logs/ssl_scache
- SSLSessionCacheTimeout 300
- SSLMutex file:/usr/local/apache/logs/ssl_mutex
- SSLRandomSeed startup builtin
- SSLRandomSeed connect builtin
- # Defined in /var/cpanel/cpanel.config: apache_ssl_port
- Listen 0.0.0.0:443
- AddType application/x-x509-ca-cert .crt
- AddType application/x-pkcs7-crl .crl
- AddHandler cgi-script .cgi .pl .plx .ppl .perl
- AddHandler server-parsed .shtml
- AddType text/html .shtml
- AddType application/x-tar .tgz
- AddType text/vnd.wap.wml .wml
- AddType image/vnd.wap.wbmp .wbmp
- AddType text/vnd.wap.wmlscript .wmls
- AddType application/vnd.wap.wmlc .wmlc
- AddType application/vnd.wap.wmlscriptc .wmlsc
- <Location /whm-server-status>
- SetHandler server-status
- Order deny,allow
- Deny from all
- Allow from 127.0.0.1
- </Location>
- # SUEXEC is supported
- Include "/usr/local/apache/conf/includes/pre_virtualhost_global.conf"
- Include "/usr/local/apache/conf/includes/pre_virtualhost_2.conf"
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- NameVirtualHost 111.22.33.146:80
- NameVirtualHost 111.22.33.153:443
- NameVirtualHost 111.22.33.153:80
- NameVirtualHost 111.22.33.160:443
- NameVirtualHost 111.22.33.160:80
- NameVirtualHost 127.0.0.1:80
- NameVirtualHost *
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.146:80>
- ServerName server.some_domain.net
- DocumentRoot /home/some_domain/public_html
- # DocumentRoot /usr/local/apache/htdocs
- ServerAdmin admin@hostname.com
- <IfModule mod_suphp.c>
- suPHP_UserGroup nobody nobody
- </IfModule>
- </VirtualHost>
- # Default vhost for unbound IPs
- <VirtualHost *>
- ServerName server.some_domain.net
- DocumentRoot /home/some_domain/public_html
- # DocumentRoot /usr/local/apache/htdocs
- ServerAdmin admin@hostname.com
- <IfModule mod_suphp.c>
- suPHP_UserGroup nobody nobody
- </IfModule>
- </VirtualHost>
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.146:80>
- ServerName domain2.org
- ServerAlias www.domain2.org
- DocumentRoot /home/domain2/public_html
- ServerAdmin webmaster@domain2.org
- UseCanonicalName Off
- CustomLog /usr/local/apache/domlogs/domain2.org combined
- CustomLog /usr/local/apache/domlogs/domain2.org-bytes_log "%{%s}t %I .\n%{%s}t %O ."
- ## User domain2 # Needed for Cpanel::ApacheConf
- UserDir enabled domain2
- <IfModule mod_suphp.c>
- suPHP_UserGroup domain2 domain2
- </IfModule>
- <IfModule !mod_disable_suexec.c>
- <IfModule !mod_ruid2.c>
- SuexecUserGroup domain2 domain2
- </IfModule>
- </IfModule>
- <IfModule mod_ruid2.c>
- RUidGid domain2 domain2
- </IfModule>
- ScriptAlias /cgi-bin/ /home/domain2/public_html/cgi-bin/
- # To customize this VirtualHost use an include file at the following location
- # Include "/usr/local/apache/conf/userdata/std/2/domain2/domain2.org/*.conf"
- </VirtualHost>
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.146:80>
- ServerName domain3.com
- ServerAlias www.domain3.com
- DocumentRoot /home/domain3/public_html
- ServerAdmin webmaster@domain3.com
- UseCanonicalName Off
- CustomLog /usr/local/apache/domlogs/domain3.com combined
- CustomLog /usr/local/apache/domlogs/domain3.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
- ## User domain3 # Needed for Cpanel::ApacheConf
- UserDir enabled domain3
- <IfModule mod_suphp.c>
- suPHP_UserGroup domain3 domain3
- </IfModule>
- <IfModule !mod_disable_suexec.c>
- <IfModule !mod_ruid2.c>
- SuexecUserGroup domain3 domain3
- </IfModule>
- </IfModule>
- <IfModule mod_ruid2.c>
- RUidGid domain3 domain3
- </IfModule>
- ScriptAlias /cgi-bin/ /home/domain3/public_html/cgi-bin/
- # To customize this VirtualHost use an include file at the following location
- # Include "/usr/local/apache/conf/userdata/std/2/domain3/domain3.com/*.conf"
- </VirtualHost>
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.146:80>
- ServerName domain4.com
- ServerAlias www.domain4.com
- DocumentRoot /home/domain4/public_html
- ServerAdmin webmaster@domain4.com
- UseCanonicalName Off
- CustomLog /usr/local/apache/domlogs/domain4.com combined
- CustomLog /usr/local/apache/domlogs/domain4.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
- ## User domain4 # Needed for Cpanel::ApacheConf
- UserDir enabled domain4
- <IfModule mod_suphp.c>
- suPHP_UserGroup domain4 domain4
- </IfModule>
- <IfModule !mod_disable_suexec.c>
- <IfModule !mod_ruid2.c>
- SuexecUserGroup domain4 domain4
- </IfModule>
- </IfModule>
- <IfModule mod_ruid2.c>
- RUidGid domain4 domain4
- </IfModule>
- ScriptAlias /cgi-bin/ /home/domain4/public_html/cgi-bin/
- # To customize this VirtualHost use an include file at the following location
- # Include "/usr/local/apache/conf/userdata/std/2/domain4/domain4.com/*.conf"
- </VirtualHost>
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.146:80>
- ServerName domain5.fm
- ServerAlias www.domain5.fm
- DocumentRoot /home/domain5/public_html
- ServerAdmin webmaster@domain5.fm
- UseCanonicalName Off
- CustomLog /usr/local/apache/domlogs/domain5.fm combined
- CustomLog /usr/local/apache/domlogs/domain5.fm-bytes_log "%{%s}t %I .\n%{%s}t %O ."
- ## User domain5 # Needed for Cpanel::ApacheConf
- UserDir enabled domain5
- <IfModule mod_suphp.c>
- suPHP_UserGroup domain5 domain5
- </IfModule>
- <IfModule !mod_disable_suexec.c>
- <IfModule !mod_ruid2.c>
- SuexecUserGroup domain5 domain5
- </IfModule>
- </IfModule>
- <IfModule mod_ruid2.c>
- RUidGid domain5 domain5
- </IfModule>
- ScriptAlias /cgi-bin/ /home/domain5/public_html/cgi-bin/
- # To customize this VirtualHost use an include file at the following location
- # Include "/usr/local/apache/conf/userdata/std/2/domain5/domain5.fm/*.conf"
- </VirtualHost>
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.146:80>
- ServerName domain6.com
- ServerAlias www.domain6.com
- DocumentRoot /home/domain6/public_html
- ServerAdmin webmaster@domain6.com
- UseCanonicalName Off
- CustomLog /usr/local/apache/domlogs/domain6.com combined
- CustomLog /usr/local/apache/domlogs/domain6.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
- ## User domain6 # Needed for Cpanel::ApacheConf
- UserDir enabled domain6
- <IfModule mod_suphp.c>
- suPHP_UserGroup domain6 domain6
- </IfModule>
- <IfModule !mod_disable_suexec.c>
- <IfModule !mod_ruid2.c>
- SuexecUserGroup domain6 domain6
- </IfModule>
- </IfModule>
- <IfModule mod_ruid2.c>
- RUidGid domain6 domain6
- </IfModule>
- ScriptAlias /cgi-bin/ /home/domain6/public_html/cgi-bin/
- # To customize this VirtualHost use an include file at the following location
- # Include "/usr/local/apache/conf/userdata/std/2/domain6/domain6.com/*.conf"
- </VirtualHost>
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.146:80>
- ServerName domain7.net
- ServerAlias www.domain7.net
- DocumentRoot /home/domain7/public_html
- ServerAdmin webmaster@domain7.net
- UseCanonicalName Off
- CustomLog /usr/local/apache/domlogs/domain7.net combined
- CustomLog /usr/local/apache/domlogs/domain7.net-bytes_log "%{%s}t %I .\n%{%s}t %O ."
- ## User domain7 # Needed for Cpanel::ApacheConf
- UserDir enabled domain7
- <IfModule mod_suphp.c>
- suPHP_UserGroup domain7 domain7
- </IfModule>
- <IfModule !mod_disable_suexec.c>
- <IfModule !mod_ruid2.c>
- SuexecUserGroup domain7 domain7
- </IfModule>
- </IfModule>
- <IfModule mod_ruid2.c>
- RUidGid domain7 domain7
- </IfModule>
- ScriptAlias /cgi-bin/ /home/domain7/public_html/cgi-bin/
- # To customize this VirtualHost use an include file at the following location
- # Include "/usr/local/apache/conf/userdata/std/2/domain7/domain7.net/*.conf"
- </VirtualHost>
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.146:80>
- ServerName domain8.com
- ServerAlias www.domain8.com
- DocumentRoot /home/domain8/public_html
- ServerAdmin webmaster@domain8.com
- UseCanonicalName Off
- CustomLog /usr/local/apache/domlogs/domain8.com combined
- CustomLog /usr/local/apache/domlogs/domain8.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
- ## User domain8 # Needed for Cpanel::ApacheConf
- UserDir enabled domain8
- <IfModule mod_suphp.c>
- suPHP_UserGroup domain8 domain8
- </IfModule>
- <IfModule !mod_disable_suexec.c>
- <IfModule !mod_ruid2.c>
- SuexecUserGroup domain8 domain8
- </IfModule>
- </IfModule>
- <IfModule mod_ruid2.c>
- RUidGid domain8 domain8
- </IfModule>
- ScriptAlias /cgi-bin/ /home/domain8/public_html/cgi-bin/
- # To customize this VirtualHost use an include file at the following location
- # Include "/usr/local/apache/conf/userdata/std/2/domain8/domain8.com/*.conf"
- </VirtualHost>
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.146:80>
- ServerName domain9.net
- ServerAlias www.domain9.net
- DocumentRoot /home/domain9/public_html
- ServerAdmin webmaster@domain9.net
- UseCanonicalName Off
- CustomLog /usr/local/apache/domlogs/domain9.net combined
- CustomLog /usr/local/apache/domlogs/domain9.net-bytes_log "%{%s}t %I .\n%{%s}t %O ."
- ## User domain9 # Needed for Cpanel::ApacheConf
- UserDir enabled domain9
- <IfModule mod_suphp.c>
- suPHP_UserGroup domain9 domain9
- </IfModule>
- <IfModule !mod_disable_suexec.c>
- <IfModule !mod_ruid2.c>
- SuexecUserGroup domain9 domain9
- </IfModule>
- </IfModule>
- <IfModule mod_ruid2.c>
- RUidGid domain9 domain9
- </IfModule>
- ScriptAlias /cgi-bin/ /home/domain9/public_html/cgi-bin/
- # To customize this VirtualHost use an include file at the following location
- # Include "/usr/local/apache/conf/userdata/std/2/domain9/domain9.net/*.conf"
- </VirtualHost>
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.146:80>
- ServerName domain10.org
- ServerAlias www.domain10.org
- DocumentRoot /home/cssorg/public_html
- ServerAdmin webmaster@domain10.org
- UseCanonicalName Off
- CustomLog /usr/local/apache/domlogs/domain10.org combined
- CustomLog /usr/local/apache/domlogs/domain10.org-bytes_log "%{%s}t %I .\n%{%s}t %O ."
- ## User domain10 # Needed for Cpanel::ApacheConf
- UserDir enabled domain10
- <IfModule mod_suphp.c>
- suPHP_UserGroup domain10 domain10
- </IfModule>
- <IfModule !mod_disable_suexec.c>
- <IfModule !mod_ruid2.c>
- SuexecUserGroup domain10 domain10
- </IfModule>
- </IfModule>
- <IfModule mod_ruid2.c>
- RUidGid domain10 domain10
- </IfModule>
- ScriptAlias /cgi-bin/ /home/domain10/public_html/cgi-bin/
- Include "/usr/local/apache/conf/userdata/std/2/domain10/domain10.org/*.conf"
- </VirtualHost>
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.146:80>
- ServerName domain11.net
- ServerAlias www.domain11.net
- DocumentRoot /home/domain11/public_html
- ServerAdmin webmaster@domain11.net
- UseCanonicalName Off
- CustomLog /usr/local/apache/domlogs/domain11.net combined
- CustomLog /usr/local/apache/domlogs/domain11.net-bytes_log "%{%s}t %I .\n%{%s}t %O ."
- ## User domain11 # Needed for Cpanel::ApacheConf
- UserDir enabled domain11
- <IfModule mod_suphp.c>
- suPHP_UserGroup domain11 domain11
- </IfModule>
- <IfModule !mod_disable_suexec.c>
- <IfModule !mod_ruid2.c>
- SuexecUserGroup domain11 domain11
- </IfModule>
- </IfModule>
- <IfModule mod_ruid2.c>
- RUidGid domain11 domain11
- </IfModule>
- ScriptAlias /cgi-bin/ /home/domain11/public_html/cgi-bin/
- # To customize this VirtualHost use an include file at the following location
- # Include "/usr/local/apache/conf/userdata/std/2/domain11/domain11.net/*.conf"
- </VirtualHost>
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.146:80>
- ServerName domain12.net
- ServerAlias www.domain12.net
- DocumentRoot /home/domain12/public_html
- ServerAdmin webmaster@domain12.net
- UseCanonicalName Off
- CustomLog /usr/local/apache/domlogs/domain12.net combined
- CustomLog /usr/local/apache/domlogs/domain12.net-bytes_log "%{%s}t %I .\n%{%s}t %O ."
- ## User domain12 # Needed for Cpanel::ApacheConf
- UserDir enabled domain12
- <IfModule mod_suphp.c>
- suPHP_UserGroup domain12 domain12
- </IfModule>
- <IfModule !mod_disable_suexec.c>
- <IfModule !mod_ruid2.c>
- SuexecUserGroup domain12 domain12
- </IfModule>
- </IfModule>
- <IfModule mod_ruid2.c>
- RUidGid domain12 domain12
- </IfModule>
- ScriptAlias /cgi-bin/ /home/domain12/public_html/cgi-bin/
- # To customize this VirtualHost use an include file at the following location
- # Include "/usr/local/apache/conf/userdata/std/2/domain12/domain12.net/*.conf"
- </VirtualHost>
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- # SSL
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
- <VirtualHost 111.22.33.160:443>
- ServerName some_domain.com
- ServerAlias www.some_domain.com
- DocumentRoot /home/some_domain/public_html
- ServerAdmin webmaster@some_domain.com
- UseCanonicalName off
- CustomLog /usr/local/apache/domlogs/some_domain.com combined
- CustomLog /usr/local/apache/domlogs/some_domain.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
- ## User some_domain # Needed for Cpanel::ApacheConf
- UserDir enabled some_domain
- <IfModule mod_suphp.c>
- suPHP_UserGroup some_domain some_domain
- </IfModule>
- <IfModule !mod_disable_suexec.c>
- <IfModule !mod_ruid2.c>
- SuexecUserGroup some_domain some_domain
- </IfModule>
- </IfModule>
- <IfModule mod_ruid2.c>
- RUidGid some_domain some_domain
- </IfModule>
- ScriptAlias /cgi-bin/ /home/some_domain/public_html/cgi-bin/
- SSLEngine on
- SSLCertificateFile /etc/ssl/certs/some_domain.com.crt
- SSLCertificateKeyFile /etc/ssl/private/some_domain.com.key
- SSLCACertificateFile /etc/ssl/certs/some_domain.com.cabundle
- CustomLog /usr/local/apache/domlogs/some_domain.com-ssl_log combined
- SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
- <Directory "/home/some_domain/public_html/cgi-bin">
- SSLOptions +StdEnvVars
- </Directory>
- # To customize this VirtualHost use an include file at the following location
- # Include "/usr/local/apache/conf/userdata/ssl/2/some_domain/some_domain.com/*.conf"
- </VirtualHost>
- # CPANEL/WHM/WEBMAIL/WEBDISK/AUTOCONFIG PROXY SUBDOMAINS
- <VirtualHost 111.22.33.146:80 111.22.33.153:443 111.22.33.153:80 111.22.33.160:443 111.22.33.160:80 127.0.0.1:80 *>
- ServerName server.some_domain.net
- # ServerAlias cpanel.* whm.* webmail.* webdisk.* autodiscover.* autoconfig.*
- DocumentRoot /home/some_domain/public_html
- # DocumentRoot /usr/local/apache/htdocs
- ServerAdmin admin@hostname.com
- <IfModule mod_suphp.c>
- suPHP_UserGroup nobody nobody
- </IfModule>
- <IfModule mod_security2.c>
- SecRuleEngine Off
- </IfModule>
- RewriteEngine On
- <IfModule core.c>
- SSLProxyEngine On
- </IfModule>
- # RewriteCond %{HTTP_HOST} ^cpanel\.
- # RewriteCond %{HTTPS} on
- # RewriteRule ^/(.*) https://127.0.0.1:2083/$1 [P]
- # RewriteCond %{HTTP_HOST} ^webmail\.
- # RewriteCond %{HTTPS} on
- # RewriteRule ^/(.*) https://127.0.0.1:2096/$1 [P]
- # RewriteCond %{HTTP_HOST} ^whm\.
- # RewriteCond %{HTTPS} on
- # RewriteRule ^/(.*) https://127.0.0.1:2087/$1 [P]
- # RewriteCond %{HTTP_HOST} ^webdisk\.
- # RewriteCond %{HTTPS} on
- # RewriteRule ^/(.*) https://127.0.0.1:2078/$1 [P]
- # RewriteCond %{HTTP_HOST} ^cpanel\.
- # RewriteRule ^/(.*) http://127.0.0.1:2082/$1 [P]
- # RewriteCond %{HTTP_HOST} ^webmail\.
- # RewriteRule ^/(.*) http://127.0.0.1:2095/$1 [P]
- # RewriteCond %{HTTP_HOST} ^whm\.
- # RewriteRule ^/(.*) http://127.0.0.1:2086/$1 [P]
- # RewriteCond %{HTTP_HOST} ^webdisk\.
- # RewriteRule ^/(.*) http://127.0.0.1:2077/$1 [P]
- #
- # RewriteCond %{HTTP_HOST} ^autodiscover\.
- # RewriteRule ^[^?]*(\?.*)? http://127.0.0.1/cgi-sys/autodiscover.cgi [P]
- # RewriteCond %{HTTP_HOST} ^autoconfig\.
- # RewriteRule ^[^?]*(\?.*)? http://127.0.0.1/cgi-sys/autoconfig.cgi [P]
- UseCanonicalName Off
- </VirtualHost>
- Include "/usr/local/apache/conf/includes/post_virtualhost_global.conf"
- Include "/usr/local/apache/conf/includes/post_virtualhost_2.conf"
- # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement