Explorar o código

新建 web.config

聆听 %!s(int64=7) %!d(string=hai) anos
pai
achega
19ac81890d
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  1. 13 0
      web.config

+ 13 - 0
web.config

@@ -0,0 +1,13 @@
+<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>