httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew England <>
Subject [users@httpd] Redirection http: to https: & truncating "www." prefix
Date Mon, 11 Oct 2004 04:02:01 GMT

I am attempting to redirect all http (port 80) access to my server to https 
(SSL on port 443).  I've added this to my httpd.conf and it seems to 
work.  Can this group verify this will be correct for all my 

<VirtualHost *:443>

<VirtualHost *:80>
Redirect permanent /

I also want to truncate the "www." prefix on the https access (as I think I 
have done in the http access) with the following, additional lines:

<VirtualHost *:443>
     Redirect permanent /

However, this does not appear to work.  Any pointers/recommendations?

My apologies if this is a faq.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message