httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Benton <rob.ben...@conwaycorp.net>
Subject [users@httpd] redirecting everything to ssl
Date Wed, 30 Nov 2005 22:35:59 GMT
I've got a site on my intranet running with mod_ssl.  This site used to 
run over plain http://.  I'd like to redirect everyone trying to access 
the old address to the new address via https://.

I tried just:
Redirect permanent http://site https://site

but I get a 400 Bad Request error.  I also looked at mod_rewrite but 
wasn't sure if it would work for this.  What is the 
simplest/best/easiest way to do this?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message