简介:
温馨提示:本源码提供给大家学习研究借鉴美工之用,请勿用于商业和违法用途!
安装说明
服务器系统: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=$1 last; break;
}
}
代理 nginx伪静态
if (!-f $request_Filename){
set $rule_0 1$rule_0;
}
if (!-d $request_filename){
set $rule_0 2$rule_0;
}
if (-f $request_filename.php){
set $rule_0 3$rule_0;
}
if ($rule_0 = "321"){
rewrite ^/(.+)$ /$1.php last;
}
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=$1 last; break;
}
}
图片:



声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。


![【AA支付跑分系统】原老牛支付码商平台分销搬运pdd第三方第四方面签聚合支付源码下载[带完整部署教程]](https://www.pp25.cn/skycaiji/data/images/cd/59bf21c9c282b265c97c075ef16096.jpg)
