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

redirecting squirrel mail from http: to https



Hey friends,


I have configure squirrelmail ,but what i  want is that if anybody
type for accessing squirrelmail on the browser like
http:192.168.1.46/webmail the apache should redirect it to the
https://192.168.1.46/webmail/

I put this code in apache but some error is coming

Location /webmail>
   RewriteEngine       on
   RewriteCond         %{SERVER_PORT} !=443
   RewriteCond       %{SERVER_ADDR} =192.168.1.46
   RewriteRule         ^.* - [F]
   ErrorDocument       403 https://192.168.1.46/webmail/
</Location>


The error shown is " Redirection limit for this URL exceeded.Unable to
load the requested page.This page may be caused by cookies that are
blocked."

I enable the cookie for http://192.168.1.46/webmail in the firefox but
still the error persist.

Please guide me how to do it.

Thanks & Regards

Ankush Grover


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