Page 1 of 1

How to Change Mantis URL

Posted: 31 Oct 2013, 12:18
by Ashwinntt
Hi
How to change the url of the mantis means say old url mantisdms.com to new url mantisdmstool.com :D

Re: How to Change Mantis URL

Posted: 04 Nov 2013, 10:07
by Ashwinntt
I have opened the config_inc.php file to edit the $g_path but the string $g_path is not present in the file config_inc.php, how to change the Mantis URL now?

Re: How to Change Mantis URL

Posted: 04 Nov 2013, 10:50
by atrol
Ashwinntt wrote:$g_path is not present in the file config_inc.php, how to change the Mantis URL now?
Copy the option from file config_defaults_inc.php to config_inc.php and adjust to your needs.

Re: How to Change Mantis URL

Posted: 05 Nov 2013, 06:38
by Ashwinntt
Even in config_defaults_inc.php the $g_path (url) is not present , where I can change the URL to access the Mantis?

Re: How to Change Mantis URL

Posted: 05 Nov 2013, 08:18
by atrol
Ashwinntt wrote:Even in config_defaults_inc.php the $g_path (url) is not present
$g_path is set in config_defaults_inc.php if you use an original unchanged version of MantisBT.
Someone changed the file on your installation.

Re: How to Change Mantis URL

Posted: 05 Nov 2013, 08:24
by Ashwinntt
Hi atrol,
Now we want to change the url and I have checked the files the modification date is same as the day when we installed it no one has changed it

Re: How to Change Mantis URL

Posted: 05 Nov 2013, 08:31
by atrol
I double checked our repository at github and our downloads at sourceforge.
I can just repeat: $g_path is set in config_defaults_inc.php if you use an unchanged MantisBT 1.2.15.

Re: How to Change Mantis URL

Posted: 05 Nov 2013, 09:09
by Ashwinntt
Hi atrol
The path is "$g_path = $t_protocol . '://' . $t_host . $t_path;" in the config_defaults_inc.php file is it the default/unchanged one or it is changed

It would be really very helpful if you provide a sample config_inc.php file in which the $g_path is configured so that we can change our config_inc.php file accordingly

Re: How to Change Mantis URL

Posted: 05 Nov 2013, 12:50
by atrol