V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
joby
V2EX  ›  问与答

求帮忙转下这一段 rewrite 规则

  •  
  •   joby · 2018-06-01 16:25:53 +08:00 · 1375 次点击
    这是一个创建于 2127 天前的主题,其中的信息可能已经有所发展或是发生改变。

    将 RewriteEngine 模式打开

    RewriteEngine On

    RewriteBase /

    Rewrite 系统规则请勿修改

    RewriteRule ^login(.)$ index.php/api/login/index/(.)$ RewriteRule ^ping(.)$ index.php/api/ping/index/(.)$ RewriteRule ^auth(.)$ index.php/api/auth/index/(.)$ RewriteRule ^portal(.)$ index.php/api/user/index/(.)$ RewriteRule ^library/test/success.html index.php/api/login/apple

    ———————— 怎么改写成 .htaccess

    3 条回复    2018-06-01 17:13:47 +08:00
    terces
        1
    terces  
       2018-06-01 16:40:11 +08:00
    这是做什么用的? Joby
    joby
        2
    joby  
    OP
       2018-06-01 17:00:09 +08:00
    @terces 一个开源程序。。。我不懂技术,部署上去打不开。我服务器环境是 linux
    Felldeadbird
        3
    Felldeadbird  
       2018-06-01 17:13:47 +08:00
    这个看起来,貌似本身就 htaccess 的规则啊
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5653 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 01:43 · PVG 09:43 · LAX 18:43 · JFK 21:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.