Subject: pkg/33159: nagios apache2 alias overlap
To: None <,,>
From: Carl Brewer <>
List: pkgsrc-bugs
Date: 03/28/2006 02:05:01
>Number:         33159
>Category:       pkg
>Synopsis:       nagios apache2 alias overlap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 28 02:05:00 +0000 2006
>Originator:     Carl Brewer
>Release:        NetBSD 3.0
System: NetBSD 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005 i386
Architecture: i386
Machine: i386
	when running nagios from pkgsrc with apache2, the following error occurs with the
supplied apache include file :

[Tue Mar 28 13:01:44 2006] [warn] The ScriptAlias directive in /usr/pkg/etc/nagios/nagios.conf at line 7 will probably never match because it overlaps an earlier Alias.


     reverse the order of the alias & scriptaliases in /usr/pkg/etc/nagios/nagios.conf to look like this

<IfModule mod_alias.c>
    ScriptAlias /nagios/cgi-bin/ "/usr/pkg/libexec/nagios/cgi-bin/"
    Alias /nagios/ "/usr/pkg/share/nagios/"