View Single Post
  #4  
Old 22nd May 2010, 23:14
DaRKNeSS666NL DaRKNeSS666NL is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
Just add the lines:

RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]

in the apache directives field of the website settings and click on save.
Does this work for all or must I chance something in those lines?
I want to use https://webmail.mydomain.com all the time somebody uses web-mail.
__________________
Updating my server to Debian Squeeze, so here I go again...
Reply With Quote