pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/33159: nagios apache2 alias overlap



>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
>Organization:
        
>Environment:
        
        
System: NetBSD rollcage2.bl.echidna.id.au 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 
19 01:04:02 UTC 2005 
builds%works.netbsd.org@localhost:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
Architecture: i386
Machine: i386
>Description:
        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.

>How-To-Repeat:
        
>Fix:

     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/"
</IfModule>

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index