apache.conf
Daniel maher
dmaher at acetechnology.com
Thu Oct 7 17:50:33 CEST 2004
You can put the ScriptAlias and Alias related lines in the IfModule
section. I'd suggest putting them near the bottom, and adding a #
comment so you can remember what you did later. :-) For example:
<IfModule mod_alias.c>
(bunch of stuff)
...
...
ScriptAlias /nagios/cgi-bin/ /usr/lib/cgi-bin/nagios/
<Directory "/usr/lib/cgi-bin/nagios/">
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
</IfModule>
It doesn't /need to/ go inside of the IfModule mod_alias.c section, but
there's no harm in putting it there.
At least.. I think that's what you're asking for. :-)
--
Daniel Maher
System Engineer
ACE TECHNOLOGY INC.
_____
From: Ken E. Satkunam [mailto:ken.satkunam at northstartechnologygroup.com]
Sent: Thursday, October 07, 2004 9:44 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] apache.conf
I am very new to Linux and am trying to setup a test nagios box. I am
at the point to edit the apache.conf file to setup the web interface. I
am running Apache 1.3x, but have no idea where to place the ScriptAlias
and Alias sections detailed in the documentation. My apache.conf file
has this section. I don't understand where to add the lines with the
"IfModule" sections. Help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041007/797e060b/attachment.html>
More information about the Users
mailing list