joby
V2EX  ›  问与答

求帮忙转下这一段 rewrite 规则

  •  
  •   joby · Jun 1, 2018 · 2645 views
    This topic created in 3087 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   ·   894 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:40 · PVG 04:40 · LAX 12:40 · JFK 15:40
    ♥ Do have faith in what you're doing.