EasyPHP 本地站点无法正常工作

发布于 2024-10-01 18:17:20 字数 269 浏览 0 评论 0原文

我已经安装了 EasyPHP,将我的网站复制到“www”文件夹中,但是当我尝试打开它时出现服务器错误:

服务器错误! 服务器遇到内部错误,无法完成您的请求。服务器过载或 CGI 脚本中存在错误。

如果您认为这是服务器错误,请联系网站管理员。

来自 Apache 日志文件的日志:

.htaccess:命令“SecFilterEngine”无效,可能拼写错误或由未包含在服务器配置中的模块定义

谁可以帮助我!?怎么解决这个问题呢? 谢谢

I've installed EasyPHP, copy into "www" folder my site, but when i try to open it there is server error:

Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.

Log from Apache log file:

.htaccess: Invalid command 'SecFilterEngine', perhaps misspelled or defined by a module not included in the server configuration

Who can help me!? How resolve that problem?
Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

请持续率性 2024-10-08 18:17:20

尝试删除 .htaccess 文件

try remove .htaccess file

两个我 2024-10-08 18:17:20

如果出现错误:
“无效命令‘SecFilterEngine’,可能拼写错误或由未包含的模块定义”

这是因为您没有在 httpd.conf 中包含“:LoadModule security_module module/mod_security.so”。

另一个可能的原因是您正在使用 mod_security2 并且 SecFilterEngine 已过时,您应该按照迁移文档中的说明将其迁移到 SecRuleEngine。

http://www.modsecurity.org/documentation/ModSecurity-Migration-Matrix.pdf

If you get the error:
"Invalid command 'SecFilterEngine', perhaps misspelled or defined by a module not included"

It is because you have not included the ":LoadModule security_module modules/mod_security.so" in the httpd.conf.

Another posible reason is that you are using mod_security2 and the SecFilterEngine is obsolete and you should migrate it to SecRuleEngine as is explained in the migration document.

http://www.modsecurity.org/documentation/ModSecurity-Migration-Matrix.pdf

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文