אצלי הקונפגורציה בשרתים היא

       <IfModule mod_deflate.c>
               DeflateFilterNote Input input_info
               DeflateFilterNote Output output_info
               DeflateFilterNote Ratio ratio_info
LogFormat '"%r" %{output_info}n/%{input_info}n (%{ratio_info}n%%)' deflate
               CustomLog logs/deflate_log deflate
               SetOutputFilter DEFLATE
               SetInputFilter DEFLATE
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
               SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
               SetEnvIfNoCase Request_URI \.avi$ no-gzip dont-vary
               SetEnvIfNoCase Request_URI \.mov$ no-gzip dont-vary
               SetEnvIfNoCase Request_URI \.mp3$ no-gzip dont-vary
               SetEnvIfNoCase Request_URI \.mp4$ no-gzip dont-vary
               SetEnvIfNoCase Request_URI \.rm$ no-gzip dont-vary
               SetEnvIfNoCase Request_URI \.plist$ no-gzip dont-vary
               SetEnvIfNoCase Request_URI \.swf$ no-gzip dont-vary
# Below is an example where you get rid of what's above and you explicity compress AddOutputFilterByType DEFLATE text/html text/plain text/xml text/x-js text/css application/x-javascript
               DeflateFilterNote ratio
               DeflateCompressionLevel 9
       </IfModule>

די פשות וברור לא ?

Yehoshua (Shay) O'Hayon Suchar wrote:
Hello list,

I would like to compress only *some* files that are located on my
server. I want to use mod_deflate for this. Is there a way to set an
specific header for files to be passed through mod_deflate?

like "do-deflate: true"

thanks in advance,

shay

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Reply via email to