Two questions! redirection of homepage and https!

Both cases are not work/~\

Apache httpd.conf

  1. how can i redirect to ??
    redirect permanent /
    what else should i add for this statement?

  2. and how can i redirect from http to https whenever users enter with http??
    <directory C:/…>
    RewriteEnginee On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^(.*) https://%{SERVER_NAME}/secure/$1 [L,R]

these codes are tried but nothing can see. i am a new learner (only for one day) in apache, there are many things confusing me!!
thanks for ans!

PUSH!! anyone know?


[FONT=Courier New]RedirectMatch permanent ^/$[/FONT]

Mostly this looks good except for one too many "e"s.

i have finished this task=) !