{"id":26836,"date":"2023-04-27T16:18:54","date_gmt":"2023-04-27T08:18:54","guid":{"rendered":"https:\/\/docs.pingcode.com\/?p=26836"},"modified":"2023-07-30T23:34:15","modified_gmt":"2023-07-30T15:34:15","slug":"www%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%87%87%e7%94%a8%e7%9a%84%e6%98%af%e4%bb%80%e4%b9%88%e7%bb%93%e6%9e%84","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/26836.html","title":{"rendered":"WWW\u670d\u52a1\u5668\u91c7\u7528\u7684\u662f\u4ec0\u4e48\u7ed3\u6784"},"content":{"rendered":"<blockquote class=\"wp-block-quote\">\n<p>WWW \u91c7\u7528\u7684\u662f\u6d4f\u89c8\u5668\/\u670d\u52a1\u5668\u7ed3\u6784\uff0c\u5176\u4f5c\u7528\u662f\u6574\u7406\u548c\u50a8\u5b58\u5404\u79cdWWW\u8d44\u6e90\uff0c\u5e76\u54cd\u5e94\u5ba2\u6237\u7aef\u8f6f\u4ef6\u7684\u8bf7\u6c42\uff0c\u628a\u5ba2\u6237\u6240\u9700\u7684\u8d44\u6e90\u4f20\u9001\u5230 Windows 95\uff08\u6216Windows98\uff09\u3001Windows NT\u3001UN\u2168 \u6216 Linux \u7b49\u5e73\u53f0\u4e0a\u3002<\/p>\n<\/blockquote>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" alt=\"\" class=\"wp-image-26837\" decoding=\"async\" height=\"421\" sizes=\"(max-width: 680px) 100vw, 680px\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2023\/04\/\u6dfb\u52a0\u6807\u9898-7-17.png?x-oss-process=image\/auto-orient,1\/format,webp\" srcset=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2023\/04\/\u6dfb\u52a0\u6807\u9898-7-17.png?x-oss-process=image\/auto-orient,1\/format,webp 680w, https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2023\/04\/\u6dfb\u52a0\u6807\u9898-7-17-300x186.png 300w\" width=\"680\"\/><\/figure>\n<\/div>\n<h2 class=\"wp-block-heading\"><strong>\u4e00\u3001WWW\u670d\u52a1\u5668\u91c7\u7528\u7684\u662f\u4ec0\u4e48\u7ed3\u6784<\/strong><\/h2>\n<p>WWW \u91c7\u7528\u7684\u662f\u6d4f\u89c8\u5668\/\u670d\u52a1\u5668\u7ed3\u6784\uff0c\u5176\u4f5c\u7528\u662f\u6574\u7406\u548c\u50a8\u5b58\u5404\u79cdWWW\u8d44\u6e90\uff0c\u5e76\u54cd\u5e94\u5ba2\u6237\u7aef\u8f6f\u4ef6\u7684\u8bf7\u6c42\uff0c\u628a\u5ba2\u6237\u6240\u9700\u7684\u8d44\u6e90\u4f20\u9001\u5230 Windows 95\uff08\u6216Windows98\uff09\u3001Windows NT\u3001UN\u2168 \u6216 Linux \u7b49\u5e73\u53f0\u4e0a\u3002\u4f7f\u7528\u975e\u5e38\u591a\u7684 web server \u670d\u52a1\u5668\u8f6f\u4ef6 \u6709\u4e24\u4e2a\uff1a\u5fae\u8f6f\u7684\u4fe1\u606f\u670d\u52a1\u5668\uff08iis\uff09\uff0c\u548cApache\u3002<\/p>\n<p>\u901a\u4fd7\u7684\u8bb2\uff0cWeb\u670d\u52a1\u5668\u4f20\u9001\uff08serves\uff09\u9875\u9762\u4f7f\u6d4f\u89c8\u5668\u53ef\u4ee5\u6d4f\u89c8\uff0c\u7136\u800c\u5e94\u7528\u7a0b\u5e8f\u670d\u52a1\u5668\u63d0\u4f9b\u7684\u662f\u5ba2\u6237\u7aef\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u8c03\u7528\uff08call\uff09\u7684\u65b9\u6cd5\uff08methods\uff09\u3002\u786e\u5207\u4e00\u70b9\uff0c\u4f60\u53ef\u4ee5\u8bf4\uff1aWeb\u670d\u52a1\u5668\u4e13\u95e8\u5904\u7406HTTP\u8bf7\u6c42(request\uff09\uff0c\u4f46\u662f\u5e94\u7528\u7a0b\u5e8f\u670d\u52a1\u5668\u662f\u901a\u8fc7\u5f88\u591a\u534f\u8bae\u6765\u4e3a\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\uff08serves\uff09\u5546\u4e1a\u903b\u8f91\uff08business logic\uff09\u3002<\/p>\n<p>Web\u670d\u52a1\u5668\u53ef\u4ee5\u89e3\u6790\uff08handles)HTTP\u534f\u8bae\u3002\u5f53Web\u670d\u52a1\u5668\u63a5\u6536\u5230\u4e00\u4e2aHTTP\u8bf7\u6c42\uff08request\uff09\uff0c\u4f1a\u8fd4\u56de\u4e00\u4e2aHTTP\u54cd\u5e94\uff08response\uff09\uff0c\u4f8b\u5982\u9001\u56de\u4e00\u4e2aHTML\u9875\u9762\u3002\u4e3a\u4e86\u5904\u7406\u4e00\u4e2a\u8bf7\u6c42\uff08request\uff09\uff0cWeb\u670d\u52a1\u5668\u53ef\u4ee5\u54cd\u5e94\uff08response\uff09\u4e00\u4e2a\u9759\u6001\u9875\u9762\u6216\u56fe\u7247\uff0c\u8fdb\u884c\u9875\u9762\u8df3\u8f6c(redirect\uff09\uff0c\u6216\u8005\u628a\u52a8\u6001\u54cd\u5e94\uff08dynamic response\uff09\u7684\u4ea7\u751f\u59d4\u6258\uff08delegate\uff09\u7ed9\u4e00\u4e9b\u5176\u5b83\u7684\u7a0b\u5e8f\u4f8b\u5982CGI\u811a\u672c\uff0cJSP(JavaServer Pages\uff09\u811a\u672c\uff0cservlets\uff0cASP(Active Server Pages\uff09\u811a\u672c\uff0c\u670d\u52a1\u5668\u7aef\uff08server-side)JavaScript\uff0c\u6216\u8005\u4e00\u4e9b\u5176\u5b83\u7684\u670d\u52a1\u5668\u7aef\uff08server-side\uff09\u6280\u672f\u3002\u65e0\u8bba\u5b83\u4eec\uff08\u8bd1\u8005\u6ce8\uff1a\u811a\u672c\uff09\u7684\u76ee\u7684\u5982\u4f55\uff0c\u8fd9\u4e9b\u670d\u52a1\u5668\u7aef\uff08server-side\uff09\u7684\u7a0b\u5e8f\u901a\u5e38\u4ea7\u751f\u4e00\u4e2aHTML\u7684\u54cd\u5e94\uff08response\uff09\u6765\u8ba9\u6d4f\u89c8\u5668\u53ef\u4ee5\u6d4f\u89c8\u3002<\/p>\n<p><strong>\u5ef6\u4f38\u9605\u8bfb\uff1a<\/strong><\/p>\n<h2 class=\"wp-block-heading\"><strong>\u4e8c\u3001\u670d\u52a1\u5668\u662f\u4ec0\u4e48<\/strong><\/h2>\n<p>\u670d\u52a1\u5668\u7684\u82f1\u6587\u540d\u79f0\u4e3a\u201c Server\u201d\uff0c\u662f\u6307\u5728\u7f51\u7edc\u4e0a\u63d0\u4f9b\u5404\u79cd\u670d\u52a1\u7684\u9ad8\u6027\u80fd\u8ba1\u7b97\u673a\u3002\u4f5c\u4e3a\u7f51\u7edc\u7684\u8282\u70b9\uff0c\u5b58\u50a8\u3001\u5904\u7406\u7f51\u7edc\u4e0a80\uff05\u7684\u6570\u636e\u3001\u4fe1\u606f\uff0c\u56e0\u6b64\u4e5f\u88ab\u79f0\u4e3a\u7f51\u7edc\u7684\u7075\u9b42\u3002<\/p>\n<p>\u670d\u52a1\u5668\u548c\u666e\u901a\u8ba1\u7b97\u673a\u7684\u529f\u80fd\u662f\u7c7b\u4f3c\u7684\u3002\u53ea\u662f\u76f8\u5bf9\u4e8e\u666e\u901a\u8ba1\u7b97\u673a\uff0c\u670d\u52a1\u5668\u5728\u7a33\u5b9a\u6027\u3001\u5b89\u5168\u6027\u3001\u6027\u80fd\u7b49\u65b9\u9762\u90fd\u8981\u6c42\u66f4\u9ad8\uff0c\u56e0\u6b64CPU\u3001\u82af\u7247\u7ec4\u3001\u5185\u5b58\u3001\u78c1\u76d8\u7cfb\u7edf\u3001\u7f51\u7edc\u7b49\u786c\u4ef6\u548c\u666e\u901a\u8ba1\u7b97\u673a\u6709\u6240\u4e0d\u540c\u3002<\/p>\n<p>\u5177\u4f53\u6765\u8bf4\uff0c\u670d\u52a1\u5668\u4e0e\u666e\u901a\u8ba1\u7b97\u673a\u7684\u4e3b\u8981\u533a\u522b\u5305\u62ec\uff1a<\/p>\n<p>1\uff09\u901a\u4fe1\u65b9\u5f0f\u4e3a\u4e00\u5bf9\u591a\uff1aPC\u3001\u5e73\u677f\u3001\u624b\u673a\u7b49\u56fa\u5b9a\u6216\u79fb\u52a8\u7684\u7f51\u7edc\u7ec8\u7aef\uff0c\u4e0a\u7f51\u3001\u83b7\u53d6\u8d44\u8baf\u3001\u4e0e\u5916\u754c\u6c9f\u901a\u3001\u5a31\u4e50\u7b49\uff0c\u5fc5\u7136\u8981\u7ecf\u8fc7\u670d\u52a1\u5668\uff0c\u670d\u52a1\u5668\u901a\u8fc7\u201c\u4e00\u5bf9\u591a\u201d\u6765\u7ec4\u7ec7\u548c\u9886\u5bfc\u8fd9\u4e9b\u8bbe\u5907\u3002<\/p>\n<p>2\uff09\u8d44\u6e90\u901a\u8fc7\u7f51\u7edc\u5171\u4eab\uff1a\u670d\u52a1\u5668\u901a\u8fc7\u4fa6\u542c\u7f51\u7edc\u4e0a\u5176\u5b83\u7ec8\u7aef\uff08Client\uff09\u63d0\u4ea4\u7684\u670d\u52a1\u8bf7\u6c42\uff0c\u5728\u7f51\u7edc\u64cd\u4f5c\u7cfb\u7edf\u7684\u63a7\u5236\u4e0b\uff0c\u5c06\u4e0e\u5176\u76f8\u8fde\u7684\u786c\u76d8\u3001\u6253\u5370\u673a\u3001Modem\u53ca\u5404\u79cd\u4e13\u7528\u901a\u8baf\u8bbe\u5907\u63d0\u4f9b\u7ed9\u7f51\u7edc\u4e0a\u7684\u5ba2\u6237\u7ad9\u70b9\u5171\u4eab\uff0c\u4e5f\u80fd\u4e3a\u7f51\u7edc\u7528\u6237\u63d0\u4f9b\u96c6\u4e2d\u8ba1\u7b97\u3001\u4fe1\u606f\u53d1\u8868\u53ca\u6570\u636e\u7ba1\u7406\u7b49\u670d\u52a1\u3002<\/p>\n<p>3\uff09\u786c\u4ef6\u6027\u80fd\u66f4\u52a0\u5f3a\u5927\uff1a\u670d\u52a1\u5668\u7684\u9ad8\u6027\u80fd\u4e3b\u8981\u4f53\u73b0\u5728\u9ad8\u901f\u5ea6\u7684\u8fd0\u7b97\u80fd\u529b\u3001\u957f\u65f6\u95f4\u7684\u53ef\u9760\u8fd0\u884c\u3001\u5f3a\u5927\u7684\u5916\u90e8\u6570\u636e\u541e\u5410\u80fd\u529b\u7b49\u65b9\u9762\u3002<\/p>\n<p>\u670d\u52a1\u5668\u5382\u5546\u4f1a\u6839\u636e\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\uff0c\u5bf9\u670d\u52a1\u5668\u8fdb\u884c\u5dee\u5f02\u5316\u8bbe\u8ba1\uff0c\u76ee\u524d\u4e3b\u8981\u7684\u5e94\u7528\u573a\u666f\u5305\u62ec\u6587\u4ef6\u4ea4\u4e92\u3001\u6570\u636e\u5b58\u50a8\u548c\u67e5\u8be2\u3001\u5e94\u7528\u7a0b\u5e8f\u5e94\u7b54\u4e0e\u8fd0\u884c\u7b49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"WWW \u91c7\u7528\u7684\u662f\u6d4f\u89c8\u5668\/\u670d\u52a1\u5668\u7ed3\u6784\uff0c\u5176\u4f5c\u7528\u662f\u6574\u7406\u548c\u50a8\u5b58\u5404\u79cdWWW\u8d44\u6e90\uff0c\u5e76\u54cd\u5e94\u5ba2\u6237\u7aef\u8f6f\u4ef6\u7684\u8bf7\u6c42\uff0c\u628a\u5ba2\u6237\u6240\u9700\u7684\u8d44\u6e90 [&hellip;]","protected":false},"author":1,"featured_media":26837,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/26836"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=26836"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/26836\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/26837"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=26836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=26836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=26836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}