Changes between Version 16 and Version 17 of InstallLenny


Ignore:
Timestamp:
11/08/08 21:11:12 (5 years ago)
Author:
denis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallLenny

    v16 v17  
    199199}}} 
    200200 
     201 
     202{{{ 
     203Running Plumi behind an Apache2 web server 
     204}}} 
     205 
     206Read [http://plone.org/documentation/tutorial/plone-apache/tutorial-all-pages this]  
     207 
     208- Enabling the Apache2 modules needed 
     209 
     210{{{ 
     211a2enmod cache deflate disk_cache headers mime_magic proxy proxy_http rewrite 
     212}}} 
     213 
     214- Custom configurations 
     215 
     216Create the following files in /etc/apache2/conf.d 
     217 
     218{{{ 
     219vi /etc/apache2/conf.d/deflate 
     220}}} 
     221 
     222{{{ 
     223<IfModule mod_deflate.c> 
     224 DeflateCompressionLevel 3 
     225 
     226 DeflateFilterNote Input instream 
     227 DeflateFilterNote Output outstream 
     228 DeflateFilterNote Ratio ratio 
     229 
     230 LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate 
     231 
     232 # Netscape 4.x has some problems... 
     233 BrowserMatch ^Mozilla/4 gzip-only-text/html 
     234 
     235 # Netscape 4.06-4.08 have some more problems 
     236 BrowserMatch ^Mozilla/4\.0[678] no-gzip 
     237 
     238 # MSIE masquerades as Netscape, but it is fine 
     239 #BrowserMatch \bMSIE !no-gzip !gzip-only-text/html 
     240 
     241 # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 
     242 # the above regex won't work. You can use the following 
     243 # workaround to get the desired effect: 
     244 BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html 
     245 
     246 # Don't compress images, java scripts and style sheets 
     247 SetEnvIfNoCase Request_URI \ 
     248   \.(?:gif|jpe?g|png|js|css)$ no-gzip dont-vary 
     249 
     250 # Make sure proxies don't deliver the wrong content 
     251 # this needs mod_headers but it's very important 
     252 # so I don't add a IfModule around it 
     253 Header append Vary User-Agent env=!dont-vary 
     254 
     255</IfModule> 
     256 
     257}}} 
     258 
     259 
    201260== Configuring ATCountryWidget == 
    202261