Forbidden to access Nagios

Marcel Mitsuto Fucatu Sugano msugano at uolinc.com
Thu Dec 7 19:07:14 CET 2006


The user apache runs under must have permission to serve the contents of
the share and sbin folder.

Check that and you'll be fine.

HTH

On Thu, 2006-12-07 at 17:54 +0000, Sam Fraser wrote:
> I'm busy installing Nagios but when I get to the stage that I want to
> test the Web Access I'm told that the nagios server is Forbidden :-
> 
> 
> Forbidden
> You don't have permission to access /nagios/ on this server.
> 
> 
> Apache/2.2.3 (Fedora) Server at localhost Port 80
> 
>  I do allow access as shown below
> 
> ls -l /usr/local/ | grep nagios
> drwxr-xr-x 6 samfraser samfraser  4096 Dec  7 16:53 nagios
> 
> And I have added the following files to httpd.conf and restarted the
> server
> 
> ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
> <Directory "/usr/local/nagios/sbin">
>     AllowOverride AuthConfig
>     Options ExecCGI
>     Order allow,deny
>     Allow from all
> </Directory>
> 
> Alias /nagios /usr/local/nagios/share
> <Directory "/usr/local/nagios/share">
>     Options None
>     AllowOverride AuthConfig
>     Order allow,deny
>     Allow from all
> </Directory>
> 
> Anyone know what's wrong???
> 
> Sam Fraser
> Reading
> UK
> 
> 
> ______________________________________________________________________
> Try the all-new Yahoo! Mail . "The New Version is radically easier to
> use" – The Wall Street Journal
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________ 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


AVISO: A informacao contida neste e-mail, bem como em qualquer de seus anexos, e CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatario(s) acima referido(s), podendo conter informacoes sigilosas e/ou legalmente protegidas. Caso voce nao seja o destinatario desta mensagem, informamos que qualquer divulgacao, distribuicao ou copia deste e-mail e/ou de qualquer de seus anexos e absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer copia e/ou impressao realizada a partir destes, sejam permanentemente apagados e/ou destruidos. Informacoes adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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