joby
V2EX  ›  问与答

求帮忙转下这一段 rewrite 规则

  •  
  •   joby · Jun 1, 2018 · 2643 views
    This topic created in 3086 days ago, the information mentioned may be changed or developed.

    将 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 replies  •  2018-06-01 17:13:47 +08:00
    terces
    terces
    Jun 1, 2018
    1
    这是做什么用的? Joby
    joby
    joby
    OP
    Jun 1, 2018
    2
    @terces 一个开源程序。。。我不懂技术,部署上去打不开。我服务器环境是 linux
    Felldeadbird
    Felldeadbird
    Jun 1, 2018
    3
    这个看起来,貌似本身就 htaccess 的规则啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2100 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:07 · PVG 23:07 · LAX 07:07 · JFK 10:07
    ♥ Do have faith in what you're doing.