? ? ?1,?你在一定時間內過多地訪問此網站(一般是用采集程序),被防火墻拒絕訪問了
? ?
? ?2,?網站域名解析到了空間,但空間未綁定此域名
?3,?你的網頁腳本文件在當前目錄下沒有執行權限
4,?服務器繁忙,同一IP地址發送請求過多,遭到服務器智能屏蔽
一般就以上幾個原因,解決的方法其實也很簡單:
重建dns緩存就行(可以換個瀏覽器試試,不一定非要執行這下面一步!)
在運行中輸入cmd,然后輸入ipconfig /flushdns即可?
或者是?
用以下命令修改文件夾安全屬性?
chcon -R -t httpd_user_content_t public_html/?
所用命令解析:
ls -Z -d public_html/
? ? #顯示文件/目錄的安全語境-Z, --context?
? ? ? ? ? ?Display ?security context so it fits on most displays. ?Displays only mode, user, group, security ? ? ? ? ? ? ?context and file name.-d, --directory
? ? ? ? ? ? list directory entries instead of contents, and do not dereference symbolic links
chcon -R -t httpd_user_content_t public_html/
? ? ?#修改文件/目錄的安全語境-R, --recursive
? ? ? ? ? ? change files and directories recursively-t, --type
? ? ? ? ? ? set type TYPE in the target security context
第一個方法解決了我的問題,第二個方法我是從網上看到的,應該也可以!大家可以去驗證一下!如果有什么問題,別忘了交流!