V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ruojiner
V2EX  ›  PHP

如何将 Apache 的伪静态规则移植到 Cherokee web server?

  •  
  •   ruojiner · 2017-03-06 15:45:18 +08:00 · 1659 次点击
    这是一个创建于 2615 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Apache 中规则如下:

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule (.*)$ index.php/$1 [L]


    那么放到 Cherokee 中规则该怎么写,直接在后台 Web 页面添加还是改配置文件?
    1 条回复    2017-03-07 15:10:40 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2265 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:47 · PVG 15:47 · LAX 00:47 · JFK 03:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.