ganglia访问时出现"You don't have permission to access /ganglia/ on this server"


安装ganglia后,访问浏览器出现"You don't have permission to access /ganglia/ on this server"
按照网络上的要求配置/etc/httpd/conf.d/ganglia.conf

#
# Ganglia monitoring system php web frontend
#

Alias /ganglia /usr/share/ganglia

<Location /ganglia>
  Order deny,allow
  Deny from all
  Allow from all
  #Allow from 127.0.0.1
  #Allow from ::1
  # Allow from.example.com
</Location>

然而并不起作用,最后注释了上面的这些规则,添加了“ Require all granted”后,重启httpd问题解决。

[root@hadoop-101 ~]# cat  /etc/httpd/conf.d/ganglia.conf   
#
# Ganglia monitoring system php web frontend
#

Alias /ganglia /usr/share/ganglia

<Location /ganglia>
  #Order deny,allow
  #Deny from all
  #Allow from all
  #Allow from 127.0.0.1
  #Allow from ::1
  # Allow from.example.com
  Require all granted
</Location>
[root@hadoop-101 ~]# 

优质内容筛选与推荐>>
1、课后作业2
2、selenium(java)之RemoteWebDriver的基本使用
3、黑马程序员--里氏转换
4、Designing Service Contracts
5、QQ邮箱漂流瓶的"变化"~~


长按二维码向我转账

受苹果公司新规定影响,微信 iOS 版的赞赏功能被关闭,可通过二维码转账支持公众号。

    阅读
    好看
    已推荐到看一看
    你的朋友可以在“发现”-“看一看”看到你认为好看的文章。
    已取消,“好看”想法已同步删除
    已推荐到看一看 和朋友分享想法
    最多200字,当前共 发送

    已发送

    朋友将在看一看看到

    确定
    分享你的想法...
    取消

    分享想法到看一看

    确定
    最多200字,当前共

    发送中

    网络异常,请稍后重试

    微信扫一扫
    关注该公众号