thinkphp5 deployed to iis server url rewriting

不言
Release: 2023-04-02 21:24:02
Original
5188 people have browsed it

This article mainly introduces the url rewriting of thinkphp5 deployed to iis server. It has certain reference value. Now I share it with you. Friends in need can refer to it.

thinkphp deployed to iis server configuration url Rewriting solution:

1. Download url rewrite. Download address: https://www.iis.net/downloads/microsoft/url-rewrite

or scroll to the bottom of the page to select the corresponding version to download

2. Installation. After the installation is complete, reopen the iis manager and url rewriting will appear. Be sure to close the iis manager and reopen it, otherwise the url rewrite will not appear, and the refresh will not appear.

3. Import url rewrite rules. Import the .htaccess file that comes with thinkphp in the root directory.

4. Completed.

The above is the entire content of this article. I hope it will be helpful to everyone's study. For more related content, please pay attention to the PHP Chinese website!

Related recommendations:

ThinkPHP framework implements rewrite routing configuration

thinkphp multi-image ajax upload image

The above is the detailed content of thinkphp5 deployed to iis server url rewriting. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!