Page 1 of 1

Users can't reset password

Posted: Tue Oct 27, 2015 12:58 pm
by gormank
nagiosxilogin.php doesn't exist. How can user reset passwords if the link doesn't work?

https://10.136.243.84/nagiosxilogin.php?finishresetpass&username=kgorman&token=7efb5b896335c77d039585affc5f4fe2bab9dbf74f1a9554f7478bdb127eb96d

Not Found
The requested URL /nagiosxilogin.php was not found on this server.
--------------------------------------------------------------------------------
Apache/2.2.15 (Red Hat) Server at 10.136.243.84 Port 443

Re: Users can't reset password

Posted: Tue Oct 27, 2015 1:15 pm
by tmcdonald
What XI version is this? And what is under Admin -> System Settings -> Program URL? Does it have a forward slash at the end?

Re: Users can't reset password

Posted: Tue Oct 27, 2015 1:56 pm
by gormank
2.6
https://10.133.134.84/nagiosxi

The / fixes it...
https://10.133.134.84/nagiosxi/

Interesting that w/o the / the system refers to a .php file not in existence. With the / its login.php, which exists.

Feel free to close.
Thanks!

Re: Users can't reset password

Posted: Tue Oct 27, 2015 2:14 pm
by tmcdonald
It has to do with concatenation. The URL it is trying to hit is http://192.168.1.100/nagiosxi/login.php and it pulls the http://192.168.1.100/nagiosxi/ part from the Program URL section then appends "login.php" after. Without the forward slash it just gets http://192.168.1.100/nagiosxilogin.php. I think in later versions we force a trailing forward slash.

At any rate, going to lock this up now.