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

Attachment: signature.asc
Description: Digital signature

Reply via email to