Page 1 of 1

The requested URL /nagiosna/sources was not found

Posted: Thu Oct 12, 2017 6:00 am
by btgnrw
After successfully installing Network Analyzer and configuring SSL/TLS as per your documentation I get the following error:

Not Found
The requested URL /nagiosna/sources was not found on this server.

is this something to do with mod_rewrite and the website php config?

I'm just unsure of what needs changing within the httpd.conf or www config.

I am using a self signed certificate and am accessing the web front end via the server IP address. I can get to the https://11.11.11.11/nagiosna/ but when clicking on any navigation links I get The requested URL /nagiosna/sources was not found on this server.

Regards,
Rob

Re: The requested URL /nagiosna/sources was not found

Posted: Thu Oct 12, 2017 6:57 am
by btgnrw
I've fixed this issue now by following the guidance in this post https://support.nagios.com/forum/viewto ... ig#p232617.

The SSL documentation still needs updating to advise users to check/edit their e.g. vi /etc/httpd/conf.d/ssl.conf with the following lines:

RewriteEngine on
RewriteCond $1 !^(index\.php|scripts|media|app|js|css|img|font|vendor|config.js)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule nagiosna/(.*)$ /var/www/html/nagiosna/www/index.php/$1 [L,QSA]

Re: The requested URL /nagiosna/sources was not found

Posted: Thu Oct 12, 2017 9:45 am
by kyang
Glad you were able to solve this!

I will notify the documentation team to update the SSL documentation.
I will also test this myself.

Are we okay to lock this thread?

Re: The requested URL /nagiosna/sources was not found

Posted: Thu Oct 12, 2017 9:47 am
by btgnrw
Yes please do.

Re: The requested URL /nagiosna/sources was not found

Posted: Thu Oct 12, 2017 9:49 am
by kyang
Sounds good! If you have any more questions, feel free to create another thread.

Thank you for using the Nagios Support Forum!