Typecho在IIS8.5使用rewrite隐藏URL中的index.
在官网下载安装 rewrite 插件,https://www.iis.net/downloads/microsoft/url-rewrite安装完成后,配置 web.confing 文件,在 system.webServer 标签中加入以下配置内容:rewriterulesrule name=Main Rule stopProcessing=truematch url=^(.*)$ /conditions logicalGrouping=MatchAlladd input={REQUEST_FILENAME} matchType=IsFile negate=true /add input={REQUEST_FILENAME} matchType=IsDirectory negate=true //conditionsact...
26
- 0
- 0
- 0
2019.02.20 20:05