歡迎您光臨本站 註冊首頁

RewriteRule 中的https

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

RewriteRule 中的https

RewriteEngine on
RewriteRule   ^/$  /horde/  

httpd.conf里設置上上面的代碼,對http有效,https怎麼就沒有效了呢?
《解決方案》

UP
《解決方案》

RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [R,L]

RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1
這樣就可以了!

[火星人 ] RewriteRule 中的https已經有270次圍觀

http://coctec.com/docs/service/show-post-32746.html