{"id":5146,"date":"2023-10-08T07:59:41","date_gmt":"2023-10-07T23:59:41","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=5146"},"modified":"2023-10-08T07:59:41","modified_gmt":"2023-10-07T23:59:41","slug":"apache%e4%b8%80%e4%b8%aa%e8%ae%bf%e9%97%ae%e5%9c%b0%e5%9d%80%e9%85%8d%e7%bd%ae%e5%a4%9a%e4%b8%aa%e5%85%a5%e5%8f%a3%e5%9f%9f%e5%90%8d","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=5146","title":{"rendered":"Apache\u4e00\u4e2a\u8bbf\u95ee\u5730\u5740\u914d\u7f6e\u591a\u4e2a\u5165\u53e3\u57df\u540d"},"content":{"rendered":"\n<p>\u7f16\u8f91\u6587\u4ef6:\/etc\/httpd\/conf\/httpd.conf<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;VirtualHost 0.0.0.0>\n  DocumentRoot \/data\/xx\/\n  ServerName x.x.x\n&lt;\/VirtualHost>\n&lt;VirtualHost 0.0.0.0>\n  DocumentRoot \/data\/xx\/\n  ServerName y.y.y\n&lt;\/VirtualHost>\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u7f16\u8f91\u6587\u4ef6:\/etc\/httpd\/conf\/httpd.conf<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5146"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5146"}],"version-history":[{"count":1,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5146\/revisions"}],"predecessor-version":[{"id":5147,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5146\/revisions\/5147"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}