httpd-pypies enable mod_deflate compression by default
Former-commit-id: b6a31a745b47ca12233b03af3509ee62e2c2762c [formerly443176912c
] Former-commit-id:d129a4007c
This commit is contained in:
parent
831e451bda
commit
65e7ca7b17
1 changed files with 13 additions and 0 deletions
|
@ -1006,3 +1006,16 @@ BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
|
|||
# ErrorLog logs/dummy-host.example.com-error_log
|
||||
# CustomLog logs/dummy-host.example.com-access_log common
|
||||
#</VirtualHost>
|
||||
SetOutputFilter DEFLATE
|
||||
<IfModule mod_deflate.c>
|
||||
DeflateFilterNote Input instream
|
||||
DeflateFilterNote Output outstream
|
||||
DeflateFilterNote Ratio ratio
|
||||
LogFormat '%t "%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
|
||||
CustomLog logs/compression_log deflate
|
||||
<IfModule mod_headers.c>
|
||||
#properly handle requests coming from behind proxies
|
||||
Header append Vary User-Agent
|
||||
</IfModule>
|
||||
</IfModule>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue