IIS 7.5 去掉index.php 西数服务器
生活随笔
收集整理的這篇文章主要介紹了
IIS 7.5 去掉index.php 西数服务器
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
//新建web.config 加上下面代碼
<?xml version="1.0"?> <configuration> <system.webServer><rewrite><rules><rule name="OrgPage" stopProcessing="true"><match url="^(.*)$" /><conditions logicalGrouping="MatchAll"><add input="{HTTP_HOST}" pattern="^(.*)$" /><add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /><add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /></conditions><action type="Rewrite" url="index.php/{R:1}" /></rule></rules></rewrite></system.webServer> </configuration>
?
轉(zhuǎn)載于:https://www.cnblogs.com/JANCHAN/p/8489605.html
總結(jié)
以上是生活随笔為你收集整理的IIS 7.5 去掉index.php 西数服务器的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 《JavaEE开发的颠覆者——Sprin
- 下一篇: linux下编译php扩展