how to customize mantis to redirect to https

Post about your customizations to share with others.

Moderators: Contributor, Developer

Post Reply
fonnnnnn
Posts: 13
Joined: Mar 11, 2011 5:27 am

how to customize mantis to redirect to https

Post by fonnnnnn » Mar 23, 2011 6:46 am

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

rbngan
Posts: 3
Joined: Jan 31, 2018 10:56 pm

Re: how to customize mantis to redirect to https

Post by rbngan » Jan 31, 2018 11:55 pm

Thank you that worked for me to route my sub domain to secure login.

Post Reply