[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: redirect whole site to https



Hello...

On Wed, 30 Jun 2004 14:34:44 -0400, Derek T. Yarnell <derek cs umd edu> wrote:
> What is the easiest way to redirect a whole apache web site to the
> https url. We do it in one way by running two seppart apache instances

why?

> and in the non-ssl one we just redirect to the SSL one.
> 
> Is there an easier way to tell in the main httpd.conf file to say
> something like
> 
> <IfDefine !SSL>
>         Redirect / https://jaundiced.csic.umd.edu
> </IfDefine>
> 

<VirtualHost *:80>
        ServerName default
        Redirect / https://www.example.com/
</VirtualHost>

> --
> ---
> Derek T. Yarnell
> University of Maryland
> Computer Science Department Unix Staff
> derek cs umd edu
> 
> 
> --
> Taroon-list mailing list
> Taroon-list redhat com
> http://www.redhat.com/mailman/listinfo/taroon-list
> 


-- 
Christopher McCrory
 "The guy that keeps the servers running"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]