On Thu, Apr 19, 2007 at 02:11:58PM +0200, Joerg Dorchain wrote: > 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
wtf? In svn, both Alias statements are commented out. > 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. Good point. I have modified this to read: # Where the stylesheets (config files) reside #Alias /nagios2/stylesheets /etc/nagios2/stylesheets # nagios 1.x: #Alias /nagios/stylesheets /etc/nagios2/stylesheets # Where the HTML pages live Alias /nagios2 /usr/share/nagios2/htdocs # nagios 1.x: #Alias /nagios /usr/share/nagios2/htdocs Is that ok now? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]