mail.tworz.org done

Jun 27, 2005 by     No Comments    Posted under: Server Diary, tworz.org

簡簡單單的加了三行在 httpd.conf 裡面

RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule (.*) https://mail.tworz.org/ [R]

http 就乖乖的 redirect 去 https 了

方法由這裡參考而來

至於 login 頁上會自動補上 @tworz.org, 類似的網站應該有看過吧… XD

Got anything to say? Go ahead and leave a comment!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>