Forum Moderators: phranque
The requested URL /pnp4nagios/index.php/graph was not found on this server.
The links to the graphs (which worked perfectly before) look like this: srv-monitor/pnp4nagios/index.php/graph?host=sj-access&srv=ICMP <VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /usr/local/nagios/share/vshell/
<Directory />
Options Indexes FollowSymLinks MultiViews
Order allow,deny
AllowOverride All
Allow from all
AuthType Kerberos
AuthName "Nagios Authentification"
KrbMethodNegotiate On
KrbMethodK5Passwd On
KrbAuthRealms COMPANY.COM
Krb5KeyTab /etc/company.keytab
require user me@COMPANY.COM
require user otheradmin@COMPANY.COM
require user thirdadmin@COMPANY.COM
require user root@COMPANY.COM
</Directory>
Alias /pnp/ "/usr/local/pnp4nagios/share/"
<Directory "/usr/local/pnp4nagios/share/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/local/nagios/sbin/
<Directory "/usr/lib/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug
RewriteLog "/tmp/rewrite.log"
RewriteLogLevel 9
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost> Alias /pnp4nagios "/usr/local/pnp4nagios/share"
<Directory "/usr/local/pnp4nagios/share">
AllowOverride All
Order allow,deny
Options FollowSymlinks
Allow from all
#
# Use the same value as defined in nagios.conf
#
#AuthName "Nagios Access"
#AuthType Basic
#AuthUserFile /usr/local/nagios/etc/htpasswd.users
#Require valid-user
<IfModule mod_rewrite.c>
# Turn on URL rewriting
RewriteEngine On
Options FollowSymLinks
# Installation directory
RewriteBase /pnp4nagios
# Protect application and system files from being viewed
RewriteRule ^(application|modules|system) - [F,L]
# 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,L,NE]
</IfModule>
</Directory> [Thu Mar 08 11:13:20 2012] [debug] src/mod_auth_kerb.c(1628): [client 172.16.0.139] kerb_authenticate_user entered with user (NULL) and auth_type Kerberos, referer: http://srv-monitor/index.php?type=services&state_filter=ACKNOWLEDGED[Thu Mar 08 11:13:20 2012] [debug] mod_deflate.c(615): [client 172.16.0.139] Zlib: Compressed 478 to 322 : URL /pnp4nagios/index.php/graph, referer: http://srv-monitor/index.php?type=services&state_filter=ACKNOWLEDGED
[Thu Mar 08 11:13:20 2012] [debug] src/mod_auth_kerb.c(1628): [client 172.16.0.139] kerb_authenticate_user entered with user (NULL) and auth_type Kerberos, referer: http://srv-monitor/index.php?type=services&state_filter=ACKNOWLEDGED
[Thu Mar 08 11:13:20 2012] [debug] src/mod_auth_kerb.c(1240): [client 172.16.0.139] Acquiring creds for HTTP@srv-monitor, referer: http://srv-monitor/index.php?type=services&state_filter=ACKNOWLEDGED
[Thu Mar 08 11:13:20 2012] [debug] src/mod_auth_kerb.c(1385): [client 172.16.0.139] Verifying client data using KRB5 GSS-API , referer: http://srv-monitor/index.php?type=services&state_filter=ACKNOWLEDGED
[Thu Mar 08 11:13:20 2012] [debug] src/mod_auth_kerb.c(1401): [client 172.16.0.139] Client didn't delegate us their credential, referer: http://srv-monitor/index.php?type=services&state_filter=ACKNOWLEDGED
[Thu Mar 08 11:13:20 2012] [debug] src/mod_auth_kerb.c(1420): [client 172.16.0.139] GSS-API token of length 163 bytes will be sent back, referer: http://srv-monitor/index.php?type=services&state_filter=ACKNOWLEDGED
[Thu Mar 08 11:13:20 2012] [error] [client 172.16.0.139] File does not exist: /usr/local/pnp4nagios/share/index.php/graph, referer: http://srv-monitor/index.php?type=services&state_filter=ACKNOWLEDGED
[Thu Mar 08 11:13:20 2012] [debug] mod_deflate.c(615): [client 172.16.0.139] Zlib: Compressed 301 to 229 : URL /pnp4nagios/index.php/graph, referer: http://srv-monitor/index.php?type=services&state_filter=ACKNOWLEDGED
[Thu Mar 08 11:13:21 2012] [debug] src/mod_auth_kerb.c(1628): [client 172.16.0.139] kerb_authenticate_user entered with user (NULL) and auth_type Kerberos
[Thu Mar 08 11:13:21 2012] [debug] mod_deflate.c(615): [client 172.16.0.139] Zlib: Compressed 478 to 322 : URL /favicon.ico
[Thu Mar 08 11:13:21 2012] [debug] src/mod_auth_kerb.c(1628): [client 172.16.0.139] kerb_authenticate_user entered with user (NULL) and auth_type Kerberos
[Thu Mar 08 11:13:21 2012] [debug] src/mod_auth_kerb.c(1240): [client 172.16.0.139] Acquiring creds for HTTP@srv-monitor
[Thu Mar 08 11:13:21 2012] [debug] src/mod_auth_kerb.c(1385): [client 172.16.0.139] Verifying client data using KRB5 GSS-API
[Thu Mar 08 11:13:21 2012] [debug] src/mod_auth_kerb.c(1401): [client 172.16.0.139] Client didn't delegate us their credential
[Thu Mar 08 11:13:21 2012] [debug] src/mod_auth_kerb.c(1420): [client 172.16.0.139] GSS-API token of length 163 bytes will be sent back
[Thu Mar 08 11:13:21 2012] [error] [client 172.16.0.139] File does not exist: /usr/local/nagios/share/vshell/favicon.ico
[Thu Mar 08 11:13:21 2012] [debug] mod_deflate.c(615): [client 172.16.0.139] Zlib: Compressed 286 to 219 : URL /favicon.ico 172.16.0.139 - me@COMPANY.COM [08/Mar/2012:11:11:58 --0500] [srv-monitor/sid#b77ba560][rid#b74c1058/initial] (3) [perdir /usr/local/pnp4nagios/share/] add path info postfix: /usr/local/pnp4nagios/share/index.php -> /usr/local/pnp4nagios/share/index.php/graph172.16.0.139 - me@COMPANY.COM [08/Mar/2012:11:11:58 --0500] [srv-monitor/sid#b77ba560][rid#b74c1058/initial] (3) [perdir /usr/local/pnp4nagios/share/] strip per-dir prefix: /usr/local/pnp4nagios/share/index.php/graph -> index.php/graph
172.16.0.139 - me@COMPANY.COM [08/Mar/2012:11:11:58 --0500] [srv-monitor/sid#b77ba560][rid#b74c1058/initial] (3) [perdir /usr/local/pnp4nagios/share/] applying pattern '.*' to uri 'index.php/graph'
172.16.0.139 - me@COMPANY.COM [08/Mar/2012:11:11:58 --0500] [srv-monitor/sid#b77ba560][rid#b74c1058/initial] (4) [perdir /usr/local/pnp4nagios/share/] RewriteCond: input='/usr/local/pnp4nagios/share/index.php' pattern='!-f' => not-matched
172.16.0.139 - me@COMPANY.COM [08/Mar/2012:11:11:58 --0500] [srv-monitor/sid#b77ba560][rid#b74c1058/initial] (1) [perdir /usr/local/pnp4nagios/share/] pass through /usr/local/pnp4nagios/share/index.php # a2enmod rewrite
Module rewrite already enabled