彩虹易支付源码最新版官方原版无更改易支付源码

彩虹易支付源码最新版官方原版无更改易支付源码-小白博客
彩虹易支付源码最新版官方原版无更改易支付源码
此内容为免费资源,请登录后查看
0
免费资源

彩虹易支付最新版原版无更改最新版源码,官方原版源码,无更改无后门,放心使用。

图片[1]-彩虹易支付源码最新版官方原版无更改易支付源码-小白博客

环境部署

推荐使用宝塔、AMH等面板一键部署服务器环境。

PHP版本:>=7.4,推荐8.0MySQL版本:5.6、5.7、8.0

Nginx伪静态规则

location / {
 if (!-e $request_filename) {
   rewrite ^/(.[a-zA-Z0-9\-\_]+).html$ /index.php?mod=$1 last;
 }
 rewrite ^/pay/(.*)$ /pay.php?s=$1 last;
 rewrite ^/api/(.*)$ /api.php?s=$1 last;
 rewrite ^/doc/(.[a-zA-Z0-9\-\_]+).html$ /index.php?doc=$1 last;
}
location ^~ /plugins {
  deny all;
}
location ^~ /includes {
  deny all;
}

Apache伪静态规则

<IfModule mod_rewrite.c>
  Options +FollowSymlinks
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.[a-zA-Z0-9\-\_]+).html$ index.php?mod=$1 [QSA,PT,L]
  RewriteRule ^pay/(.*)$ pay.php?s=$1 [QSA,PT,L]
</IfModule>

IIS伪静态规则

<rule name="payrule1_rewrite" stopProcessing="true">
    <match url="^(.[a-zA-Z0-9-_]+).html"/>
    <conditions logicalGrouping="MatchAll">
      <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
      <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
    </conditions>
    <action type="Rewrite" url="index.php?mod={R:1}"/>
  </rule>
  <rule name="payrule2_rewrite" stopProcessing="true">
    <match url="^pay/(.*)"/>
    <conditions logicalGrouping="MatchAll">
      <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
      <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
    </conditions>
    <action type="Rewrite" url="pay.php?s={R:1}"/>
  </rule>
© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片快捷回复

    暂无评论内容