bugzilla在linux下安装后,页面不能访问问题处理

 bugzilla安装完成后,在浏览器中提示:You don't have permission to access /bugzilla/index.cgi on this server,在网上查了好久,终于在一个国外的帖子中找到解决问题的办法。

以下是帖子原文:

You have selinux enabled and the contexts aren't set correctly on the

Bugzilla files. Type "getenforce" to see if selinux is enabled. The

quick test is to type "setenforce 0" to turn off selinux and see if that

fixes it. If so, you should fix the contexts so that it works correctly

with selinux enabled. You can use "ls -lZ" on a directory to view the

current context information. Compare it to the contexts used by

apache's cgi-bin directory. That's what Bugzilla needs. You can set it

with "chcon -R context-info /path/to/bugzilla", replacing context-info

with what was displayed for the cgi-bin directory.

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值