error to access on nagios web
Guy Waugh
guidosh at gmail.com
Wed Jul 15 09:52:37 CEST 2009
Hi Nadia,
What does the apache error log say?
Regards,
Guy.
On Wed, Jul 15, 2009 at 8:29 AM, nadia kheffache <nadiakheffache at yahoo.fr>wrote:
>
> I'm having some issues setting up the web interface for Nagios. I have
> follow http://nagios.sourceforge.net/docs/2_0/cgiauth.html instructions to
> the letter and I'm getting
>
> Forbidden
>
> You don't have permission to access /nagios on this server.
> __________________________________________________________________
>
> Apache/2.0.52 (Red Hat) Server at vm-redhat Port 80
>
> i have a right permission on these file:
>
> [root at spvcol ~]# ll /usr/local/nagios/etc/htpasswd.users
> -rwxrwxr-x 1 apache apache 26 sep 16 2008
> /usr/local/nagios/etc/htpasswd.users
>
> ------------------------------------------------------------
>
> nagios.conf: "/etc/httpd/conf.d/nagios.conf"
>
> # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
> # Last Modified: 11-26-2005
> #
> # This file contains examples of entries that need
> # to be incorporated into your Apache web server
> # configuration file. Customize the paths, etc. as
> # needed to fit your system.
>
> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
>
> <Directory "/usr/local/nagios/sbin">
> # SSLRequireSSL
> Options ExecCGI
> AllowOverride None
> Order allow,deny
> Allow from all
> # Order deny,allow
> # Deny from all
> # Allow from 127.0.0.1
> AuthName "Nagios Access"
> AuthType Basic
> AuthUserFile /usr/local/nagios/etc/htpasswd.users
> Require valid-user
> </Directory>
>
> Alias /nagios "/usr/local/nagios/share"
>
> <Directory "/usr/local/nagios/share">
> # SSLRequireSSL
> Options None
> AllowOverride None
> Order allow,deny
> Allow from all
> # Order deny,allow
> # Deny from all
> # Allow from 127.0.0.1
> AuthName "Nagios Access"
> AuthType Basic
> AuthUserFile /usr/local/nagios/etc/htpasswd.users
> Require valid-user
> </Directory>
>
> ________________________________________________________________
>
> Thank for your help
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090715/19b185df/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list