Both cases are not work/~\
Apache httpd.conf
-
how can i redirect XXX.com/ to XXX.com/homepage ??
…?
redirect permanent / https://XXX.com/homepage
…?
what else should i add for this statement? -
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]
</directory>
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!