【问题标题】:Not found nagios index page未找到 nagios 索引页面
【发布时间】:2018-10-10 12:50:21
【问题描述】:

我已经在服务器上安装了 Nagios 以下手册:http://linuxcalling.blogspot.com/2016/07/installing-nagios-core-without-root.html

但运行后找不到页面:

Not Found The requested URL /nagios/index.php was not found on this server.

日志显示错误:

[Wed Oct 10 14:48:15.520899 2018] [:error] [pid 2085:tid 139654527371008] [client 10.247.250.104:52692] script '/var/opt/user/monitoring/nagios/shareindex.php' not found or unable to stat

但索引页面的位置在位置上并且缺少“/”: /var/opt/user/monitoring/nagios/share/index.php 有人知道如何解决这个问题吗?

【问题讨论】:

    标签: php apache nagios


    【解决方案1】:

    所以它通过进行以下配置更改'conf/nagios.conf'来解决:

    ...
    Alias /nagios/ "/var/opt/user/monitoring/nagios/share/./"
    
    <Directory "/var/opt/user/monitoring/nagios/share/./">
    ...
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-07-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-04-10
      相关资源
      最近更新 更多