LogLevel debug
SSLUseStapling on
SSLStaplingCache shmcb:/tmp/stapling_cache(128000)
SSLProxyEngine on
KeepAlive On
KeepAliveTimeout 5
MaxKeepAliveRequests 200
Timeout 300
<IfModule event.c>
StartServers 15
ServerLimit 30
ThreadsPerChild 25
MaxRequestWorkers 750
MinSpareThreads 25
MaxSpareThreads 750
MaxRequestsPerChild 10000
</IfModule>
<IfModule mod_expires.c>
# turn on the module for this directory
ExpiresActive on
# set default
ExpiresByType image/jpg “access plus 1 month”
ExpiresByType image/gif “access plus 1 month”
ExpiresByType image/jpeg “access plus 1 month”
ExpiresByType image/png “access plus 1 month”
ExpiresByType text/css “access plus 1 month”
ExpiresByType text/javascript “access plus 1 month”
ExpiresByType application/javascript “access plus 1 month”
ExpiresByType application/x-shockwave-flash “access plus 1 month”
ExpiresByType text/css “now plus 1 month”
ExpiresByType image/ico “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 month”
ExpiresByType text/html “access plus 600 seconds”
ExpiresDefault “access plus 2 days”
</IfModule>
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>
<IfModule mod_setenvif.c>
# Netscape 4.x has some problems…
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
# the above regex won’t work. You can use the following
# workaround to get the desired effect:
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
# Don’t compress images
SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
</IfModule>
<IfModule mod_headers.c>
# Make sure proxies don’t deliver the wrong content
Header append Vary User-Agent env=!dont-vary
</IfModule>
#XMLRPC:
<Files xmlrpc.php>
order deny,allow
deny from all
</Files>
errordocument 401 default
errordocument 403 default
errordocument 404 default
errordocument 411 default