LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-23-2006, 01:28 PM   #1
sbabcock23
Member
 
Registered: Aug 2006
Location: Mississauga, Ontario, Canada
Distribution: RHEL 5, CentOS 5
Posts: 64

Rep: Reputation: 15
Question Force ssl in squirrelmail


Hi,

I have my squirrelmail up and running and my ssl certs installed and working for my site. I am using apache as my webserver. But here is what I want:

when someone types in http://domain.com/mail they get redirected to https://domain.com/mail

I am trying to figure out the mod_rewrite command in apache but just cannot figure it out.

Thanks in advance,
Steve
 
Old 08-23-2006, 04:39 PM   #2
SierraKilo
LQ Newbie
 
Registered: Jun 2004
Location: Germany
Distribution: Various Ubuntu LTS
Posts: 22

Rep: Reputation: 15
Look at this link: http://codex.wordpress.org/Administration_Over_SSL
 
Old 08-23-2006, 04:53 PM   #3
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
I've done that. You need to add three virtual hosts in Apache's httpd.conf file; one for www.domain.com, one for webmail.domain.com:80 and anotherone for webmail.domain.com:443. When they try http://webmail.domain.com it will redirect it to https://webmail.domain.com. You can do it with Apache's Redirect command. Make sure that your certs contain the name of the page or it'll prompt about it every time.
 
Old 08-23-2006, 09:27 PM   #4
sbabcock23
Member
 
Registered: Aug 2006
Location: Mississauga, Ontario, Canada
Distribution: RHEL 5, CentOS 5
Posts: 64

Original Poster
Rep: Reputation: 15
it worked thanks

It worked, thanks guys
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsFTPd - SSL connection and dynamic SSL ports toxoplasme Linux - Server 11 08-22-2008 11:50 PM
creating an SSL page under non SSL site with apache1.33? taiwf Linux - Software 1 06-27-2006 02:06 AM
SSL Connections / second and SSL Accelerator Cards on Linux LinuxGeek Linux - Networking 0 06-10-2006 09:18 AM
need help with apach virtual hosts ssl/non ssl sites danthach Linux - Networking 3 05-25-2006 07:40 AM
apache2 - ssl : connection via ssl interrupted ldp Linux - Software 0 10-02-2005 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration