Nginx伪静态规则 宝塔伪静态
此伪静态规则已经在 2020-05-29日更新如果你使用的是Nginx 请更新此规则 Apache则不用更新rewrite ^/XUE/(+)\.html(\?(.*))*$ /admin.php?c=$1&ad=act&$args;
rewrite ^/XUE_temp/(.*)/(.*)/(+)\.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 ^/(+)\.html(\?(.*))*$ /index.php?c=$1&$args;
上面是伪静态规则代码在宝塔中点击网站设置 在点击伪静态 把上面代码复制进去 保存即可
一手母鸡资源,云服务器免费对接,滴滴2089-52882 lastvm 发表于 2020-3-15 13:02
一手母鸡资源,云服务器免费对接,滴滴2089-52882
加好友备注雪花,母鸡首月半价 :loveliness: 为什么我的出现IIS失败? 3038650183 发表于 2021-8-27 21:47
为什么我的出现IIS失败?
没有IIS的伪静态 这是NGINX的 没用,复制了我等了几个小时,还是无法访问,
页:
[1]