Hi Tony, 

Thanks for the response. I have confirmed with some clients that some pdfs that 
were not working are again working.

Just fyi. the lines below can be rewritten as:

SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|pdf|PDF|zip|mp3)$ no-gzip 
dont-vary

(not that it matters),

-Grant
  ----- Original Message ----- 
  From: Tony Guadagno 
  To: users@httpd.apache.org ; Grant Peel 
  Sent: Sunday, June 24, 2007 10:37 PM
  Subject: Re: [EMAIL PROTECTED] Mod Deflate and PDF


  Grant,
  I don't know why, but I can confirm that it does break pdf's I have had to 
exclude them, I have had this issue since I started with Apache (2.0.54)
  I do this

  SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
  SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
  SetEnvIfNoCase Request_URI \.zip$ no-gzip dont-vary
  SetEnvIfNoCase Request_URI \.mp3$ no-gzip dont-vary


  If anyone knows a way to fix, I would like to know also.


  ***********************************************
  Tony Guadagno
  Guadagno Consulting
  [EMAIL PROTECTED]
  585.703.6700
  ***********************************************

  >>> "Grant Peel" <[EMAIL PROTECTED]> 6/24/2007 1:50 PM >>>
  Hi again all,

  I was reading about deflating only text content since jpgs etc are already 
compressed.

  My deflate_log looks as thus:

  defiant# tail -f deflate_log
  "GET / HTTP/1.0" -/- (-%)
  "GET / HTTP/1.0" -/- (-%)
  "GET / HTTP/1.0" -/- (-%)
  "GET / HTTP/1.0" -/- (-%)
  "GET / HTTP/1.0" -/- (-%)
  "GET / HTTP/1.0" -/- (-%)
  "GET / HTTP/1.0" -/- (-%)
  "GET / HTTP/1.0" -/- (-%)
  "GET / HTTP/1.0" -/- (-%)
  "GET / HTTP/1.0" -/- (-%)

  Here are the relevent lines from httpd.conf

  # SetOutputFilter DEFLATE
  # DeflateCompressionLevel 1
  AddOutputFilterByType DEFLATE text/html text/plain
  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 /var/log/deflate_log deflate

  SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
  SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|gz2|sit|rar)$ no-gzip dont-vary


  Any ideas why the logs appear broken?

  -Grant


  ----- Original Message ----- 
  From: Grant Peel 
  To: users@httpd.apache.org 
  Sent: Sunday, June 24, 2007 12:42 PM
  Subject: [EMAIL PROTECTED] Mod Deflate and PDF


  Hi all,

  It seems mod deflate may be causing some older versions of windows (98, 2000) 
to cracsh when pdf's are accessed.

  Does any one know of this and any patches/workarounds that might help?

  I am running FreeBSD 6.2 and apache 2.2.3.

  Mime types pehaps?

  -Grant

  ------------------------------------------------------------------------------
  Total Control Panel Login 
  To: [EMAIL PROTECTED] Message Score: 2 High (60): Pass 
  From: [EMAIL PROTECTED] My Spam Blocking Level: High Medium (75): Pass 
  Low (90): Pass 
  Block messages from this sender (blacklist) 

  This message was delivered because the content filter score did not exceed 
your filter level. 


------------------------------------------------------------------------------
        Total Control Panel  Login  
        To: [EMAIL PROTECTED]  Message Score:  2   High (60): Pass  
        From: [EMAIL PROTECTED]  My Spam Blocking Level:  High  Medium (75): 
Pass  
             Low (90): Pass 
           Block messages from this sender (blacklist)    
          
        This message was delivered because the content filter score did not 
exceed your filter level.  



------------------------------------------------------------------------------


  ---------------------------------------------------------------------
  The official User-To-User support forum of the Apache HTTP Server Project.
  See <URL:http://httpd.apache.org/userslist.html> for more info.
  To unsubscribe, e-mail: [EMAIL PROTECTED]
     "   from the digest: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED] Control Panel
  https://asp-0.reflexion.net/userHome.jsp?uID=10000258

Reply via email to