The requested URL /nagiosna/sources was not found

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
btgnrw
Posts: 24
Joined: Thu Sep 21, 2017 8:23 am

The requested URL /nagiosna/sources was not found

Post 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
btgnrw
Posts: 24
Joined: Thu Sep 21, 2017 8:23 am

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

Post 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]
kyang

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

Post 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?
btgnrw
Posts: 24
Joined: Thu Sep 21, 2017 8:23 am

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

Post by btgnrw »

Yes please do.
kyang

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

Post by kyang »

Sounds good! If you have any more questions, feel free to create another thread.

Thank you for using the Nagios Support Forum!
Locked