IIS pseudo-static setting method under Windows server (with rewrite pseudo-static component)

PHPz
Release: 2023-03-05 14:24:01
Original
5761 people have browsed it

So how to set up pseudo-static (rewrite)? PHP Chinese website first introduces an IIS server setting method:

1. Copy the rules you need and save them as http.ini. If it is a space, please upload only the space root directory and inform the space provider of http.ini. Path requirements can be set by the space provider. If it is an independent server, please upload the file to the program root directory. For the next step, please download the server pseudo-static component and rewrite it to the website root directory.

IIS pseudo-static setting method under Windows server (with rewrite pseudo-static component)

2. Put the http.ini rule file into the rewrite folder, give the rewrite folder users read permission and copy its path

IIS pseudo-static setting method under Windows server (with rewrite pseudo-static component)

IIS pseudo-static setting method under Windows server (with rewrite pseudo-static component)

3. Find iis and select the website you want to set up pseudo-static, right-click the site, select Properties---ispai filter, click Add

IIS pseudo-static setting method under Windows server (with rewrite pseudo-static component)

##4. Fill in the executable file path as you like for the filter name. Copy the website pseudo-static rule path below, select rewrite.dll and click OK

IIS pseudo-static setting method under Windows server (with rewrite pseudo-static component)

5. Then the pseudo-static is set up , it’s that simple

Related articles:

Laravel framework rewrite settings under nginx

apache Rewrite module rewrite function activation and detection implementation

Nginx detailed Rewrite pseudo-static rule steps

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template