the two directories
linux-lab:/usr/lib/cgi-bin/nagios# ls -la total 2546 drwxr-xr-x 2 root root 640 Oct 24 10:20 . drwxr-xr-x 3 root root 72 Oct 24 07:42 .. -rwxr-xr-x 1 root root 123 Oct 24 12:16 .htaccess -rwsr-xr-x 1 nagios root 147272 Oct 12 11:19 avail.cgi -rwsr-xr-x 1 nagios root 148008 Oct 12 11:19 cmd.cgi -rwsr-xr-x 1 nagios root 114696 Oct 12 11:19 config.cgi -rwsr-xr-x 1 nagios root 163272 Oct 12 11:19 extinfo.cgi -rwsr-xr-x 1 nagios root 126088 Oct 12 11:19 histogram.cgi -rwsr-xr-x 1 nagios root 104872 Oct 12 11:19 history.cgi -rwxr-xr-x 1 root root 218632 Oct 12 11:19 nagios -rwsr-xr-x 1 nagios root 101544 Oct 12 11:19 notifications.cgi -rwsr-xr-x 1 nagios root 98856 Oct 12 11:19 outages.cgi -rwsr-xr-x 1 nagios root 99400 Oct 12 11:19 showlog.cgi -rwxr-xr-x 1 root root 508677 Oct 24 10:20 status.cgi -rwsr-xr-x 1 nagios root 127976 Oct 12 11:19 statusmap.cgi -rwsr-xr-x 1 nagios root 115528 Oct 12 11:19 statuswml.cgi -rwsr-xr-x 1 nagios root 109288 Oct 12 11:19 statuswrl.cgi -rwsr-xr-x 1 nagios root 119880 Oct 12 11:19 summary.cgi -rwsr-xr-x 1 nagios root 123464 Oct 12 11:19 tac.cgi -rwsr-xr-x 1 nagios root 1480 Oct 12 11:16 traceroute.cgi -rwsr-xr-x 1 nagios root 127176 Oct 12 11:19 trends.cgi linux-lab:/usr/lib/cgi-bin/nagios# linux-lab:/usr/share/nagios/htdocs# ls -la total 36 drwxr-xr-x 7 root root 368 Oct 27 01:02 . drwxr-xr-x 4 root root 104 Oct 24 07:42 .. -rwxr-xr-x 1 root root 123 Oct 27 01:02 .htaccess drwxr-xr-x 2 root root 1536 Oct 24 07:42 contexthelp drwxr-xr-x 3 root root 2240 Oct 24 07:42 docs drwxr-xr-x 3 root root 2008 Oct 24 07:42 images -rw-r--r-- 1 root root 658 Oct 12 11:15 index.html -rw-r--r-- 1 root root 2340 Oct 12 11:15 main.html drwxr-xr-x 2 root root 144 Oct 24 07:42 media -rw-r--r-- 1 root root 26 Oct 12 11:15 robots.txt -rw-r--r-- 1 root root 10512 Oct 12 11:15 side.html drwxr-xr-x 2 root root 48 Oct 12 11:15 ssi lrwxrwxrwx 1 root root 23 Oct 24 07:42 stylesheets -> /etc/nagios/stylesheets linux-lab:/usr/share/nagios/htdocs# -----Mensagem original----- De: Lucio de Aquino Marinho Enviada em: segunda-feira, 27 de outubro de 2003 08:18 Para: '[EMAIL PROTECTED]' Assunto: http authentication , apache , .htaccess Hello for all ,, i have a problem with debian unstable , apache , and nagios-text , Everything is ok , but the apache do not authenticate , someone can help-me httpd.conf ScriptAlias /nagios/cgi-bin/ /usr/lib/cgi-bin/nagios/ <Directory "/usr/lib/cgi-bin/nagios/"> AllowOverride AuthConfig Order allow,deny Allow from all Options ExecCGI </Directory> Alias /nagios/ /usr/share/nagios/htdocs/ <Directory "/usr/share/nagios/htdocs/"> #Options None AllowOverride AuthConfig Order allow,deny Allow from all </Directory> --------------------------------- .htaccess AuthName "Teste" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user ---------------------------------------- apache log Fri Oct 24 11:34:50 2003] [notice] Accept mutex: sysvsem (Default: sysvsem) [Fri Oct 24 11:34:54 2003] [error] user nagiosadmin not found: /nagios/cgi-bin/status.cgi [Fri Oct 24 11:34:57 2003] [error] user nagiosadmin not found: /nagios/cgi-bin/status.cgi [Fri Oct 24 11:58:52 2003] [error] user nagiosadmin not found: /nagios/cgi-bin/status.cgi [Fri Oct 24 11:58:56 2003] [error] user nagiosadmin not found: /nagios/cgi-bin/status.cgi [Fri Oct 24 12:02:28 2003] [notice] SIGHUP received. Attempting to restart [Fri Oct 24 12:02:29 2003] [notice] Apache/1.3.28 (Debian GNU/Linux) configured -- resuming normal operations [Fri Oct 24 12:02:29 2003] [notice] Accept mutex: sysvsem (Default: sysvsem) [Fri Oct 24 12:02:35 2003] [error] user nagiosadmin not found: /nagios/cgi-bin/status.cgi [Fri Oct 24 12:02:38 2003] [error] user nagiosadmin not found: /nagios/cgi-bin/status.cgi [Fri Oct 24 12:02:41 2003] [error] user nagiosadmin not found: /nagios/cgi-bin/status.cgi ------------------------------------------------------------------------- htpasswd.users nagiosadmin:vQ6Q9/zGRqvH2 Thanks for any help -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]