aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/http/status/500/index.html
blob: a7a8fda99bb3d3685472342292131ed046e7ae87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
title: 500 Internal Server Error
slug: Web/HTTP/Status/500
tags:
  - HTTP
  - 服务器端错误
  - 状态码
translation_of: Web/HTTP/Status/500
---
<div>{{HTTPSidebar}}</div>

<p>在 HTTP 协议中,<code><strong>500 Internal Server Error</strong></code> 是表示服务器端错误的响应状态码,意味着所请求的服务器遇到意外的情况并阻止其执行请求。</p>

<p>这个错误代码是一个通用的“万能”响应代码。有时候,对于类似于 500 这样的错误,服务器管理员会更加详细地记录相关的请求信息来防止以后同样错误的出现。</p>

<h2 id="状态">状态</h2>

<pre class="syntaxbox notranslate">500 Internal Server Error</pre>

<h2 id="规范">规范</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Title</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{RFC("7231", "500 Internal Server Error" , "6.6.1")}}</td>
   <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
  </tr>
 </tbody>
</table>

<h2 id="浏览器兼容性">浏览器兼容性</h2>

<p>{{Compat("http.status.500")}}</p>

<h2 id="参见">参见</h2>

<ul>
 <li><a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html" rel="noopener">HTTP/1.1: Status Code Definitions</a></li>
 <li><a href="https://kinsta.com/blog/500-internal-server-error/">HTTP Error 500 on WordPress</a></li>
<li><a href="https://www.exai.com/blog/http-error-500-wordpress">500 server error</a></li>
 <li><a href="https://www.joomla-monster.com/documentation/joomla-tutorials/500-internal-server-error-on-joomla-website">500 server error on Joomla</a></li>
</ul>