First description of the next server environment: Windows2003+iis+php+isapi Rewrite, check the configuration of IIS has no problem, but the query HTTP status is not open gzip State, today, access to the server last Discuz forum at the bottom of a line of information: Gzip on. A flash of inspiration, is it the PHP itself with the gzip and IIS conflict? Start testing, open the PHP configuration file, turn off the php_zip.dll extension, and restart IIS.
After the operation is completed, the detection status, is now turned on the gzip state. The original gzip open batch file has no problem, the problem is that PHP also opened the Gzip,iis when the conflict
Open the Gzip method
Just a little way. Enable compressed output of dynamic/static content by executing the following command from the command line:
Appcmd set Config/section:urlcompression/dodynamiccompression:trueappcmd set config/section:urlcompression/ Dostaticcompression:true Add a new Web Service Extension (if not originally), enter the full path of Gzip.dll.
Compression of additional file extensions on IIS 6.0
Modify the MetaBase.xml file hcfileextensions add additional file extensions.
Compression of additional file extensions on IIS 7.0
Modify the ApplicationHost.config file, add the appropriate mimetype, and specify activation. Open the file reference to the original line divert. May be set several times before it succeeds