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