Users can't reset password

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Users can't reset password

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Users can't reset password

Post 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?
Former Nagios employee
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Users can't reset password

Post 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!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Users can't reset password

Post 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.
Former Nagios employee
Locked