nagios andi include problem
Arno Lehmann
al at its-lehmann.de
Sat Oct 22 14:00:23 CEST 2005
You sent this mail twice.
On 22.10.2005 13:21, Interdedicados wrote:
> Hi ALL:
>
>
> Im installing nagios and when I put this line in httpd.conf :
>
> Include /usr/local/nagios/etc/apache.conf
>
>
> to apache.conf:
>
>
> ScriptAlias /cgi-bin/nagios /usr/local/nagios/sbin
> ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
That needs to be put in the proper location or directory directives. The
apache Manual has lots of explanations, and, assuming you've got apache
installed from some sort of package, the existing configuration can also
be used as a template.
Arno
> Options ExecCGI
>
> AllowOverride AuthConfig
> Order Allow,Deny
> Allow From All
>
> AuthName "Acceso a Nagios"
> AuthType Basic
> AuthUserFile /usr/local/nagios/etc/htpasswd.users
> require valid-user
>
>
> Alias /nagios/stylesheets /usr/local/nagios/share/stylesheets
>
> Alias /netsaint /usr/local/nagios/share
> Alias /nagios /usr/local/nagios/share
>
> Options FollowSymLinks
>
> AllowOverride AuthConfig
> Order Allow,Deny
> Allow From All
>
> AuthName "Acceso a Nagios"
> AuthType Basic
> AuthUserFile /usr/local/nagios/etc/htpasswd.users
> require valid-user
>
>
>
> Then httpd doesn't start and I do a /etc/init.d/httpd configtest and it
>
> says:
>
> AllowOverride not allowed here
>
>
> or
>
>
> ScriptAlias not allowed here
>
>
> and if I comment those lines error goes to next line.
>
> I use fedora 4, nagios-1.2 and nagios-plugins-1.3.1
>
>
> Can you help me?
>
> Thank you
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
IT-Service Lehmann al at its-lehmann.de
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list