2017-01-11 82 views

回答

0

嘗試使用此,只需將directory替換爲您要停止建立HTTPs的文件夾目錄即可。

RewriteEngine On 

#Turns HTTPs on for everything, excluding directory 
RewriteCond %{HTTPS} =off 
RewriteCond %{REQUEST_URI} !^\/directory\/ 
RewriteRule (.*) https://%{HTTP_HOST}/$1 [L,R=301]  

#Turns HTTP on for directory 
RewriteCond %{HTTPS} =on 
RewriteCond %{REQUEST_URI} \/directory\/ 
RewriteRule (.*) http://%{HTTP_HOST}/$1 [L,R=301] 
+0

謝謝,但我不知道該目錄是在Opencart的 對函數的調用http://domain.com/index.php?route=payment/redsys/callback – user1524138

相關問題