As To use the archive .htaccess
I Use SuSE Linux 8.0, with apache 1.3.23 , I installed software nagios and I inside placed of the directory /sbin, one /htaccess, restricting access webs in this place, it delivers the screen of login and password, I place the user and password and I do not obtain authentication. in annex it goes the information that I placed in the configuration archives. .htaccess AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user htpasswd.users user:BhGtr8K9hyt4 httpd.conf <Directory /> AuthUserFile /usr/local/nagios/etc/htpasswd.users AuthGroupFile /usr/local/nagios/etc/htpgroup Options -FollowSymLinks +Multiviews AllowOverride None </Directory> # NAGIOS ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ <Directory "/usr/local/nagios/sbin/"> AllowOverride AuthConfig Options ExecCGI Order deny,allow Deny from all Allow from 10.10.10.1 </Directory> Alias /nagios/ /usr/local/nagios/share/ <Directory "/usr/local/nagios/share"> Options None AllowOverride AuthConfig Order deny,allow Deny from all Allow from 10.10.10.1 </Directory> AccessFileName .htaccess []'s Fabio Sena Brasil - PE
participants (1)
-
Fabio Sena