httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Problem redirecting http to https
Date Mon, 04 Apr 2005 16:01:45 GMT
On Apr 4, 2005 11:40 AM, Shaun T. Erickson <> wrote:
> We have a site, defined in the main section of httpd.conf (not as a
> virtual host). We got, and installed, an ssl certificate, and created
> an ssl virtual host container that points to the same place as the
> main site. I've been able to access the site via http or https. Now, I
> need to change this so that the site can only be accessed via https.
> I tried putting this in httpd.conf:
> Redirect permanent /
> but this doesn't work. When I try to go to
>, the ssl access log shows
> that it's loading /jsp/login.jsp over and over and over ...
> How do I do this correctly?

Make a <VirtualHost _default_:80> block and put the Redirect in there
so it will only apply to requests on the non-ssl port.  (You'll
probably also want a <VirtualHost> block for SSL.)


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