How to remove the index.php suffix when configuring SSL in thinkphp to force https access?
In Alibaba Cloud IIS7.5 environment, http is configured to rewrite to https
But after entering http://www.xxx.com, it will be redirected to https://www.xxx.com/index.php/
How to remove this index.php???
index.php is the entry file of thinkphp
My implementation method
No need to configure iis url rewriting module
Write the following code directly into the thinkphp entry file (iis certificate needs to be configured)