博思互联建站网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

50元买空间送源码包安装 50元买1年美国空间送本站任意一款源码 快速赚取金币| 免费加入VIP

港台体验150M空间 免费备案港台空间 美国空间 com域名只需55元| pw域名38元

友情链接自助申请 - 博思建站网论坛广告位 博思建站网论坛广告位 - 博思建站网论坛广告位 博思建站网论坛 Archiver |论坛日志 | 论坛相册

搜索
热搜: 推广 免费 空间
论坛长期招聘版主 论坛专用2G双线主机,386元/年 韩国超速1G主机,免备案198元/年 精英1.2G国内外可选-特价198元/年
双线20人合租-20G仅698元/年 11G 国内外论坛专用主机126元/月 500M韩国免备案爆快 126元/年 500M国内双线主机快 126元/年
文字广告位招租 80元/月 文字广告位招租 80元/月 文字广告位招租 80元/月 文字广告位招租 80元/月
查看: 278|回复: 0

[XUEIDC] 学话一样Nginx伪静态规则 宝塔伪静态

[复制链接]
发表于 2022-4-8 16:11:51 | 显示全部楼层 |阅读模式

本站源码安装服务:虚拟主机安装20元   win服务器安装30元   如果是买的本站源码,虚拟主机安装只需要15元

此伪静态规则已经在 2020-05-29日更新  如果你使用的是  Nginx 请更新此规则   Apache则不用更新

  1.         rewrite ^/XUE/([a-z0-9_\-]+)\.html(\?(.*))*$ /admin.php?c=$1&ad=act&$args;
  2.         rewrite ^/XUE_temp/(.*)/(.*)/([a-z0-9_\-]+)\.html$ /xueidc;
  3.         rewrite ^/qqnotify.php(\?(.*))*$ /index.php?m=index&c=login&a=qqnotifys&$args;
  4.         rewrite ^/mp.html(\?(.*))*$ /index.php?m=api&c=mp&$args;
  5.         rewrite ^/alipay_notify.html(\?(.*))*$ /index.php?act=alipay_notify&$args;
  6.         rewrite ^/alipay_return.html(\?(.*))*$ /index.php?act=alipay_return&$args;
  7.         rewrite ^/wxpay_notify.html(\?(.*))*$ /index.php?act=wxpay_notify&$args;
  8.         rewrite ^/qqpay_notify.html(\?(.*))*$ /index.php?act=qqpay_notify&$args;
  9.         rewrite ^/epay_notify.html(\?(.*))*$ /index.php?act=epay_notify&$args;
  10.         rewrite ^/epay_return.html(\?(.*))*$ /index.php?act=epay_return&$args;
  11.         rewrite ^/ali2_notify.html(\?(.*))*$ /index.php?act=ali2_notify&$args;
  12.         rewrite ^/api/cloudapi.asp(\?(.*))*$ /index.php?m=api&c=api&actions=7124api&$args;
  13.         rewrite ^/vpsadm/login.asp(\?(.*))*$ /index.php?m=api&c=api&actions=7124api&actionss=loginvps&$args;
  14.         rewrite ^/api/host/(\?(.*))*$ /index.php?m=api&c=api&actions=ephostapi&$args;
  15.         rewrite ^/api/cdn/(\?(.*))*$ /index.php?m=api&c=api&actions=epcdnapi&$args;
  16.         rewrite ^/vhost/host.php(\?(.*))*$ /index.php?m=api&c=api&actions=ephostapi&actionss=loginhost&$args;
  17.         rewrite ^/vhost/cdn.php(\?(.*))*$ /index.php?m=api&c=api&actions=epcdnapi&actionss=logincdn&$args;
  18.         rewrite ^/([a-z0-9_\-]+)\.html(\?(.*))*$ /index.php?c=$1&$args;
复制代码

上面是伪静态规则代码  在宝塔中点击网站设置 在点击伪静态 把上面代码复制进去 保存即可



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

a

QQ|小黑屋|手机版|Archiver|博思互联建站网 ( 蜀ICP备09002004号-1 )

GMT+8, 2024-4-28 15:29 , Processed in 0.083781 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表