nagios problem with include

Interdedicados tony at interdedicados.com
Sat Oct 22 13:03:40 CEST 2005


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

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.


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





More information about the Users mailing list