我已經使用這個代碼重定向到https:重定向頁面的一些HTTP和一些頁面到https
RewriteEngine on
#Options +FollowSymlinks
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*) https://www.mysite.com/test/$1 [R,L]
,但我使用http不會爲HTTPS需要一些網頁。
例子: 我需要這個網址:http://www.mysite.com/test/contact.php
你只需要http for contact.php ..? – 2012-01-04 07:14:46
這是例如我需要兩個或三個頁面沒有https – 2012-01-04 07:24:07