Apache Nagios config - a different question
Marc Powell
marc at ena.com
Sat Mar 19 16:15:15 CET 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of nemir nemiria
> Sent: Friday, March 18, 2005 9:13 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Apache Nagios config - a different question
>
> Hey there everyone...
>
> I am a bit keen to change my nagios url from
>
> http://domain.com/nagios/
>
> to
>
> http://nagios.domain.com
>
> I am wondering if anyone else out there has done this successfully,
and
> if
> so what their apache config looked like? (I have set up the DNS
already,
> it is just a matter of getting apache right.)
>
> To make it more confusing, one of my nagios boxes is running apache
1.3.x,
> the other is running 2.0.x. I understand that there are subtle
> differences
> in their configuration.
Known to work with 1.3.x --
Configure Nagios with --
./configure --with-cgiurl=/cgi-bin --with-htmurl=/
--other-nagios-options...
Apache config --
<VirtualHost *>
ServerName nagios.domain.com
Serveradmin some at email.address
DocumentRoot /usr/local/nagios/share
ScriptAlias /cgi-bin/ "/usr/local/nagios/sbin/"
<Directory /usr/local/nagios/sbin>
AllowOverride AuthConfig
Options ExecCGI
Satisfy All
</Directory>
<Directory /usr/local/nagios/share>
AllowOverride AuthConfig
Options ExecCGI
order allow,deny
allow from all
</Directory>
</VirtualHost>
--
Marc
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list