zoukankan      html  css  js  c++  java
  • phpstudy php5.4以上版本伪静态设置 thinkphp

    http://www.thinkphp.cn/topic/35958.html

    <IfModule mod_rewrite.c>
    Options +FollowSymlinks -Multiviews
    RewriteEngine on
    
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    #RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
     RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
    </IfModule>

    默认的

    RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

    规则在apache fastcgi模式下会导致No input file specified.

    修改成

    RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]

    就OK,地址正常重写。

  • 相关阅读:
    HiperLink
    三次贝塞尔曲线平滑多边形
    SimpleIni
    Segment
    SegIntersect
    OneTif
    OneSeg
    MiniDump
    MfcStrFile
    vmware workstation 如何配置NAT
  • 原文地址:https://www.cnblogs.com/lxwphp/p/15454664.html
Copyright © 2011-2022 走看看