Classification:  UNCLASSIFIED 
Caveats: NONE

 
Use mod_rewrite, see apache documentation for details 
(http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html).  Here's how to use 
mod_rewrite to redirect http to https: 
http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#relative.

Ensure that you have apache listening on ssl port (443 by default) in your 
config -- do a netstat to confirm.

---
Dwight Victor (Contractor), CISSP, RHCT, SCSECA
DISA-PAC EMSS Gateway Hawaii
EMAIL: dwight.victor....@disa.mil
TEL:   (808) 653-3677 ext 229 
-----Original Message-----
From: motty.cruz [mailto:motty.c...@gmail.com] 
Sent: Monday, April 12, 2010 10:36 AM
To: users@httpd.apache.org
Subject: [us...@httpd] apache2.2 + ssl

Hello, 

I have apache 2.2 running on FreeBSD. Apache is working fine but when I go to 

Machinename.domain.com defaults to http://machine.domain.com/ instead of 
https://machine.domain.com/ 

I have look around, I don't see to get a solid answer to get apache to rederect 
users to https not http

Any suggestions? 

 

Thanks in advance, 

-Motty

Classification:  UNCLASSIFIED 
Caveats: NONE

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to