> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
> Spruell, Darren-Perot
> Sent: Friday, June 23, 2006 3:22 PM
> To: Misc OpenBSD
> Subject: Re: Nagios and Apache
> 
> From: [EMAIL PROTECTED]
> > I've installed and configured nagios, and I can open the start page
> > with no problems. But I don't have access to the links that monitor
> > services, such as Tatical Overview. At apache log I have the
following
> > error messages:
> >
> > [Fri Jun 23 15:42:51 2006] [error] (13)Permission denied: exec of
> > /cgi-bin/nagios/tac.cgi failed
> > [Fri Jun 23 15:42:51 2006] [error] [client 127.0.0.1] Premature end
of
> > script headers: /cgi-bin/nagios/tac.cgi
> >
> > My httpd.conf is how it follows:
> >
> > ScriptAlias /cgi-bin/nagios "/var/www/cgi-bin/nagios"
> >
> > <Directory "/var/www/cgi-bin/nagios">
> > #  SSLRequireSSL
> >    Options ExecCGI
> >
> >    AuthName "Nagios Access"
> >    AuthType Basic
> >    AuthUserFile /var/www/nagios/htpasswd.users
> >    Require valid-user
> >
> >    Order deny,allow
> >    Deny from all
> >    Allow from 127.0.0.1
> > </Directory>
> >
> > Alias /nagios "/var/www/nagios"
> >
> > <Directory "/var/www/nagios">
> > #  SSLRequireSSL
> >    Options ExecCGI
> >    Options None
> >    AllowOverride None
> >
> >    AuthName "Nagios Access"
> >    AuthType Basic
> >    AuthUserFile /var/www/nagios/htpasswd.users
> >    Require valid-user
> >
> >    Order deny,allow
> >    Deny from all
> >    Allow from 127.0.0.1
> > </Directory>
> >
> > My apache server runs using the chroot feature. Could please anyone
> > tell me what's going wrong?
> 
> My config matches yours, except for the Allow directive.
> 
> you are accessing things from 127.0.0.1?

That was my concern... you could try the actual ip or possibly
'localhost'?

Dan Farrell
Applied Innovations
[EMAIL PROTECTED]

Reply via email to