


Specific operation pictures and text of installing Apache pseudo-static plug-in in IIS_PHP tutorial
Jul 21, 2016 pm 03:01 PM
Apache and IIS each have their own pseudo-static operation methods. So, do you need to use pseudo-static for PHP programs in Servers2003_IIS? Install the rewrite plug-in package.
1. Download the rewrite plug-in package. Generally, it must contain httpd.ini and Rewrite.dll, as shown in the picture:
2. It is generally recommended to place the pseudo-static package in the root directory of the website, then right-click on the website that requires pseudo-static and select Properties , as shown in the figure: , find the ISAPI filter, and add rewrite .dll, close IIS and then open it again, the priority becomes high, as shown in the figure:
, indicating that the installation was successful.
3. Open httpd.ini and start configuring pseudo-static
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# =====The above is the default code and it is recommended not to change it. # is a comment =====
#RewriteRule --Pseudo-static editing
#^/ Prefixed with domain name
#/$ Until here
#/ --Pseudo-static-- --Suffix--
RewriteRule ^/webiste/$ /webiste/index.php
#([a-z]+) --Regular expression
#A () represents a $number
#(/?) -- means/dispensable
RewriteRule ^/webiste/([a-z]+)(/?)$ /webiste/$1
4. Pseudo-static is updated in real time, so real-time testing can be done.
PS:([a-z0-9]+),(/page?)([a-z0-9]+)(/?)

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

PHP Framework Performance Comparison: The Ultimate Showdown of Speed vs. Efficiency

Integration and expansion of golang function concurrency control and third-party libraries

The evasive module protects your website from application layer DOS attacks

How to conduct concurrency testing and debugging in Java concurrent programming?

Application of algorithms in the construction of 58 portrait platform

How to use Fail2Ban to protect your server from brute force attacks

How to deploy and maintain a website using PHP
