Page 1 of 1

Changing the url to access the web interface

Posted: Fri Sep 27, 2013 5:43 am
by eric_draven
Hi guys,
I have already checked the documentation but I didn't understand what I have to do..

I need to change url to access the nagios web interface:

from: http://localhost/nagios3
to: http//localhost/test

Could you tell me how to do it? (which files I should modify and what I should write)

Thank you

Re: Changing the url to access the web interface

Posted: Fri Sep 27, 2013 9:29 am
by abrist
Edit:

Code: Select all

/etc/httpd/conf.d/nagios.conf
Change the lines:

Code: Select all

ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
And:

Code: Select all

Alias /nagios "/usr/local/nagios/share"
To:

Code: Select all

ScriptAlias /test/cgi-bin "/usr/local/nagios/sbin"
And:

Code: Select all

Alias /test "/usr/local/nagios/share"

Re: Changing the url to access the web interface

Posted: Fri Sep 27, 2013 9:37 am
by tmcdonald
If you're using Debian/Ubuntu or one of its derivatives, you might want to look under

Code: Select all

/etc/apache2/conf.d