local IP shows when generating new IDs

when the recipient received the invite or a reset password request, the local LAN (private) IP shows.

example:
http://192.168.168.15/mantis/verify.php?id=2&confirm_hash=996960

instead of:
http://some.public-domain-name.com/mantis/verify.php?id=2&confirm_hash=9...

is there a way to override this?

local IP shows when generating new IDs

Ok, I am not sure whether this is going to work for you in all cases. So you can try it, but make sure everything is working once you make the change, otherwise switch back to your old config. You should be able to set the $g_path variable in the config_inc.php file on the JumpBox. Running the following command, replacing www.example.com with your domain name should do it:

sudo sed -i.bak "8i\$g_path = 'http://www.example.com/mantis/'" /var/www/mantis/config_inc.php

You could, of course, just edit it with nano or vi or something.

Then check your site out, you can send a reminder to a user to test email. If it doesn't look like its working you can revert that change with this:

sudo mv /var/www/mantis/config_inc.php.bak /var/www/mantis/config_inc.php

Let me know how it goes.

Austin

hi austin, as i mentioned,

hi austin,

as i mentioned, $g_path def worked.

however i noticed a couple of things:
1. site response time was greatly degraded
2. the CSS (theme) looked a bit off.

any clue please?

thank you.

Hi, You can try undo

Hi,
You can try undo everything looking at CSS and response times again. Then making the changes one by one and checking CSS and response time for each change. See what is causing what. Then you have to decide whether you can live without the modification or whether you can live with the change in functionality.

Austin

$g_path def worked :) thank

$g_path def worked :)

thank you

local IP shows when generating new IDs

You might search their documents on the websites. I don't know off hand, I will have to look around a bit.

http://www.mantisbt.org/manual/

Let me know if you find anything.

Austin

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.