Browse Source

新建 web.config

聆听 7 years ago
parent
commit
19ac81890d
1 changed files with 13 additions and 0 deletions
  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>