zoukankan      html  css  js  c++  java
  • iis7下的php实现urlrewrite,并隐藏index.php

     1 <rewrite>
     2  <rules>
     3  <rule name="OrgPage" stopProcessing="true">
     4  <match url="^(.*)$" />
     5  <conditions logicalGrouping="MatchAll">
     6  <add input="{HTTP_HOST}" pattern="^(.*)$" />
     7  <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
     8  <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
     9  </conditions>
    10  <action type="Rewrite" url="index.php/{R:1}" />
    11  </rule>
    12  </rules>
    13  </rewrite>
    View Code
  • 相关阅读:
    1002 写出这个数
    1001 害死人不偿命的(3n+1)猜想
    Graph I
    Tree
    进程通信
    管道
    fork函数
    Priority Queue
    Search
    游戏 slider
  • 原文地址:https://www.cnblogs.com/arvintang/p/5422259.html
Copyright © 2011-2022 走看看