how to customize mantis to redirect to https

Post about your customizations to share with others.

Moderators: Developer, Contributor

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

how to customize mantis to redirect to https

Post 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 ^^
rbngan
Posts: 3
Joined: 01 Feb 2018, 03:56

Re: how to customize mantis to redirect to https

Post by rbngan »

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