{"id":62178,"date":"2023-11-01T07:38:04","date_gmt":"2023-10-31T23:38:04","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=62178"},"modified":"2023-11-01T07:38:04","modified_gmt":"2023-10-31T23:38:04","slug":"bmqsssmys","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/62178.html","title":{"rendered":"\u7f16\u7801\u5668SSI\u662f\u4ec0\u4e48\u610f\u601d"},"content":{"rendered":"
\u7f16\u7801\u5668SSI\uff08Server Side Includes\uff09\u662f\u4e00\u79cd\u670d\u52a1\u5668\u7aef\u811a\u672c\u8bed\u8a00\uff0c\u5b83\u53ef\u4ee5\u8ba9\u60a8\u5728\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u7279\u5b9a\u7684\u547d\u4ee4\uff0c\u4ee5\u4fbf\u5c06\u52a8\u6001\u5185\u5bb9\u63d2\u5165\u5230HTML\u6587\u4ef6\u4e2d\u3002\u5b83\u53ef\u4ee5\u8ba9\u60a8\u5728\u4e00\u4e2aHTML\u6587\u4ef6\u4e2d\u63d2\u5165\u4e00\u4e2a\u5305\u542b\u53e6\u4e00\u4e2aHTML\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u6216\u8005\u63d2\u5165\u4e00\u4e2a\u5305\u542b\u4e00\u4e9b\u6587\u672c\u7684\u6587\u4ef6\u3002\u8fd9\u79cd\u670d\u52a1\u5668\u7aef\u811a\u672c\u8bed\u8a00\u901a\u5e38\u7528\u4e8e\u521b\u5efa\u52a8\u6001\u7f51\u9875\uff0c\u53ef\u4ee5\u66f4\u8f7b\u677e\u5730\u66f4\u65b0\u7f51\u7ad9\u5185\u5bb9\u3002<\/p>\n
\u7f16\u7801\u5668SSI\u7684\u5de5\u4f5c\u539f\u7406\u662f\uff0c\u5f53\u7528\u6237\u8bf7\u6c42\u4e00\u4e2a\u7f51\u9875\u65f6\uff0c\u670d\u52a1\u5668\u4f1a\u68c0\u67e5\u7f51\u9875\u4e2d\u662f\u5426\u6709SSI\u6807\u7b7e\uff0c\u5982\u679c\u6709\uff0c\u5219\u4f1a\u6267\u884c\u8be5\u6807\u7b7e\u6240\u6307\u5b9a\u7684\u547d\u4ee4\uff0c\u7136\u540e\u5c06\u7ed3\u679c\u63d2\u5165\u5230\u7f51\u9875\u4e2d\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528SSI\u6807\u7b7e\u5c06\u53e6\u4e00\u4e2aHTML\u6587\u4ef6\u7684\u5185\u5bb9\u63d2\u5165\u5230\u5f53\u524d\u7f51\u9875\u4e2d\uff0c\u6216\u8005\u5c06\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\u7684\u5185\u5bb9\u63d2\u5165\u5230\u5f53\u524d\u7f51\u9875\u4e2d\u3002<\/p>\n
SSI\u7684\u4f18\u52bf\u5728\u4e8e\uff0c\u53ef\u4ee5\u4e3a\u60a8\u7684\u7f51\u7ad9\u63d0\u4f9b\u52a8\u6001\u5185\u5bb9\uff0c\u800c\u65e0\u9700\u66f4\u65b0\u6574\u4e2a\u7f51\u9875\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528SSI\u6807\u7b7e\u5c06\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\u7684\u5185\u5bb9\u63d2\u5165\u5230\u7f51\u9875\u4e2d\uff0c\u7136\u540e\u5728\u4e0d\u66f4\u65b0\u7f51\u9875\u7684\u60c5\u51b5\u4e0b\u66f4\u65b0\u6587\u672c\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u4ece\u800c\u66f4\u65b0\u7f51\u9875\u7684\u5185\u5bb9\u3002<\/p>\n
SSI\u7684\u7f3a\u70b9\u5728\u4e8e\uff0c\u5b83\u53ea\u80fd\u7528\u4e8e\u670d\u52a1\u5668\u7aef\uff0c\u800c\u4e0d\u80fd\u7528\u4e8e\u5ba2\u6237\u7aef\u3002\u6b64\u5916\uff0c\u5b83\u7684\u6267\u884c\u6548\u7387\u4e5f\u6bd4\u5ba2\u6237\u7aef\u811a\u672c\u8bed\u8a00\u4f4e\u5f97\u591a\uff0c\u56e0\u6b64\u5b83\u53ea\u80fd\u7528\u4e8e\u5c0f\u578b\u7684\u52a8\u6001\u7f51\u9875\u3002<\/p>\n
\u7f16\u7801\u5668SSI\u662f\u4e00\u79cd\u670d\u52a1\u5668\u7aef\u811a\u672c\u8bed\u8a00\uff0c\u53ef\u4ee5\u8ba9\u60a8\u5728\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u7279\u5b9a\u7684\u547d\u4ee4\uff0c\u4ee5\u4fbf\u5c06\u52a8\u6001\u5185\u5bb9\u63d2\u5165\u5230HTML\u6587\u4ef6\u4e2d\u3002<\/strong>\u5b83\u7684\u5de5\u4f5c\u539f\u7406\u662f\uff0c\u5f53\u7528\u6237\u8bf7\u6c42\u4e00\u4e2a\u7f51\u9875\u65f6\uff0c\u670d\u52a1\u5668\u4f1a\u68c0\u67e5\u7f51\u9875\u4e2d\u662f\u5426\u6709SSI\u6807\u7b7e\uff0c\u5982\u679c\u6709\uff0c\u5219\u4f1a\u6267\u884c\u8be5\u6807\u7b7e\u6240\u6307\u5b9a\u7684\u547d\u4ee4\uff0c\u7136\u540e\u5c06\u7ed3\u679c\u63d2\u5165\u5230\u7f51\u9875\u4e2d\u3002SSI\u7684\u4f18\u52bf\u5728\u4e8e\uff0c\u53ef\u4ee5\u4e3a\u60a8\u7684\u7f51\u7ad9\u63d0\u4f9b\u52a8\u6001\u5185\u5bb9\uff0c\u800c\u65e0\u9700\u66f4\u65b0\u6574\u4e2a\u7f51\u9875\uff0c\u4f46\u5b83\u7684\u7f3a\u70b9\u5728\u4e8e\uff0c\u5b83\u53ea\u80fd\u7528\u4e8e\u670d\u52a1\u5668\u7aef\uff0c\u800c\u4e0d\u80fd\u7528\u4e8e\u5ba2\u6237\u7aef\uff0c\u6b64\u5916\uff0c\u5b83\u7684\u6267\u884c\u6548\u7387\u4e5f\u6bd4\u5ba2\u6237\u7aef\u811a\u672c\u8bed\u8a00\u4f4e\u5f97\u591a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u7f16\u7801\u5668SSI\uff08ServerSideIncludes\uff09\u662f\u4e00\u79cd\u670d\u52a1\u5668\u7aef\u811a\u672c\u8bed\u8a00\uff0c\u5b83\u53ef\u4ee5\u8ba9\u60a8\u5728\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u7279\u5b9a\u7684\u547d\u4ee4\uff0c\u4ee5\u4fbf\u5c06\u52a8\u6001\u5185\u5bb9\u63d2\u5165\u5230HTML\u6587\u4ef6\u4e2d\u3002\u5b83\u53ef\u4ee5\u8ba9\u60a8\u5728\u4e00\u4e2aH<\/p>\n","protected":false},"author":1,"featured_media":1839,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[305],"class_list":["post-62178","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/62178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=62178"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/62178\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=62178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=62178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=62178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}