HEX
Server: Apache
System: Linux server.y-p01.co.uk 3.10.0-1160.144.1.el7.tuxcare.els3.x86_64 #1 SMP Fri Mar 6 13:52:53 UTC 2026 x86_64
User: calderca (1008)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //usr/local/apache.ea3/etc/httpd.conf,v
head	1.13;
access;
symbols;
locks
	root:1.13; strict;
comment	@# @;


1.13
date	2017.02.22.14.10.14;	author root;	state Exp;
branches;
next	1.12;

1.12
date	2017.02.22.13.45.11;	author root;	state Exp;
branches;
next	1.11;

1.11
date	2017.02.22.13.45.07;	author root;	state Exp;
branches;
next	1.10;

1.10
date	2017.02.22.13.36.41;	author root;	state Exp;
branches;
next	1.9;

1.9
date	2017.02.22.13.36.41;	author root;	state Exp;
branches;
next	1.8;

1.8
date	2017.02.22.12.43.48;	author root;	state Exp;
branches;
next	1.7;

1.7
date	2016.02.24.20.16.57;	author root;	state Exp;
branches;
next	1.6;

1.6
date	2016.02.24.20.16.55;	author root;	state Exp;
branches;
next	1.5;

1.5
date	2016.02.24.20.16.24;	author root;	state Exp;
branches;
next	1.4;

1.4
date	2016.02.24.20.15.10;	author root;	state Exp;
branches;
next	1.3;

1.3
date	2016.02.24.20.15.10;	author root;	state Exp;
branches;
next	1.2;

1.2
date	2016.02.24.20.11.35;	author root;	state Exp;
branches;
next	1.1;

1.1
date	2016.02.24.20.08.55;	author root;	state Exp;
branches;
next	;


desc
@@


1.13
log
@"Modified by /usr/local/cpanel/setupapache Pre setupapache"
@
text
@# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#   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: https://go.cpanel.net/customdirectives                                #
#                                                                                                               #
#   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 bwlimited_module modules/mod_bwlimited.so




Include "/usr/local/apache/conf/php.conf"
Include "/usr/local/apache/conf/includes/errordocument.conf"
Include "/usr/local/apache/conf/includes/account_suspensions.conf"
Include "/usr/local/apache/conf/modsec2.conf"


ErrorLog "logs/error_log"
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
ScriptAliasMatch ^/Autodiscover/Autodiscover.xml /usr/local/cpanel/cgi-sys/autodiscover.cgi
ScriptAliasMatch ^/autodiscover/autodiscover.xml /usr/local/cpanel/cgi-sys/autodiscover.cgi

RewriteEngine on
AddType text/html .shtml

Alias /bandwidth /usr/local/bandmin/htdocs/
Alias /img-sys /usr/local/cpanel/img-sys/
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 "/">
    AllowOverride All
    Options ExecCGI FollowSymLinks IncludesNOEXEC Indexes SymLinksIfOwnerMatch
</Directory>

<Directory "/usr/local/apache/htdocs">
    Options All
    AllowOverride None
    Require all granted
</Directory>

<Files ~ "^error_log$">
    Order allow,deny
    Deny from all

    Satisfy All
</Files>

<Files ".ht*">
    Require all denied
</Files>

<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 All
    Require all granted
</Directory>

<IfModule mime_module>
    TypesConfig conf/mime.types
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz

</IfModule>

<IfModule prefork.c>
    Mutex default mpm-accept

</IfModule>

<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 itk.c>
    Mutex default mpm-accept

</IfModule>

<IfModule worker.c>
    Mutex default mpm-accept

</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: https://go.cpanel.net/customdirectives                                #
#                                                                                                               #
#   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 /usr/local/apache/logs/httpd.pid
Listen 0.0.0.0:80
Listen [::]:80
User nobody
Group nobody
ExtendedStatus On
ServerAdmin root@@server.localhost.com
ServerName server.localhost.com
LogLevel warn

# These can be set in WHM under 'Apache Global Configuration'
Timeout 300
TraceEnable Off
ServerSignature Off
ServerTokens ProductOnly
FileETag None
StartServers 5
<IfModule prefork.c>
MinSpareServers 5
MaxSpareServers 10
</IfModule>
ServerLimit 256
MaxRequestWorkers 150
MaxConnectionsPerChild 10000
KeepAlive Off
KeepAliveTimeout 5
MaxKeepAliveRequests 100

RewriteEngine on
RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
Mutex file:/usr/local/apache/logs rewrite-map

# Set UserDir directory for all virtual hosts, except..
UserDir public_html
# when the following two modules are loaded
<IfModule mod_ruid2.c>
UserDir disabled
</IfModule>
<IfModule mpm_itk.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 ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA
SSLProtocol All -SSLv2 -SSLv3
SSLPassPhraseDialog  builtin

SSLUseStapling on
SSLStaplingCache shmcb:/usr/local/apache/logs/stapling_cache_shmcb(256000)
SSLStaplingReturnResponderErrors off
SSLStaplingErrorCacheTimeout 60
SSLSessionCache shmcb:/usr/local/apache/logs/ssl_gcache_data_shmcb(1024000)

SSLSessionCacheTimeout  300
Mutex                   file:/usr/local/apache/logs ssl-cache
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin



    Listen 0.0.0.0:443
    Listen [::]: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 ::1
    
</Location>



# SUEXEC is supported

Include "/usr/local/apache/conf/includes/account_suspensions.conf"
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.

# Default vhost for unbound IPs

<VirtualHost *>
    ServerName server.localhost.com
    DocumentRoot /usr/local/apache/htdocs
    ServerAdmin user@@host.com
    <IfModule mod_suphp.c>
        suPHP_UserGroup nobody nobody
    </IfModule>
    UserDir disabled
</VirtualHost>

# DO NOT EDIT. AUTOMATICALLY GENERATED.  IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.

# SSL





# CPANEL/WHM/WEBMAIL/WEBDISK PROXY SUBDOMAINS

<VirtualHost 5.77.39.6:80 127.0.0.1:80>
    ServerName server.localhost.com

    ServerAlias cpanel.* whm.* webmail.* webdisk.* cpcalendars.* cpcontacts.*

    DocumentRoot /usr/local/apache/htdocs
    ServerAdmin user@@host.com
    <IfModule mod_suphp.c>
        suPHP_UserGroup nobody nobody
    </IfModule>
    <Proxy "*">
        <IfModule mod_security2.c>
            SecRuleEngine Off
        </IfModule>
    </Proxy>
    UserDir disabled
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^server.localhost.com$
    RewriteCond %{HTTP_HOST} ^cpanel.
    RewriteRule ^/(.*) http://127.0.0.1:2082/$1 [P]

    RewriteCond %{HTTP_HOST} !^server.localhost.com$
    RewriteCond %{HTTP_HOST} ^webmail.
    RewriteRule ^/(.*) http://127.0.0.1:2095/$1 [P]

    RewriteCond %{HTTP_HOST} !^server.localhost.com$
    RewriteCond %{HTTP_HOST} ^whm.
    RewriteRule ^/(.*) http://127.0.0.1:2086/$1 [P]

    RewriteCond %{HTTP_HOST} !^server.localhost.com$
    RewriteCond %{HTTP_HOST} ^webdisk.
    RewriteRule ^/(.*) http://127.0.0.1:2077/$1 [P]

    RewriteCond %{HTTP_HOST} !^server.localhost.com$
    RewriteCond %{HTTP_HOST} ^cpcalendars.
    RewriteRule ^/(.*) http://127.0.0.1:2079/$1 [P]

    RewriteCond %{HTTP_HOST} !^server.localhost.com$
    RewriteCond %{HTTP_HOST} ^cpcontacts.
    RewriteRule ^/(.*) http://127.0.0.1:2079/$1 [P]

    UseCanonicalName Off
</VirtualHost>






# CPANEL/WHM/WEBMAIL/WEBDISK PROXY SUBDOMAINS

<VirtualHost 5.77.39.6:443 127.0.0.1:443>
    ServerName server.localhost.com

    ServerAlias cpanel.* whm.* webmail.* webdisk.* cpcalendars.* cpcontacts.*

    DocumentRoot /usr/local/apache/htdocs
    ServerAdmin user@@host.com
    <IfModule mod_suphp.c>
        suPHP_UserGroup nobody nobody
    </IfModule>
    <Proxy "*">
        <IfModule mod_security2.c>
            SecRuleEngine Off
        </IfModule>
    </Proxy>
    UserDir disabled
    RewriteEngine On
    <IfModule mod_ssl.c>
        SSLEngine on
        SSLProxyEngine On
        SSLProxyVerify none
        # Setting to Off for backwards-compatibility
        # Read for more info: http://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslproxycheckpeercn
        SSLProxyCheckPeerCN Off
        SSLProxyCheckPeerName Off
        SSLProxyCheckPeerExpire Off
            SSLCertificateFile /var/cpanel/ssl/cpanel/cpanel.pem
        SSLCertificateKeyFile /var/cpanel/ssl/cpanel/cpanel.pem
        SSLCertificateChainFile /var/cpanel/ssl/cpanel/cpanel.pem
        SSLUseStapling Off
    
    </IfModule>
    RewriteCond %{HTTP_HOST} !^server.localhost.com$
    RewriteCond %{HTTP_HOST} ^cpanel.
    RewriteCond %{HTTPS} on
    RewriteRule ^/(.*) https://127.0.0.1:2083/$1 [P]

    RewriteCond %{HTTP_HOST} !^server.localhost.com$
    RewriteCond %{HTTP_HOST} ^webmail.
    RewriteCond %{HTTPS} on
    RewriteRule ^/(.*) https://127.0.0.1:2096/$1 [P]

    RewriteCond %{HTTP_HOST} !^server.localhost.com$
    RewriteCond %{HTTP_HOST} ^whm.
    RewriteCond %{HTTPS} on
    RewriteRule ^/(.*) https://127.0.0.1:2087/$1 [P]

    RewriteCond %{HTTP_HOST} !^server.localhost.com$
    RewriteCond %{HTTP_HOST} ^webdisk.
    RewriteCond %{HTTPS} on
    RewriteRule ^/(.*) https://127.0.0.1:2078/$1 [P]

    RewriteCond %{HTTP_HOST} !^server.localhost.com$
    RewriteCond %{HTTP_HOST} ^cpcalendars.
    RewriteCond %{HTTPS} on
    RewriteRule ^/(.*) https://127.0.0.1:2080/$1 [P]

    RewriteCond %{HTTP_HOST} !^server.localhost.com$
    RewriteCond %{HTTP_HOST} ^cpcontacts.
    RewriteCond %{HTTPS} on
    RewriteRule ^/(.*) https://127.0.0.1:2080/$1 [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.
@


1.12
log
@"Modified by /usr/local/cpanel/scripts/userdirctl "
@
text
@a276 3
    <IfModule mod_userdir.c>
        UserDir disabled
    </IfModule>
d283 1
a296 3
    <IfModule mod_userdir.c>
        UserDir disabled
    </IfModule>
d311 1
a347 3
    <IfModule mod_userdir.c>
        UserDir disabled
    </IfModule>
d362 1
@


1.11
log
@"Modified by /usr/local/cpanel/scripts/userdirctl "
@
text
@d277 3
d299 3
d352 3
@


1.10
log
@"Modified by /usr/local/cpanel/scripts/update_apache_directive update_apache_directive: ServerName localhost.localdomain.com"
@
text
@d182 1
a182 1
ServerAdmin root@@localhost.localdomain.com
d311 1
a311 1
    RewriteCond %{HTTP_HOST} !^localhost.localdomain.com$
d315 1
a315 1
    RewriteCond %{HTTP_HOST} !^localhost.localdomain.com$
d319 1
a319 1
    RewriteCond %{HTTP_HOST} !^localhost.localdomain.com$
d323 1
a323 1
    RewriteCond %{HTTP_HOST} !^localhost.localdomain.com$
d327 1
a327 1
    RewriteCond %{HTTP_HOST} !^localhost.localdomain.com$
d331 1
a331 1
    RewriteCond %{HTTP_HOST} !^localhost.localdomain.com$
d376 1
a376 1
    RewriteCond %{HTTP_HOST} !^localhost.localdomain.com$
d381 1
a381 1
    RewriteCond %{HTTP_HOST} !^localhost.localdomain.com$
d386 1
a386 1
    RewriteCond %{HTTP_HOST} !^localhost.localdomain.com$
d391 1
a391 1
    RewriteCond %{HTTP_HOST} !^localhost.localdomain.com$
d396 1
a396 1
    RewriteCond %{HTTP_HOST} !^localhost.localdomain.com$
d401 1
a401 1
    RewriteCond %{HTTP_HOST} !^localhost.localdomain.com$
@


1.9
log
@"Modified by /usr/local/cpanel/scripts/update_apache_directive update_apache_directive initial checkin"
@
text
@d183 1
a183 1
ServerName localhost.localdomain.com
d277 1
a277 1
    ServerName localhost.localdomain.com
d296 1
a296 1
    ServerName localhost.localdomain.com
d346 1
a346 1
    ServerName localhost.localdomain.com
@


1.8
log
@"Modified by /usr/local/cpanel/bin/build_apache_conf End build_apache_conf"
@
text
@d182 2
a183 2
ServerAdmin root@@localhost.localdomain
ServerName cpanel.localhost.com
d277 1
a277 1
    ServerName cpanel.localhost.com
d279 1
a279 1
    ServerAdmin root@@localhost.localdomain
d296 1
a296 1
    ServerName cpanel.localhost.com
d301 1
a301 1
    ServerAdmin root@@localhost.localdomain
d311 1
a311 1
    RewriteCond %{HTTP_HOST} !^cpanel.localhost.com$
d315 1
a315 1
    RewriteCond %{HTTP_HOST} !^cpanel.localhost.com$
d319 1
a319 1
    RewriteCond %{HTTP_HOST} !^cpanel.localhost.com$
d323 1
a323 1
    RewriteCond %{HTTP_HOST} !^cpanel.localhost.com$
d327 1
a327 1
    RewriteCond %{HTTP_HOST} !^cpanel.localhost.com$
d331 1
a331 1
    RewriteCond %{HTTP_HOST} !^cpanel.localhost.com$
d346 1
a346 1
    ServerName cpanel.localhost.com
d351 1
a351 1
    ServerAdmin root@@localhost.localdomain
d376 1
a376 1
    RewriteCond %{HTTP_HOST} !^cpanel.localhost.com$
d381 1
a381 1
    RewriteCond %{HTTP_HOST} !^cpanel.localhost.com$
d386 1
a386 1
    RewriteCond %{HTTP_HOST} !^cpanel.localhost.com$
d391 1
a391 1
    RewriteCond %{HTTP_HOST} !^cpanel.localhost.com$
d396 1
a396 1
    RewriteCond %{HTTP_HOST} !^cpanel.localhost.com$
d401 1
a401 1
    RewriteCond %{HTTP_HOST} !^cpanel.localhost.com$
@


1.7
log
@"Modified by /usr/local/cpanel/bin/build_apache_conf End build_apache_conf"
@
text
@d13 1
a13 1
#   system refer to the documentation at: http://go.cpanel.net/customdirectives                                 #
d161 1
a161 1
#   system refer to the documentation at: http://go.cpanel.net/customdirectives                                 #
d182 1
a182 1
ServerAdmin root@@cpanel.localhost.com
d279 1
a279 1
    ServerAdmin root@@cpanel.localhost.com
d295 1
a295 1
<VirtualHost 192.168.25.102:80 127.0.0.1:80>
d301 1
a301 1
    ServerAdmin root@@cpanel.localhost.com
d305 5
a309 3
    <IfModule mod_security2.c>
        SecRuleEngine Off
    </IfModule>
a335 3
    <IfModule mod_security2.c>
        SecRuleEngine On
    </IfModule>
d345 1
a345 1
<VirtualHost 192.168.25.102:443 127.0.0.1:443>
d351 1
a351 1
    ServerAdmin root@@cpanel.localhost.com
d355 5
a359 3
    <IfModule mod_security2.c>
        SecRuleEngine Off
    </IfModule>
a406 3
    <IfModule mod_security2.c>
        SecRuleEngine On
    </IfModule>
@


1.6
log
@"Modified by /usr/local/cpanel/setupapache Post setupaapche"
@
text
@d28 3
a81 1

d85 1
d269 2
d413 2
@


1.5
log
@"Modified by /usr/local/cpanel/scripts/checkerrorlogsafe checkerrorlogsafe END"
@
text
@a65 1
ScriptAlias /scgi-bin /usr/local/cpanel/cgi-sys/scgiwrap
@


1.4
log
@"Modified by [bg installer] /usr/local/cpanel/scripts/easyapache End build_apache_conf"
@
text
@d80 7
@


1.3
log
@"Modified by [bg installer] /usr/local/cpanel/scripts/easyapache added $file Include"
@
text
@a0 1

d30 1
a30 1
#LoadModule
a34 1
LoadModule bwlimited_module   modules/mod_bwlimited.so
a35 1
# Removed php directive: LoadModule php5_module        modules/libphp5.so
d37 2
d66 1
d168 4
d230 2
d270 1
a270 1
# Removed php directive:         suPHP_UserGroup nobody nobody
d292 1
a292 1
# Removed php directive:         suPHP_UserGroup nobody nobody
d343 1
a343 1
# Removed php directive:         suPHP_UserGroup nobody nobody
d349 15
a404 2
Include "/usr/local/apache/conf/modsec2.conf"
ScriptAlias /scgi-bin /usr/local/cpanel/cgi-sys/scgiwrap
@


1.2
log
@"Modified by [bg installer] /usr/local/cpanel/scripts/easyapache added $file Include"
@
text
@d1 1
d36 1
d38 1
a38 1
LoadModule bwlimited_module   modules/mod_bwlimited.so
a66 1
ScriptAlias /scgi-bin /usr/local/cpanel/cgi-sys/scgiwrap
a167 2
Listen 0.0.0.0:80
Listen [::]:80
a225 2
    Listen 0.0.0.0:443
    Listen [::]:443
d264 1
a264 1
        suPHP_UserGroup nobody nobody
d286 1
a286 1
        suPHP_UserGroup nobody nobody
d337 1
a337 1
        suPHP_UserGroup nobody nobody
a342 15
    <IfModule mod_ssl.c>
        SSLEngine on
        SSLProxyEngine On
        SSLProxyVerify none
        # Setting to Off for backwards-compatibility
        # Read for more info: http://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslproxycheckpeercn
        SSLProxyCheckPeerCN Off
        SSLProxyCheckPeerName Off
        SSLProxyCheckPeerExpire Off
            SSLCertificateFile /var/cpanel/ssl/cpanel/cpanel.pem
        SSLCertificateKeyFile /var/cpanel/ssl/cpanel/cpanel.pem
        SSLCertificateChainFile /var/cpanel/ssl/cpanel/cpanel.pem
        SSLUseStapling Off
    
    </IfModule>
d385 1
@


1.1
log
@"Modified by /usr/local/cpanel/bin/build_apache_conf End build_apache_conf"
@
text
@d30 1
a30 1
LoadModule bwlimited_module modules/mod_bwlimited.so
d36 1
a36 1
Include "/usr/local/apache/conf/modsec2.conf"
a168 2
User nobody
Group nobody
d402 1
@