1 Star 0 Fork 3

zoeyfRzr / eqxiu_main

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
伪静态规则说明.txt 722 Bytes
一键复制 编辑 原始数据 按行查看 历史
zoeyfRzr 提交于 2019-07-13 18:28 . 2019/7/13 18:28
如果是nginx配置环境,请将下列代码填写到自定义伪静态规则。
填写的server{}里面
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
如果是apache
用的是根目录那个.htaccess
iis6
根目录的http.ini
iis7
把.htaccess里面的内容换成
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
.htaccess 如不行,换下面试试
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
PHP
1
https://gitee.com/zoeyln123/eqxiu_main.git
git@gitee.com:zoeyln123/eqxiu_main.git
zoeyln123
eqxiu_main
eqxiu_main
master

搜索帮助