1
我想关闭SSL站点的/ builder目录中的SSL。 我已经尝试了许多不同的.htaccess配置,但无论是我把它们放在错误的顺序或他们不工作。.htaccess针对特定目录关闭SSL
这里是我当前的.htaccess:
Options +Indexes
RewriteEngine on
Redirect 301 /index.html /index.php
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.cdghost.xyz/$1 [R,L]
ErrorDocument 400 /400.html
ErrorDocument 401 /401.html
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
ErrorDocument 500 /500.html
ErrorDocument 502 /502.html
ErrorDocument 503 /503.html
ErrorDocument 504 /504.html
谢谢!
不要这样做。你为什么要*主动禁用安全性*? – Sammitch
我有一个脚本运行,不能与ssl启用。 –
修复脚本。 – Sammitch