Cloudreve V4第三方支付系统

本系统支持Cloudreve pro进行易支付的对接,若无Cloudreve Pro授权请勿购买,购买后不退不换。 本系统请运行于PHP7.3,7.4。 本系统需要使用到伪静态。 伪静态内容如下 # Apache 伪静态配置 # 需要 Apache 开启 mod_rewrite 模块 # 请确认 h

苏州小郭
·
·
5 阅读

本系统支持Cloudreve pro进行易支付的对接,若无Cloudreve Pro授权请勿购买,购买后不退不换。

  • 本系统请运行于PHP7.3,7.4。

  • 本系统需要使用到伪静态。

伪静态内容如下

# Apache 伪静态配置
# 需要 Apache 开启 mod_rewrite 模块
# 请确认 httpd.conf 中 LoadModule rewrite_module modules/mod_rewrite.so 已取消注释

RewriteEngine On

# 如果项目部署在子目录,请将下方 / 改为你的子目录路径
# 例如部署在 /pay/ 子目录下,则改为 RewriteBase /pay/
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
# Nginx 伪静态配置示例
# 请将此配置添加到你的 Nginx 站点配置文件中的 server { } 块内

# 假设你的项目部署在网站根目录
location / {
    try_files $uri $uri/ /index.php?$query_string;
}

# 如果你的项目部署在子目录(例如 /pay/),请使用以下配置:
# location /pay/ {
#     try_files $uri $uri/ /pay/index.php?$query_string;
# }

# PHP-FPM 配置(如果尚未配置)
# location ~ \.php$ {
#     fastcgi_pass   127.0.0.1:9000;
#     fastcgi_index  index.php;
#     fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
#     include        fastcgi_params;
# }

评论

目录