<div class="enlighter-default enlighter-v-standard enlighter-t-enlighter enlighter-hover enlighter-overflow-scroll"><div class="enlighter-toolbar"><div class="enlighter-btn enlighter-btn-raw"></div><div class="enlighter-btn enlighter-btn-copy"></div><div class="enlighter-btn enlighter-btn-window"></div></div><div class="enlighter"><div class=""><div><span class="enlighter-text">index.</span><span class="enlighter-m3">html</span><span class="enlighter-text"></span></div></div><div class=""><div><span class="enlighter-text">index.</span><span class="enlighter-m3">php</span></div></div></div></div>
4. 配置 Rewrite 规则为:thinkphp ### [ Apache ]
<div class="enlighter-default enlighter-v-standard enlighter-t-enlighter enlighter-hover enlighter-overflow-scroll"><div class="enlighter-toolbar"><div class="enlighter-btn enlighter-btn-raw"></div><div class="enlighter-btn enlighter-btn-copy"></div><div class="enlighter-btn enlighter-btn-window"></div></div><div class="enlighter"><div class=""><div><span class="enlighter-g1"><</span><span class="enlighter-text">IfModule mod_rewrite.</span><span class="enlighter-m3">c</span><span class="enlighter-g1">></span><span class="enlighter-text"></span></div></div><div class=""><div><span class="enlighter-text"> Options +FollowSymlinks -Multiviews</span></div></div><div class=""><div><span class="enlighter-text"> RewriteEngine On</span></div></div><div class=""><div><span class="enlighter-text"></span></div></div><div class=""><div><span class="enlighter-text"> RewriteCond %</span><span class="enlighter-g1">{</span><span class="enlighter-text">REQUEST_FILENAME</span><span class="enlighter-g1">}</span><span class="enlighter-text"> !-d</span></div></div><div class=""><div><span class="enlighter-text"> RewriteCond %</span><span class="enlighter-g1">{</span><span class="enlighter-text">REQUEST_FILENAME</span><span class="enlighter-g1">}</span><span class="enlighter-text"> !-f</span></div></div><div class=""><div><span class="enlighter-text"> RewriteRule ^</span><span class="enlighter-g1">(</span><span class="enlighter-text">.*</span><span class="enlighter-g1">)</span><span class="enlighter-text">$ index.</span><span class="enlighter-m3">php</span><span class="enlighter-text">/$</span><span class="enlighter-n1">1</span><span class="enlighter-text"> </span><span class="enlighter-g1">[</span><span class="enlighter-text">QSA,PT,L</span><span class="enlighter-g1">]</span><span class="enlighter-text"></span></div></div><div class=""><div><span class="enlighter-text"></span><span class="enlighter-g1"><</span><span class="enlighter-text">/IfModule</span><span class="enlighter-g1">></span></div></div></div></div>
### [ Nginx]
<div class="enlighter-default enlighter-v-standard enlighter-t-enlighter enlighter-hover enlighter-overflow-scroll"><div class="enlighter-toolbar"><div class="enlighter-btn enlighter-btn-raw"></div><div class="enlighter-btn enlighter-btn-copy"></div><div class="enlighter-btn enlighter-btn-window"></div></div><div class="enlighter"><div class=""><div><span class="enlighter-text">location / </span><span class="enlighter-g1">{</span><span class="enlighter-text"> </span></div></div><div class=""><div><span class="enlighter-text"> </span><span class="enlighter-k1">if</span><span class="enlighter-text"> </span><span class="enlighter-g1">(</span><span class="enlighter-text">!-e $request_filename</span><span class="enlighter-g1">)</span><span class="enlighter-text"> </span><span class="enlighter-g1">{</span><span class="enlighter-text"></span></div></div><div class=""><div><span class="enlighter-text"> rewrite ^</span><span class="enlighter-g1">(</span><span class="enlighter-text">.*</span><span class="enlighter-g1">)</span><span class="enlighter-text">$ /index.</span><span class="enlighter-m3">php</span><span class="enlighter-text">?s=/$</span><span class="enlighter-n1">1</span><span class="enlighter-text"> last;</span></div></div><div class=""><div><span class="enlighter-text"> </span><span class="enlighter-g1">}</span><span class="enlighter-text"></span></div></div><div class=""><div><span class="enlighter-text"></span><span class="enlighter-g1">}</span></div></div></div></div>
5. 访问 域名/install,根据页面提示安装。 6. 安装完成后默认 账号为admin 密码123456 注:完成后若开启前台注册请登录管理员账号配置发信邮箱 关于此套系统,我也向官方反馈了一些不足,提了建议,比如可以指定存储桶等等