Created
May 6, 2016 03:33
-
-
Save erasin/2973729519da24a2bb1e07333898c5c2 to your computer and use it in GitHub Desktop.
当空间服务器不支持PATH_INFO中,如果可以配置路由重写,将php地址进行重写处理
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rewrite ^/index\.php(.*)$ /index.php?s=/$1 last; | |
rewrite ^/en/index\.php(.*)$ /en/index.php?s=/$1 last; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment