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

Re: redirect whole site to https



On Wed, 2004-06-30 at 13:34, Derek T. Yarnell wrote:

> 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>

Something like:

<VirtualHost _default_:80>
  RewriteEngine on
  RewriteRule ^/.*$ https://jaundiced.csic.umd.edu/$1 [L,R]
</VirtualHost>
 
But it looks rather more complex, isn't it?

-- 
Ing. Héctor Daniel Cortés González <hdcg cie unam mx>	| Don't take
antes 'Aztec Eagle' Turbo <turbo lsl com mx>		| the name of
http://www.cie.unam.mx/xml/sacad/uc/hdcg/		|    root
RHCE 803004353910936. Linux User #13086. 		|  in vain.
------------------------------------------------------------------------
perl -wle '(1 x $_) !~ /^(11+)\1+$/ && print while ++ $_'

Attachment: signature.asc
Description: This is a digitally signed message part


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