FrankieTNG
Registered User
Ich bin gerade dabei mir Nagios auf meinem Alturo (Suse 9.1)-Server zu installieren.
Prinzipiell läuft Nagios, aber ...
bei der Ausführung der CGI erscheint im Browser die Fehlermeldung
Premature end of script headers: status.cgi
bzw. in /var/log/apache2/suexec.log
uid: (636/web0) gid: (636/636) cmd: status.cgi
command not in docroot (/usr/lib/nagios/cgi/status.cgi)
Die Nagios-CGI werden standardmäßig (Suse 9.1) in /usr/lib/nagios/cgi installiert, daher habe ich in der httpd.conf eingetragen:
ScriptAlias /nagios/cgi-bin usr/lib/nagios/cgi
<Directory /usr/lib/nagios/cgi/>
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from al
</Directory>
irgendwie reicht das ja wohl nicht ...
DokumentRoot ist standardmäßig (confixx) wie folgt gesetzt:
/etc/apache2/confixx_mhost.conf: DocumentRoot /srv/www/confixx/html
/etc/apache2/confixx_mhost.conf: DocumentRoot /srv/www/confixx/html
/etc/apache2/confixx_mhost.conf.confixx_backup: DocumentRoot /srv/www/confixx/html
/etc/apache2/confixx_mhost.conf.confixx_backup: DocumentRoot /srv/www/confixx/html
/etc/apache2/confixx_vhost.conf: DocumentRoot /srv/www/confixx/html/gesperrt
/etc/apache2/confixx_vhost.conf: DocumentRoot /home/htdocs/web0/html
/etc/apache2/confixx_vhost.conf: DocumentRoot /home/htdocs/web1/html
/etc/apache2/confixx_vhost.conf: DocumentRoot /home/htdocs/web2/html
Was kann ich nun tun, damit auch sicherheitstechnisch alles sauber ist?
Danke für jeden Tipp!
Frank
PS: Ein HowTo folgt, sobald alles rund läuft ..
Prinzipiell läuft Nagios, aber ...
bei der Ausführung der CGI erscheint im Browser die Fehlermeldung
Premature end of script headers: status.cgi
bzw. in /var/log/apache2/suexec.log
uid: (636/web0) gid: (636/636) cmd: status.cgi
command not in docroot (/usr/lib/nagios/cgi/status.cgi)
Die Nagios-CGI werden standardmäßig (Suse 9.1) in /usr/lib/nagios/cgi installiert, daher habe ich in der httpd.conf eingetragen:
ScriptAlias /nagios/cgi-bin usr/lib/nagios/cgi
<Directory /usr/lib/nagios/cgi/>
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from al
</Directory>
irgendwie reicht das ja wohl nicht ...
DokumentRoot ist standardmäßig (confixx) wie folgt gesetzt:
/etc/apache2/confixx_mhost.conf: DocumentRoot /srv/www/confixx/html
/etc/apache2/confixx_mhost.conf: DocumentRoot /srv/www/confixx/html
/etc/apache2/confixx_mhost.conf.confixx_backup: DocumentRoot /srv/www/confixx/html
/etc/apache2/confixx_mhost.conf.confixx_backup: DocumentRoot /srv/www/confixx/html
/etc/apache2/confixx_vhost.conf: DocumentRoot /srv/www/confixx/html/gesperrt
/etc/apache2/confixx_vhost.conf: DocumentRoot /home/htdocs/web0/html
/etc/apache2/confixx_vhost.conf: DocumentRoot /home/htdocs/web1/html
/etc/apache2/confixx_vhost.conf: DocumentRoot /home/htdocs/web2/html
Was kann ich nun tun, damit auch sicherheitstechnisch alles sauber ist?
Danke für jeden Tipp!
Frank
PS: Ein HowTo folgt, sobald alles rund läuft ..