nagios web start error FreeBSD

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mfaridi
Posts: 1
Joined: Sun May 02, 2010 11:58 pm

nagios web start error FreeBSD

Post by mfaridi »

I install nagios by port in FreeBSD 7.2 and I use

Code: Select all

apache-2.2.14_6
php5-5.3.2          PHP Scripting Language
php5-bcmath-5.3.2   The bcmath shared extension for php
php5-ctype-5.3.2    The ctype shared extension for php
php5-dba-5.3.2      The dba shared extension for php
php5-dom-5.3.2      The dom shared extension for php
php5-extensions-1.4 A "meta-port" to install PHP extensions
php5-filter-5.3.2   The filter shared extension for php
php5-gd-5.3.2       The gd shared extension for php
php5-gettext-5.3.2  The gettext shared extension for php
php5-hash-5.3.2     The hash shared extension for php
php5-iconv-5.3.2    The iconv shared extension for php
php5-imap-5.3.2     The imap shared extension for php
php5-json-5.3.2     The json shared extension for php
php5-mbstring-5.3.2 The mbstring shared extension for php
php5-mcrypt-5.3.2   The mcrypt shared extension for php
php5-mysql-5.3.2    The mysql shared extension for php
php5-mysqli-5.3.2   The mysqli shared extension for php
php5-openssl-5.3.2  The openssl shared extension for php
php5-pdo-5.3.2      The pdo shared extension for php
php5-pdo_sqlite-5.3.2 The pdo_sqlite shared extension for php
php5-posix-5.3.2    The posix shared extension for php
php5-pspell-5.3.2   The pspell shared extension for php
php5-session-5.3.2  The session shared extension for php
php5-simplexml-5.3.2 The simplexml shared extension for php
php5-sockets-5.3.2  The sockets shared extension for php
php5-sqlite-5.3.2   The sqlite shared extension for php
php5-tokenizer-5.3.2 The tokenizer shared extension for php
php5-wddx-5.3.2     The wddx shared extension for php
php5-xml-5.3.2      The xml shared extension for php
php5-xmlreader-5.3.2 The xmlreader shared extension for php
php5-xmlrpc-5.3.2   The xmlrpc shared extension for php
php5-xmlwriter-5.3.2 The xmlwriter shared extension for php
php5-zlib-5.3.2     The zlib shared extension for php
and I make nagios.conf in this directory

Code: Select all

/usr/local/etc/apache22/Includes
and this is my nagios.conf fro apache

Code: Select all

<Directory /usr/local/www/apache22/data/nagios>
        Options None
        AllowOverride None
        Order allow,deny
        Allow from all
        AuthName "Nagios Access"
        Authtype Basic
        AuthUserFile /usr/local/etc/nagios/htpasswd.users
        Require valid-user
</Directory>

<Directory /usr/local/www/apache22/data/nagios/cgi-bin>
        Options ExecCGI
        AllowOverride None
        Order allow,deny
        Allow from all
        AuthName "Nagios Access"
        Authtype Basic
        AuthUserFile /usr/local/etc/nagios/htpasswd.users
        Require valid-user
</Directory>

#ScriptAlias /nagios/cgi-bin/ /usr/local/www/apache22/data/www/nagios/cgi-bin/
ScriptAlias /nagios/cgi-bin/ /usr/local/www/apache22/data/nagios/cgi-bin/
Alias /nagios/ /usr/local/www/apache22/data/nagios/
and I think every thing is good , but when I type in firefox
192.168.0.xx/nagios
I see this error

Code: Select all

Forbidden 
You don't have permission to access /nagios/ on this server.
and I can not login nagios and use it .
where I make mistake
Locked