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!