首页 > 常识 > 互联网 > 网站制作 > 常见问题

Forbidden 404 错误

作者:yiluokuang.com  时间:2015-08-21
描述:You don't have permission to access /e/admin/other/ListUserjs.php on this server.

Hello:

Managed Account shenghuo

My main account domain (yiluokuang.com)

Forbidden

You don't have permission to access http://yiluokuang.com/e/admin/template/ListListtemp.php on this server.

This led me to not use a template to modify the list, please solve this problem.(这样导致了我无法使用模板修改列表,请解决这个问题。)

Thank you

Hello,

Please check now. It appears that mod_Security was causing this issue.

Christopher

admin@webhostingpad.com

请立即检查。看来,mod_Security是造成这个问题。


克里斯托弗

在使用apache 的httpd服务器时,安全是你不得不考虑的一个问题。 mod_security是为apache httpd服务器(1.x和2.x)设计的一个安全模块,mod_security可以阻止多种形式的攻击,比如SQL注入,跨站点脚本等等。这篇文章说明了如何在各种Linux上安装mod_security:

RHEL / CentOS

在CentOS / RHEL上安装mod_security,最简单的办法就是使用yum进行自动更新。首先需要新建一个更新的yum repository:

vi /etc/yum.repos.d/utterramblings.repo

在这个文件中加入以下内容:

[utterramblings] 

name=Jason's Utter Ramblings Repo 

baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/ 

enabled=1

gpgcheck=1

gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

[utterramblings] name=Jason's Utter Ramblings Repo baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

之后用yum进行自动更新:

yum install mod_security

然后重启httpd

service httpd restart

注意如果httpd的版本不对的话这里可能会出现一些错误。这个时候你需要更新apache的版本:

yum update httpd

然后再重启httpd就可以了

Fedora

对于Fedora只需要使用 yum进行安装就可以了:

yum install mod_security

yum update httpd

之后

service httpd restart

Debian / Ubuntu

对于Debian或者 Ubuntu,可以使用以下命令进行安装:

apt-get install libapache2-mod-security

a2enmod mod-security


Forbidden

You don't have permission to access /e/admin/other/ListUserjs.php on this server.

被禁止

您没有权限访问/ E/ ADMIN /此服务器上的其他/ ListUserjs.php。

解决办法之一,检查源文件ListUserjs.php是否被别人修改过。

从手机浏览器访问《生活宝典》

站内搜索
  • 403 Forbidden/500 Internal Server Error
  • Forbidden 检查源文件是否被别人修改过
  • 403 Forbidden 404 Not Found
  • 微商帮
    世界网站大全
    中国科研团队:大象的长鼻子是如何越变越长了
    中国科研团队:大象的长
    自己是否能够像自己想的那样做成一件事,身旁人的判断会比自己准确
    自己是否能够像自己想
    火宫殿:吃喝玩乐看,烧香拜神佛,红火的庙会经济
    火宫殿:吃喝玩乐看,烧香
    眼见为实也不为实,更须谨慎看到的并非全貌
    眼见为实也不为实,更须