httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson, Robert D." <>
Subject RE: [users@httpd] Force SSL (and redirect?)
Date Tue, 03 Dec 2002 20:38:08 GMT

> How can I force a directory to be accessed only using SSL, and also if
> accessed via http:// redirect to https://?

I'm in the middle of implementing the same thing.  What I did was, add a
redirect statement in the http version's virtualhost.  It would look
something like this:

    DocumentRoot /location/of/doc/root
    Redirect /secured/area/

That works great for me.

 ~ Robert

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