Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
apache [2005/07/02 10:09] 193.77.104.168 created |
apache [2008/05/11 11:23] greebo |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | < | + | ====== Apache ====== |
- | # Insert filter | + | ==== utils ==== |
- | SetOutputFilter DEFLATE | + | * vlogger: http:// |
+ | * webalizer: http:// | ||
- | # | ||
- | # | ||
- | # Netscape 4.x has some problems... | ||
- | | ||
- | # Netscape 4.06-4.08 have some more problems | + | ===== optimization ===== |
- | BrowserMatch ^Mozilla/ | + | |
+ | - **MaxClients** ( 512 ) | ||
+ | - **KeepAlive** | ||
+ | * Disable KeepAlive connections (by setting KeepAlive to Off) | ||
+ | * Shorten the KeepAliveTimeout value to something like 3 seconds for instances), reducing the maximum simultaneous opened connections to 768 | ||
+ | | ||
- | # MSIE masquerades as Netscape, but it is fine | + | ===== mod_deflate (Apache2) ===== |
- | # BrowserMatch \bMSIE !no-gzip !gzip-only-text/ | + | |
- | # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 | + | also see: [[http:// |
- | # the above regex won't work. You can use the following | + | < |
- | # workaround to get the desired effect: | + | # Insert filter |
- | | + | |
- | + | ||
- | # Don't compress images | + | # |
- | | + | # |
- | | + | # Netscape 4.x has some problems... |
- | | + | |
- | + | ||
- | # Make sure proxies don't deliver the wrong content | + | # Netscape 4.06-4.08 have some more problems |
- | | + | |
- | </ | + | |
+ | # MSIE masquerades as Netscape, but it is fine | ||
+ | # BrowserMatch \bMSIE !no-gzip !gzip-only-text/ | ||
+ | |||
+ | # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | Header append Vary User-Agent env=!dont-vary | ||
+ | </ | ||
Line 33: | Line 50: | ||
deflate.load | deflate.load | ||
header.load | header.load | ||
+ | |||
+ | |||
+ | = SSL = | ||
+ | http:// | ||
+ | |||
+ | ssl.conf\\ | ||
+ | # | ||
+ | SSLSessionCache | ||
+ | SSLSessionCacheTimeout | ||
+ | |||
+ | |||