Nagios /Apache/ScriptAlias

Apache, Lighttpd, nginx, Cherokee
Post Reply
in flames
Posts: 70
Joined: 2003-12-24 22:33
 

Nagios /Apache/ScriptAlias

Post by in flames »

Hallo,

habe ein kleines Problem mit der Installation von Nagios, und zwar häng ich jetzt beim Apache fest, ich habe dies in die httpd.conf eingefügt:

Code: Select all

ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory "/usr/local/nagios/sbin/">
    AllowOverride AuthConfig
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

Alias /nagios/ /usr/local/nagios/share/
<Directory "/usr/local/nagios/share">
    Options None
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
</Directory>
Die Pfade sind korrekt, Nagios liegt unter /usr/local/nagios

Beim Neustart von Apache bekomm ich jetzt allerdings diese Meldung:

Code: Select all

Starting web server: apacheSyntax error on line 5 of /etc/apache/httpd.conf:
Invalid command 'ScriptAlias', perhaps mis-spelled or defined by a module not included in the server configuration
failed
Vielen Dank!!

PS Apache = 1.3.26
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Nagios /Apache/ScriptAlias

Post by Joe User »

Ohne die Zeilen 0 bis 10 der httpd.conf kann Dir nicht geholfen werden...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
in flames
Posts: 70
Joined: 2003-12-24 22:33
 

Re: Nagios /Apache/ScriptAlias

Post by in flames »

Hätte ich vielleicht dazuschreiben sollen, sorry

Code: Select all

##
## httpd.conf -- Apache HTTP server configuration file
##

ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory "/usr/local/nagios/sbin/">
    AllowOverride AuthConfig
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

Alias /nagios/ /usr/local/nagios/share/
<Directory "/usr/local/nagios/share">
    Options None
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
</Directory>


#
# Based upon the NCSA server configuration files originally by Rob McCool.
compositiv
Posts: 193
Joined: 2003-01-22 14:58
Location: Hamburg
Contact:
 

Re: Nagios /Apache/ScriptAlias

Post by compositiv »

mod_alias laden?
in flames
Posts: 70
Joined: 2003-12-24 22:33
 

Re: Nagios /Apache/ScriptAlias

Post by in flames »

Der ist geladen
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: Nagios /Apache/ScriptAlias

Post by oxygen »

Hast du etwa den Nagios-Teil ganz oben in die httpd.conf eingefügt? Der muss zum Schluss rein. So kennt der Apache ja noch gar nicht die Module.
Last edited by oxygen on 2004-03-27 12:15, edited 1 time in total.
in flames
Posts: 70
Joined: 2003-12-24 22:33
 

Re: Nagios /Apache/ScriptAlias

Post by in flames »

Ich bin vielleicht ein Idiot :lol:

Hab es jetzt als allerletzes gemacht und siehe da es läuft.

Vielen Dank !!
Post Reply