centos 安装testlink出现:You don't have permission to access /testlink on this server
You don't have permission to access /testlink on this server.
解決方法:
1. 訪問的文檔權限不夠。要755以上權限。解決方法:用命令chmod 755 /var/www/ 或其他相應目錄。
2. SELinux或防火墻的原因。解決方法:先關閉SELinux和讓防火墻通過WWW服務。
???? 修改? /etc/selinux/config文件
????????? SELINUX=disabled
?
3. 虛擬主機配置錯誤。解決方法:重新配置虛擬主機或暫時關閉。
4. DocumentRoot的設置。解決方法如下:
打開 apache的配置文件httpd.conf,找到這段代碼:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
有時候由于配置了php后,這里的“Deny from all”已經拒絕了一切連接。把該行改成“allow from all”,修改后的代碼如下,問題解決。
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
#service myslqd restart
#service httpd restart
原文地址:
http://blog.csdn.net/yzlworld/article/details/6245246
總結
以上是生活随笔為你收集整理的centos 安装testlink出现:You don't have permission to access /testlink on this server的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: centOS7 Minima无法上网解
- 下一篇: IP选路与动态选路协议(六)