httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim DeBoer <>
Subject [users@httpd] http to https
Date Sat, 21 Mar 2009 08:09:35 GMT
Hi everyone,
I've been playing around with SSL and want to set up apache to automagically
handle traffic as https, rather than http on the SSL enabled sites.

For example if I type in, I want apache to read/load it as in my browser. Right now it just loads as
If I use it works properly of course.

I have mod_rewrite installed, and it works to redirect http traffic, but I
can't get it to work in this case. This is the rewrite rule I'm using:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(secure\.)? [NC]
RewriteRule . [L]

I'm not sure, but I would imagine it's something in the rewrite rule that's
messed up, but I can't seem to figure it out. It might also be something in
my SSL config for all I know.

Any suggestions?

Thanks everyone  :)

Tim DeBoer

View raw message