Bug#297829: [Pkg-nagios-devel] Bug#297829: wrong urls in side.html
sean finney <firstname.lastname@example.org>, email@example.com
Thu, 3 Mar 2005 13:46:56 -0500
Content-Type: text/plain; charset=us-ascii
On Thu, Mar 03, 2005 at 07:04:48PM +0100, jan gregor wrote:
> It does not work when yo do not have nagios stored in /nagios directory,
> but instead you are using virtualhost. So when nagios is stored in
actually, the change was made so that cases like this (and cases wherein
nagios is in another subdirectory) would work at all. indeed, i have
been able to configure nagios to work on a virtual host. basically,
you need to make a copy and/or modify /etc/nagios/apache.conf, include
that in your virtual host config, and do the following:
ScriptAlias /cgi-bin /usr/lib/cgi-bin/nagios
Alias / /usr/share/nagios/htdocs/
and there are a few more things like this you'll probably have to do
for anything else aliased. the important thing is that all of the
aliases and scriptaliases have to go before the "alias /".
anyway, give it a try and let me know how that works for you. if you
get nagios working in a satisfactory manner, send me your config and
i'll use it to make an example template in /usr/share/doc for the next
upload, which will probably be in the near future.
ps - please preserve the CC headers in the bug report, as it may be
useful for other people in the same situation as you.
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----