PbootCMS网站IIS伪静态规则

wdzsjl 2个月前 (10-10) 阅读数 15 #ASP

web.config

<?xml version="1.0" encoding="UTF-8"?> <configuration>     <system.webServer>         <rewrite>             <rules>                  <rule name="reIndex" stopProcessing="true">                     <match url="^(.*)$" ignoreCase="true" />                     <conditions logicalGrouping="MatchAll">                         <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />                         <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />                     </conditions>                     <action type="Rewrite" url="index.php?p={R:1}" appendQueryString="true" />                 </rule>             </rules>         </rewrite>     </system.webServer> </configuration>

 

wx.jpg ywfw.jpg
热门