This article mainly describes the THINKPHP5 deployment to the IIS server URL rewrite, has a certain reference value, now share to everyone, the need for friends can refer to
thinkphp deployment to IIS server configuration URL rewriting workaround:
1, download URL rewrite. Download Address: Https://www.iis.net/downloads/microsoft/url-rewrite
or pull the page to the bottom to select the appropriate version to download
2, installation. URL rewriting occurs when you reopen IIS Manager after the installation is complete. Be sure to close IIS Manager and reopen, or the URL will not be rewritten, in short, the refresh is not out.
3. Import URL rewrite rules. Import the. htaccess file that comes with the thinkphp root directory.
4, complete.
The above is the whole content of this article, I hope that everyone's learning has helped, more relevant content please pay attention to topic.alibabacloud.com!