[Pkg-nagios-devel] Bug#420009: Apache2.conf does not work

Joerg Dorchain joerg at dorchain.net
Thu Apr 19 12:11:58 UTC 2007


Package: nagios2
Version: 2.6-3

Hello,

I just installed a fresh naios2 from testing and found
/etc/nagios2/apache2.conf not owkring. Apach2.2 even complains about a
potential misconfiguration.

The stylesheet aliases part
# Where the stylesheets (config files) reside
Alias /nagios2/stylesheets /etc/nagios2/stylesheets
# nagios 1.x:
#Alias /nagios/stylesheets /etc/nagios2/stylesheets

needs to be in front of the html page alias:
# Where the HTML pages live
Alias /nagios2 /usr/share/nagios2/htdocs
# nagios 1.x:
#Alias /nagios /usr/share/nagios2/htdocs

because otherwise it is never evaulated as the earlier and shorter
alias matches first.

IMHO this was introduced with the merge of html and and cgis into a
single DirectoryMatch clause.

Bye,

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20070419/397e30b0/attachment.pgp


More information about the Pkg-nagios-devel mailing list