Web Interface stopped working
Marcel Mitsuto Fucatu Sugano
msugano at uolinc.com
Wed Apr 12 21:06:16 CEST 2006
On Wed, 2006-04-12 at 11:36 -0700, Ed Lucero wrote:
[snip]
> [Wed Apr 12 11:07:38 2006] [error] [client 192.168.5.30] File does not
> exist: /usr/local/nagios/share/cgi-bin, referer:
> http://mon1.icsandiego.com/nagios/side.html
[snip]
> # Nagios Alias configuration
>
> Alias /usr/local/apache2/htdocs/nagios /usr/local/nagios/share
>
> Alias /nagios /usr/local/nagios/share
>
> <Directory "/usr/local/nagios/share">
>
> Options None
>
> AllowOverride AuthConfig
>
> Order allow,deny
>
> Allow from all
>
> </Directory>
>
>
>
>
>
> #
>
> # ScriptAlias: This controls which directories contain server scripts.
>
> # ScriptAliases are essentially the same as Aliases, except that
>
> # documents in the realname directory are treated as applications and
>
> # run by the server when requested rather than as documents sent to
> the client.
>
> # The same rules about trailing "/" apply to ScriptAlias directives as
> to
>
> # Alias.
>
> #
>
> ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"
>
> ScriptAlias /var/nagios/cgi-bin /usr/local/nagios/sbin
>
>
>
> # Nagios cgi configuration
>
> <Directory "/usr/local/nagios/sbin">
>
> AllowOverride AuthConfig
>
> Options ExecCGI
>
> Order allow,deny
>
> Allow from all
>
> </Directory>
>
>
>
> #
>
> # Bring in additional module-specific configurations
>
> #
>
>
>
> # Nagios Configuration
>
>
>
> <Directory /usr/local/nagios/sbin>
>
> AllowOverride AuthConfig
>
> order allow,deny
>
> allow from all
>
> Options ExecCGI
>
> </Directory>
>
>
>
> <Directory /usr/local/nagios/share>
>
> AllowOverride AuthConfig
>
> order allow,deny
>
> allow from all
>
> </Directory>
I solved a similar problem, by inverting the order of Alias and
ScriptAlias, looks like if Alias come first, then ScriptAlias did not
get translated correctly. So, i've placed ScriptAlias definition before
Alias definition.
HTH,
Marcel.
AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. Caso você não seja o destinatário desta mensagem, informamos que qualquer divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos é 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 cópia e/ou impressão realizada a partir destes, sejam permanentemente apagados e/ou destruídos. Informações 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/.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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