Hugo van der Kooij wrote: > On Thu, 25 May 2006, Nicola Agnelli wrote: > >> Hugo van der Kooij wrote: >>> On Thu, 25 May 2006, Nicola Agnelli wrote: >>> >>>>> I still have many problems with authentication.. i've read docs but i >>>>> can't resolve.. Have anyone some ideas ? >>> Start again and show us: >>> - apache config changes >>> - settings you think are relevant/changed in nagios config files. >>> >>> Do not assume anything. Do not think we know how you did things so >>> describe them clearly from scratch. >> I've done exactly what is described in this guide: >> http://gentoo-wiki.com/HOWTO_Install_Nagios >> >> I've tried to remove /etc/nagios/htpasswd.users and recreate it with >> >> htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin >> >> but anyway i can't login ! >> >> I attach my apache.conf file anche nagios module.. > > And just where did you define NAGIOS? The next part will never be used > unless you define it. > > <IfDefine NAGIOS> > ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ > <Directory "/usr/nagios/sbin/"> > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > </Directory> > Alias /nagios /usr/nagios/share/ > <Directory "/usr/nagios/share"> > AllowOverride AuthConfig > Order allow,deny > Allow from all > </Directory> > </IfDefine> > > Hugo. >
I've defined it in /etc/apache2/modules.d/99_nagios.conf and in it i've this: <IfDefine NAGIOS> ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ <Directory "/usr/nagios/sbin/"> AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all </Directory> Alias /nagios /usr/nagios/share/ <Directory "/usr/nagios/share"> AllowOverride AuthConfig Order allow,deny Allow from all </Directory> </IfDefine> -- Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null