1

Topic: Default website to https

When sending my users to the server for webmail they have to type the full address.. ie
"https://iredmail.mydomain.com/mail"

I have http disabled externally and only allow https.  I would like to make it so that when users type iredmail.mydomain.com they are redirected to the https page of Roundcube login.

I haven't been able to figure out how to do this.  If anyone has an idea that is still secure, please let me know.  Thanks

2

Re: Default website to https

This is done trough apache.

First you have to set it up to accept port 80 calls.

Then either using index files, or using apache conf files, setup redirection to where you want to go, https page in your case.

To do that you need console or telnet access or setup a tool like webmin, which I prefer and have it on every box that I manage, and controll some stuff via web.

3 (edited by shake 2010-01-28 05:37:07)

Re: Default website to https

http://www.cyberciti.biz/tips/howto-apa … tions.html

or in google search http://www.google.com/search?hl=en& … i=&oq=

4

Re: Default website to https

Cool thanks for the links, guess I just wasn't searching it right.

I followed the instructions on the link you provided, and found that if I put in the redirect permanent line I get an error in firefox saying that it's not redirecting properly, seems to be in a loop.

However, if I skip the first part and just add the mod_rewrite parts, it works.

However, it appears as though regular http sites can still be accessed.

I think it's partially because I'm using iRedOS and there is no global .htaccess file that I can find, so the mod_rewrite information I entered is in the /var/www/roundcube/.htaccess file.

Maybe creating aloop?