学话一样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;
上面是伪静态规则代码在宝塔中点击网站设置 在点击伪静态 把上面代码复制进去 保存即可
页:
[1]