After the upgrade of Nagios Log Server to version 1.4.0 I get the following Error Message: 404 The requested URL /nagioslogserver/login was not found on this server., when I try to login to the Nagios Log Server Web Page.
Our Log Server (Cluster) is configured to be accessed only over SSL (port 443) using the suggested configuration from Nagios -> https://assets.nagios.com/downloads/nag ... alyzer.pdf
Could somebody help please with this problem?
Many thanks and best regards
Milan
'404 /nagioslogserver/login was not found' after 1.4.0 upgrd
Re: '404 /nagioslogserver/login was not found' after 1.4.0 u
I'm going to copy this from a ticket that I had earlier for the same issue:
Inside of /etc/httpd/conf.d/ssl.conf can you navigate to the bottom of the file, and right above </VirtualHost> add the following lines:
So it should look like:
Restart apache: service httpd restart
This fixes it.
Inside of /etc/httpd/conf.d/ssl.conf can you navigate to the bottom of the file, and right above </VirtualHost> add the following lines:
Code: Select all
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 nagioslogserver/(.*)$ /var/www/html/nagioslogserver/www/index.php/$1 [L,QSA]
Code: Select all
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
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 nagioslogserver/(.*)$ /var/www/html/nagioslogserver/www/index.php/$1 [L,QSA]
</VirtualHost>This fixes it.
Former Nagios Employee.
me.
me.
Re: '404 /nagioslogserver/login was not found' after 1.4.0 u
Hi Mr. Smith
That worked very well!
Many thanks and best regards
Milan
That worked very well!
Many thanks and best regards
Milan
Re: '404 /nagioslogserver/login was not found' after 1.4.0 u
Glad we were able to help. We'll lock this thread now and feel free to open another should you require assistance with anything else.
Be sure to check out the Knowledgebase for helpful articles and solutions!