The problem of GIZP compression in Wamp is turned on

Source: Internet
Author: User
1, first

LoadModule deflate_module modules/mod_deflate.soLoadModule headers_module modules/mod_headers.so

2.


  
   
    
       SetOutputFilter 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|doc)$ no-gzip dont-vary 
  
   

So Apache can start up normally.
But once that happens,


  
   
    
       SetOutputFilter 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|doc)$ no-gzip dont-vary     AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css 
  
   

Apache can't start, it's always yellow. Ask God for answers

Reply content:

1, first

LoadModule deflate_module modules/mod_deflate.soLoadModule headers_module modules/mod_headers.so

2.


  
   
    
       SetOutputFilter 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|doc)$ no-gzip dont-vary 
  
   

So Apache can start up normally.
But once that happens,


  
   
    
       SetOutputFilter 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|doc)$ no-gzip dont-vary     AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css 
  
   

Apache can't start, it's always yellow. Ask God for answers

First of all, your code itself is not a problem, because the same code I am here all normal.

Then it must be because of your version of the software/the environment that I am different from.

Without any other information, you cannot judge the cause of your problem.

Put a bug journal on? And don't use the GUI with the command line.

Re-edit Apache to try again? Swap the system for Linux and try again?

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.