You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "motty.cruz" <mo...@gmail.com> on 2010/04/12 22:35:42 UTC
[users@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
RE: [users@httpd] apache2.2 + ssl (UNCLASSIFIED)
Posted by "Victor, Dwight P CTR DISA PAC" <dw...@disa.mil>.
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.ctr@disa.mil
TEL: (808) 653-3677 ext 229
-----Original Message-----
From: motty.cruz [mailto:motty.cruz@gmail.com]
Sent: Monday, April 12, 2010 10:36 AM
To: users@httpd.apache.org
Subject: [users@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
Re: [users@httpd] apache2.2 + ssl
Posted by Jason Nunnelley <ja...@jasonn.com>.
mod_redirect if it's something you want to force.
On 4/12/10 3:35 PM, motty.cruz wrote:
>
> 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
>
--
Jason A. Nunnelley
+1 2562971652
http://www.google.com/profiles/imjasonn
[Member Tekany, LLC]