Page 1 of 1

how to customize mantis to redirect to https

Posted: 23 Mar 2011, 11:46
by fonnnnnn
Hi,

I just install ssl certificate for my mantis web. When i login https:// , it always redirect to http:// with some error
"Your browser either does not know how to handle cookies, or refuses to handle them."
and when i login in http:// and go to next page , it always redirect to http://
I want to customize mantis to redirect to https with mantis 1.2.3 . Anyone know how to change config to redirect to https:// page ?


Please help.
fonnnnnn


------------------------------------------------------------------------------------------------------------------------------
yeah i got it. !!

i just place one line in my config_inc.php

$g_path = isset( $t_url ) ? $t_url : 'https://localhost/mantisbt/';

and every http:// and https:// will redirect to my login page https://.

thank everyone for read ^^

Re: how to customize mantis to redirect to https

Posted: 01 Feb 2018, 04:55
by rbngan
Thank you that worked for me to route my sub domain to secure login.