[Pkg-nagios-devel] Bug#420009: Apache2.conf does not work
Marc Haber
mh+debian-packages at zugschlus.de
Wed Oct 31 13:23:36 UTC 2007
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
More information about the Pkg-nagios-devel
mailing list