(13)Permission denied:

I already tried to establish access rights for different users and full access
chown nagios.nagiocmd /usr/lib/nagios/ -R
chown apache.apache /usr/lib/nagios/ -R
chmod 777 /usr/lib/nagios/ -R

[error] [client 127.0.0.1] (13)Permission denied: exec of ‘/usr/lib/nagios/cgi/outages.cgi’ failed,
referer: 127.0.0.1/nagios/side.html
[Mon Aug 21 16:49:24 2006] [error] [client 127.0.0.1] Premature end of script headers: outages.cgi, referer: 127.0.0.1/nagios/side.html

In what there can be a problem?
Nagios 2.5
Copyright © 1999-2006 Ethan Galstad (nagios.org)
Last Modified: 07-13-2006

Perhaps it’s because you didn’t follow the nagios docs. Nowehere in the docs does it say to
chown nagios.nagiocmd /usr/lib/nagios/ -R
chown apache.apache /usr/lib/nagios/ -R
chmod 777 /usr/lib/nagios/ -R
Just follow the docs on how to setup the webpages and you will be fine.