<IfModule mod_rewrite.c>
# Turn on URL rewriting
RewriteEngine On
Options symLinksIfOwnerMatch
# Installation directory
RewriteBase /pnp4nagios/
# Protect application and system files from being viewed
RewriteRule "^(?:application|modules|system)/" - [F]
# Allow any files or directories that exist to be displayed
directly
RewriteCond “%{REQUEST_FILENAME}” !-f
RewriteCond “%{REQUEST_FILENAME}” !-d
# Rewrite all other URLs to index.php/URL
RewriteRule “^.*$” “index.php/$0” [PT]
I am kind of lost now. Earlier “The requested URL /pnp4nagios/graph was not found on this server” this was displayed but now it asks for authentication. Basically the login to icingaweb reports en error as below
“This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn’t understand how to supply the credentials required.”
I haven’t made any changes so far.
My web server has the link to /usr/share/nagios/html/pnp4nagios/