|
此伪静态规则已经在 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;
上面是伪静态规则代码 在宝塔中点击网站设置 在点击伪静态 把上面代码复制进去 保存即可
|
|