NLS Base URL

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
ssoliveira
Posts: 91
Joined: Wed Dec 07, 2016 6:02 pm

NLS Base URL

Post by ssoliveira »

Good afternoon,

Which files do I need to change; to modify the standard base url of nls?

I want the application to run in /

From

http://10.144.160.28/nagioslogserver/

To

http://10.144.160.28/
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NLS Base URL

Post by cdienger »

I'm not sure it's entirely possible since some of the files may be encrypted and I wouldn't suggest doing it if is since it can lead to unintended consequences, but when you go to http://10.144.160.28/ it will load /var/www/html/index.php which redirects to http://10.144.160.28/nagioslogserver/ and Apache directs this request to /var/www/html/nagioslogserver/www/index.php. This index.php is coded to point to files in /var/www/html/nagioslogserver/ and uses relative paths to find them. Making a change like this would require replacing the intial index.php and then updating the code to find the files in the new path.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked