ganglia访问时出现“You don‘t have permission to access /ganglia/ on this server“
程序员文章站
2022-03-15 22:44:06
...
sudo chmod 777 /var/lib/ganglia 没有用
修改配置文件/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>
sudo vim /etc/httpd/conf.d/ganglia.conf
#
# Ganglia monitoring system php web frontend
#
Alias /ganglia /usr/share/ganglia
#<Location /ganglia>
# Require local
# Require ip 10.1.2.3
# Require host example.org
#</Location>
<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>
重启httpd
sudo service httpd restart
推荐阅读
-
对于搭建网站中出现“You don't have permission to access this resource.”错误提示的解决思路
-
You don't have permission to access / on this server,Forbidden
-
CentOS7.0下安装Apache2.4.20版本,安装完成之后,报 You don't have permission to access / on this server.
-
wamp不能使用phpmyadmin,提示“You don't have permission to access /phpmyadmin/ on this server.”...
-
Apache启动后出现You don't have permission to access on this server的解决办法
-
apache出现You don't have permission to access / on thi_PHP教程
-
Apache出现 You don't have permission to access /phpmya
-
PHP错误:Forbidden You don't have permission to access / on this server.,permissiontoaccess
-
MAC上vhosts后You don't have permission to access / on this server.
-
apache出现You don't have permission to access / on thi