Category: IIS

How to Enable Gzip Compression (HTTP Compression) on IIS

I. Summary This article summarizes how to enable Gzip compression for websites hosted on IIS to reduce web page network transfer size and improve page display speed for users.

II. Preface. The knowledge points in this article are collected and organized from the internet, primarily sourced from Chinese wikis. Use YSlow to check which features a website has enabled …

How to Convert IIS 6.0 Logs Between LOG and IBL Formats

Sometimes you may find IIS isn’t generating IIS logs, or the log files default to the .ibl format?
This is caused by an IIS configuration file setting issue! Solution: 1. Locate the file: metabase.xml in the IIS directory on the C drive. 2. Open this file with Notepad and search for CentralBin …

How to Set Up 301 Redirects on IIS7 Correctly

Many people have previously tried using web.config to set up redirects, but they often encounter various issues. Here, I’ll share my own experience, using a 301 redirect from cnop.net to www.cnop.net as an example.

Copy and paste the following code: <?xml version="1.0" encoding="UTF-8" …

How to Configure PHP 5.x (CGI Mode) on IIS7

1. Ensure the CGI feature under IIS 7 Application Development Features is enabled.
2. Install the PHP Manager module by downloading the version matching your system. IIS 7.5 introduces a new PHP extension module. Download link: http://phpmanager.codeplex.com/releases/view/69115 …