简介:
温馨提示:根源码提供应大家学习研讨鉴戒美工之用,请勿用于商业和守法用处!
装置阐明
办事器零碎:Linux+宝塔
亲测环境:Nginx1.16.1+PHP5.6+Mysql5.5
3个顺序共用1个数据库
===========================修正配置文件===========================
配置网站称号+代理地址:/Web/index.PHP
数据库配置修正:/APP/Home/Conf/config.php
数据库配置修正:/sys/config.inc.php
数据库配置修正:/sys/config.inc.php
===========================修正配置文件===========================
===========================以下网站信息===========================
主顺序=Web
后台地址:/Admin/Pubss/login.html
后台账户:admin
后台密码:www.hnymwl.com
前台地址:/
前台账户:13011112222
前台密码:13011112222
代理=dl
地址:/admin
账户:13011112222
密码:13011112222
商户=sh
地址:/agent
账户:shh001
密码:shh001
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓记得配置伪静态↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
主顺序 Nginx伪静态
location/{ if(!-e$request_Filename){ rewrite^(.*)$/index.php?s=$1last;break; } }
代理 nginx伪静态
if(!-f$request_Filename){ set$rule_01$rule_0; } if(!-d$request_filename){ set$rule_02$rule_0; } if(-f$request_filename.php){ set$rule_03$rule_0; } if($rule_0="321"){ rewrite^/(.+)$/$1.phplast; } rewrite/login.dos$/index.php?act=logins; rewrite/reg.dos$/index.php?act=reg; rewrite/index.dos$/index.php?act=index; rewrite/regs.dos$/index.php?act=regs; rewrite/task.dos$/index.php?act=task; rewrite/up.dos$/index.php?act=up; rewrite/zhifubao.dos$/index.php?act=ziliaos; rewrite/moneys.dos$/index.php?act=moneys; rewrite/r.dos$/index.php?act=renwus;
商户 nginx伪静态
location/{ if(!-e$request_filename){ rewrite^(.*)$/index.php?s=$1last;break; } }