如何调试"内部服务器错误"? [英] How to debug "internal server error"?

查看:256
本文介绍了如何调试"内部服务器错误"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当你做修改.htaccess文件有什么东西是错了,你会得到内部服务器错误。这并不能帮助我。我怎样才能找出什么是实际的错误?

When you do changes to .htaccess files and something is wrong with it you get "Internal server error". That doesn't help me. How can I find out what's the actual error?

推荐答案

错误的原因应保存在服务器日志。其中,这正是取决于您的服务器和设置。

Error cause should be saved in server logs. Where it's exactly depends on your server and settings.

例如。在Apache2的日志文件中的错误日志定义在你的配置或虚拟主机。

Eg. in apache2 log file is defined in ErrorLog in your config or in virtual host.

这篇关于如何调试"内部服务器错误"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆