httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike VanHorn <>
Subject [users@httpd] Redirecting to secure server
Date Fri, 18 Aug 2006 16:17:15 GMT

I think is probably easy, and I'm just not getting it.

Apache 2.2.2 without SSL running on port 80 and a VirtualHost using SSL on
port 443. I have a directory on the unsecure side, /path/to/directory/. I
need to redirect unsecure requests for that to the secure, that is redirect


So, I put the following into httpd.conf:

Redirect /path/to/directory/

Apache then start okay, but the browser gives an error that the redirect is
incorrect. I think it's taking the redirect command on the unsecure side,
issuing it, and then when the browser requests the https:// URL, the
redirect again has an affect.

There must be a "correct" way to do this, and I'm just not getting it, so
any help would be greatly appreciated.


Mike VanHorn
Senior Computer Systems Administrator 
College of Engineering and Computer Science
Wright State University
265 Russ Engineering Center

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