简体   繁体   English

内部服务器错误

[英]Internal Server Error

I am getting an error 我收到一个错误

"Internal Server Error “内部服务器错误

The server encountered an internal error or misconfiguration and was unable to complete your request. 服务器遇到内部错误或配置错误,无法完成您的请求。

Please contact the server administrator, webmaster@ ** .com and inform them of the time the error occurred, and anything you might have done that may have caused the error. 请与服务器管理员webmaster @ ** .com联系,并告知他们错误发生的时间,以及您可能做的任何可能导致错误的事情。

More information about this error may be available in the server error log. 服务器错误日志中可能会提供有关此错误的更多信息。

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request." 此外,尝试使用ErrorDocument处理请求时遇到了404 Not Found错误。”

on trying to access my site. 尝试访问我的网站。 I even tried on a different server that was working properly and yet the same result. 我什至尝试在其他服务器上正常工作,但结果相同。 Kindly help me out. 请帮我。

Thanks in advance. 提前致谢。

The 500 Internal Server Error status code is normally caused by a misconfiguration in the web server or a server-side app that fails to work properly or is crashing. 500 Internal Server Error状态代码通常是由Web服务器或服务器端应用程序中的错误配置导致的,这些错误配置无法正常运行或崩溃。 Find the web server error log: you should find the exact details of the error right there. 查找Web服务器错误日志:您应该在那里找到错误的确切详细信息。 In Apache, logs tend to be under %ProgramFiles%\\Apache Software Foundation\\Apache2.2\\logs (Windows) or /var/log/httpd (Linux). 在Apache中,日志通常位于%ProgramFiles%\\Apache Software Foundation\\Apache2.2\\logs (Windows)或/var/log/httpd (Linux)下。

The 404 Not Found status code when using the ErrorDocument directive is exactly that: you've customized your "not found" page with a file that does not exist. 使用ErrorDocument指令时的404 Not Found状态代码正好是:您使用不存在的文件自定义了“ not found”页面。 Find such directive in your Apache settings and fix it accordingly. 在您的Apache设置中找到这样的指令,并进行相应的修复。

有时是权限问题在目录上设置777权限会导致此错误

looks like you are having problem in your server configuration. 看起来您的服务器配置有问题。 If you are using apache server then it might be problem in .htaccess file check if there is any .htaccess file exists in your root folder if it is remove it and check it again 如果您使用的是Apache服务器,则.htaccess文件中可能存在问题,请检查根文件夹中是否存在任何.htaccess文件(如果已删除),然后再次检查

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM