psy
11.06.07, 23:22
Moin,
Mein Apache2 unter Debian 4.0 macht seit heute ein paar Mucken.
root@bla:/root# /etc/init.d/apache2 restart
Forcing reload of web server: Apache2[Mon Jun 11 23:17:27 2007] [warn] The Alias directive in /etc/apache2/conf.d/nagios at line 37 will probably never match because it overlaps an earlier Alias.
[Mon Jun 11 23:17:42 2007] [warn] The Alias directive in /etc/apache2/conf.d/nagios at line 37 will probably never match because it overlaps an earlier Alias.
Hier mal der Inhalt von /etc/apache2/conf.d/nagios:
ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios
ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios
<DirectoryMatch /usr/lib/cgi-bin/nagios>
Options ExecCGI
AllowOverride AuthConfig
Order Allow,Deny
Allow From All
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
require valid-user
</DirectoryMatch>
Alias /netsaint "/usr/share/nagios/htdocs"
Alias /nagios "/usr/share/nagios/htdocs"
Alias /nagios/stylesheets "/etc/nagios/stylesheets"
<DirectoryMatch /usr/share/nagios/htdocs>
Options FollowSymLinks
AllowOverride AuthConfig
Order Allow,Deny
Allow From All
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
require valid-user
</DirectoryMatch>
Der Alias-Eintrag steht irgendwie aber nur einmal drin, ich steh grad irgendwie auf dem Schlauch.
Woran hängts? :)
Ciao
psy
Mein Apache2 unter Debian 4.0 macht seit heute ein paar Mucken.
root@bla:/root# /etc/init.d/apache2 restart
Forcing reload of web server: Apache2[Mon Jun 11 23:17:27 2007] [warn] The Alias directive in /etc/apache2/conf.d/nagios at line 37 will probably never match because it overlaps an earlier Alias.
[Mon Jun 11 23:17:42 2007] [warn] The Alias directive in /etc/apache2/conf.d/nagios at line 37 will probably never match because it overlaps an earlier Alias.
Hier mal der Inhalt von /etc/apache2/conf.d/nagios:
ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios
ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios
<DirectoryMatch /usr/lib/cgi-bin/nagios>
Options ExecCGI
AllowOverride AuthConfig
Order Allow,Deny
Allow From All
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
require valid-user
</DirectoryMatch>
Alias /netsaint "/usr/share/nagios/htdocs"
Alias /nagios "/usr/share/nagios/htdocs"
Alias /nagios/stylesheets "/etc/nagios/stylesheets"
<DirectoryMatch /usr/share/nagios/htdocs>
Options FollowSymLinks
AllowOverride AuthConfig
Order Allow,Deny
Allow From All
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
require valid-user
</DirectoryMatch>
Der Alias-Eintrag steht irgendwie aber nur einmal drin, ich steh grad irgendwie auf dem Schlauch.
Woran hängts? :)
Ciao
psy