I have to go with Thomas here, my money is on SElinux. I had the worst time with that on my RHEL4 setup. The premature end of headers error had me fooled for ages back then. My suggestion is, at least so you can verify and test, to turn off SElinux temporarily and see what that gives.
<br><br>I am almost convinced you will find that has solved the issue. If you want to check if SELinux is enabled run 'getenforce'. This will tell you if it is. To set it to permissive (to disable it completely you need to modify /etc/grub.conf or /etc/selinux/config) temporarily use 'setenforce 0'. Please note however this is only temporary and will not survive a reboot. If memory serves there is an audit log for SELinux somewhere too but since I do not use SELinux I must admit I am not sure where exactly that lives. I believe the tool 'seaudit' allows you to examine the log too and even gives you a peek on the policy enforced. My apologies if my explanation is not more descriptive. I decided long ago that SELinux was not something I was willing to endure on my systems since they are used too extensivly for testing purposes and SELinux slowed me down way too much.
<br><br>Hope it helps,<br>Cheers.<br><br><div><span class="gmail_quote">On 2/13/06, <b class="gmail_sendername"><a href="mailto:Thomas.Zimmer@oppenheim.de">Thomas.Zimmer@oppenheim.de</a></b> <<a href="mailto:Thomas.Zimmer@oppenheim.de">
Thomas.Zimmer@oppenheim.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Do your cgis live in this directory? (/usr/lib/nagios/cgi/)
<br>Does the apache user have full access to the directory (for test)?<br>Are you running SE linux?<br><br>Thomas Zimmer<br>Produktservice & Betrieb<br>Betrieb & Support<br>Sal. Oppenheim jr. & Cie., Frankfurt a. Main
<br>Telefon: +49 69 7134 5192<br>Internet: <a href="http://www.oppenheim.de">http://www.oppenheim.de</a><br>E-Mail: <a href="mailto:thomas.zimmer@oppenheim.de">thomas.zimmer@oppenheim.de</a><br><br><br><br>-----Ursprüngliche Nachricht-----
<br>Von: <a href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net</a><br>[mailto:<a href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net
</a>] Im Auftrag von Joćo Paulo<br>Vaz<br>Gesendet: Montag, 13. Februar 2006 16:06<br>An: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>Betreff: RE: [Nagios-users] I have a problem!!! Help
<br><br><br>This my configuration file:<br><br>ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi<br><br><Directory "/usr/lib/nagios/cgi/"><br>    Options ExecCGI<br>    AllowOverride None<br>    Order allow,deny
<br>    Allow from all<br></Directory><br><br>Alias /nagios /usr/share/nagios<br><br><Directory "/usr/share/nagios/"><br>    Options None<br>    AllowOverride None<br>    Order allow,deny<br>    Allow from all
<br></Directory><br><br>Joćo Paulo Vaz<br><br>-----Original Message-----<br>From: <a href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net</a><br>[mailto:<a href="mailto:nagios-users-admin@lists.sourceforge.net">
nagios-users-admin@lists.sourceforge.net</a>] On Behalf Of<br><a href="mailto:jeremy.ashton@bell.ca">jeremy.ashton@bell.ca</a><br>Sent: Monday, February 13, 2006 11:58 AM<br>To: <a href="mailto:mh+nagios-users@zugschlus.de">
mh+nagios-users@zugschlus.de</a>; <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>Subject: RE: [Nagios-users] I have a problem!!! Help<br><br> Could you show us what your apache configuration file looks like as well.
<br>What does the ScriptAlias section look like for your Nagios install?<br><br>> -----Original Message-----<br>> From: <a href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net
</a><br>> [mailto:<a href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net</a>] On Behalf<br>> Of Marc Haber<br>> Sent: February 13, 2006 9:52 AM<br>> To: <a href="mailto:nagios-users@lists.sourceforge.net">
nagios-users@lists.sourceforge.net</a><br>> Subject: Re: [Nagios-users] I have a problem!!! Help<br>><br>> On Mon, Feb 13, 2006 at 11:49:21AM -0300, Joćo Paulo Vaz wrote:<br>> > [Mon Feb 13 12:24:40 2006] [error] [client 
<a href="http://200.252.90.21">200.252.90.21</a>]<br>> > (13)Permission<br>> > denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer:<br>> > <a href="http://200.252.90.27/nagios/side.html[Mon">
http://200.252.90.27/nagios/side.html[Mon</a> Feb 13 12:24:40 2006]<br>> > [error]<br>><br>> Looks like a permission problem on /usr/lib/nagios/cgi/extinfo.cgi.<br>><br>> Sheesh.<br>><br>> Greetings
<br>> Marc<br>><br>> --<br>> --------------------------------------------------------------<br>> ---------------<br>> Marc Haber         | "I don't trust Computers. They |<br>> Mailadresse im Header
<br>> Mannheim, Germany  |  lose things."    Winona Ryder | Fon:<br>> *49 621 72739834<br>> Nordisch by Nature |  How to make an American Quilt | Fax:<br>> *49 621 72739835<br>><br>><br>> -------------------------------------------------------
<br>> This SF.net email is sponsored by: Splunk Inc. Do you grep<br>> through log files<br>> for problems?  Stop!  Download the new AJAX search engine that makes<br>> searching your log files as easy as surfing the  web.
<br>> DOWNLOAD SPLUNK!<br>> <a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&</a><br>dat=121642<br>> _______________________________________________
<br>> Nagios-users mailing list<br>> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users
</a><br>> ::: Please include Nagios version, plugin version (-v) and OS<br>> when reporting any issue.<br>> ::: Messages without supporting info will risk being sent to /dev/null<br>><br><br><br>-------------------------------------------------------
<br>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files<br>for problems?  Stop!  Download the new AJAX search engine that makes<br>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
<br><a href="http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642">http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642</a><br>_______________________________________________
<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users
</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting<br>any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br><br><br><br>-------------------------------------------------------
<br>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files<br>for problems?  Stop!  Download the new AJAX search engine that makes<br>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642</a><br>_______________________________________________
<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users
</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting<br>any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br><br><br><br></blockquote></div><br>