XUEIDC-系统官网 雪花云IDC主机销售系统- XUEIDC官方论坛-雪花云论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 26226|回复: 6

Nginx伪静态规则 宝塔伪静态

[复制链接]

239

主题

810

帖子

87272万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
872729362
发表于 2020-2-23 21:36:01 | 显示全部楼层 |阅读模式
此伪静态规则已经在 2020-05-29日更新  如果你使用的是  Nginx 请更新此规则   Apache则不用更新

        rewrite ^/XUE/([a-z0-9_\-]+)\.html(\?(.*))*$ /admin.php?c=$1&ad=act&$args;
        rewrite ^/XUE_temp/(.*)/(.*)/([a-z0-9_\-]+)\.html$ /xueidc;
        rewrite ^/qqnotify.php(\?(.*))*$ /index.php?m=index&c=login&a=qqnotifys&$args;
        rewrite ^/mp.html(\?(.*))*$ /index.php?m=api&c=mp&$args;
        rewrite ^/alipay_notify.html(\?(.*))*$ /index.php?act=alipay_notify&$args;
        rewrite ^/alipay_return.html(\?(.*))*$ /index.php?act=alipay_return&$args;
        rewrite ^/wxpay_notify.html(\?(.*))*$ /index.php?act=wxpay_notify&$args;
        rewrite ^/qqpay_notify.html(\?(.*))*$ /index.php?act=qqpay_notify&$args;
        rewrite ^/epay_notify.html(\?(.*))*$ /index.php?act=epay_notify&$args;
        rewrite ^/epay_return.html(\?(.*))*$ /index.php?act=epay_return&$args;
        rewrite ^/ali2_notify.html(\?(.*))*$ /index.php?act=ali2_notify&$args;
        rewrite ^/api/cloudapi.asp(\?(.*))*$ /index.php?m=api&c=api&actions=7124api&$args;
        rewrite ^/vpsadm/login.asp(\?(.*))*$ /index.php?m=api&c=api&actions=7124api&actionss=loginvps&$args;
        rewrite ^/api/host/(\?(.*))*$ /index.php?m=api&c=api&actions=ephostapi&$args;
        rewrite ^/api/cdn/(\?(.*))*$ /index.php?m=api&c=api&actions=epcdnapi&$args;
        rewrite ^/vhost/host.php(\?(.*))*$ /index.php?m=api&c=api&actions=ephostapi&actionss=loginhost&$args;
        rewrite ^/vhost/cdn.php(\?(.*))*$ /index.php?m=api&c=api&actions=epcdnapi&actionss=logincdn&$args;
        rewrite ^/([a-z0-9_\-]+)\.html(\?(.*))*$ /index.php?c=$1&$args;






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

使用道具 举报

0

主题

4

帖子

18

积分

新手上路

Rank: 1

积分
18
QQ
发表于 2020-3-15 13:02:55 | 显示全部楼层
一手母鸡资源,云服务器免费对接,滴滴2089-52882
回复

使用道具 举报

0

主题

4

帖子

18

积分

新手上路

Rank: 1

积分
18
QQ
发表于 2020-3-15 13:03:25 | 显示全部楼层
内容已经被屏蔽
一手母鸡资源,云服务器免费对接,滴滴2089-52882

加好友备注雪花,母鸡首月半价
回复

使用道具 举报

0

主题

1

帖子

8

积分

新手上路

Rank: 1

积分
8
发表于 2020-7-7 11:04:52 | 显示全部楼层
回复

使用道具 举报

0

主题

2

帖子

10

积分

新手上路

Rank: 1

积分
10
发表于 2021-8-27 21:47:54 | 显示全部楼层
为什么我的出现IIS失败?
回复

使用道具 举报

239

主题

810

帖子

87272万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
872729362
 楼主| 发表于 2021-8-28 16:34:45 | 显示全部楼层
内容已经被屏蔽
为什么我的出现IIS失败?

没有IIS的伪静态   这是NGINX的
回复

使用道具 举报

0

主题

1

帖子

6

积分

新手上路

Rank: 1

积分
6
发表于 2022-2-23 18:59:56 | 显示全部楼层
没用,复制了我等了几个小时,还是无法访问,
回复

使用道具 举报

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

本版积分规则

手机版|XUEIDC-系统官网 雪花云IDC主机销售系统 ( 陕ICP备2022003133号-2 )

Powered by Discuz! X3.4© 2001-2013 Comsenz Inc.