kmahyyg
V2EX  ›  站长

如何将 nginx try-files 转化为 apache2 rewrite?

  •  
  •   kmahyyg · Mar 16, 2017 · 3143 views
    This topic created in 3371 days ago, the information mentioned may be changed or developed.
    nginx:

    `location / { try_files $uri $uri/ /index.php$is_args$args; }`

    apache2:

    `RewriteEngine On
    RewriteRule ???
    RewriteCond ???`
    kmahyyg
        1
    kmahyyg  
    OP
       Mar 16, 2017 via Android
    @Livid 麻烦帮忙移到 程序员 节点,谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5310 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 06:00 · PVG 14:00 · LAX 23:00 · JFK 02:00
    ♥ Do have faith in what you're doing.