{"id":278,"date":"2020-11-20T17:51:04","date_gmt":"2020-11-20T09:51:04","guid":{"rendered":"http:\/\/admin.lastdream.net\/?p=278"},"modified":"2020-11-20T17:51:04","modified_gmt":"2020-11-20T09:51:04","slug":"ruhepingbimougeguojiahuodequdefangwen","status":"publish","type":"post","link":"https:\/\/admin.vsingers.com\/index.php\/2020\/11\/20\/ruhepingbimougeguojiahuodequdefangwen\/","title":{"rendered":"\u5982\u4f55\u5c4f\u853d\u67d0\u4e2a\u56fd\u5bb6\u6216\u5730\u533a\u7684\u8bbf\u95ee"},"content":{"rendered":"<p>\u5728cPanel\u63a7\u5236\u9762\u677f\u201c\u6587\u4ef6\u201d\u529f\u80fd\u533a\u70b9\u51fb\u6253\u5f00\u201c\u6587\u4ef6\u7ba1\u7406\u5668\u201d\u3002<\/p>\n<p>\u5728\u7f51\u7ad9\u6839\u76ee\u5f55\u4e2d\u7f16\u8f91.htaccess\u6587\u4ef6\u3002<\/p>\n<p>\u5728\u8d77\u59cb\u4f4d\u7f6e\u53e6\u8d77\u4e00\u884c\u8f93\u5165\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<div class=\"code-toolbar\">\n<pre class=\" language-apacheconf line-numbers\"><code class=\" language-apacheconf\"><span class=\"token directive-inline property\">RewriteEngine<\/span> on\n<span class=\"token directive-inline property\">RewriteCond<\/span> <span class=\"token variable\">%{ENV:GEOIP_COUNTRY_CODE}<\/span><span class=\"token regex\"> ^(\u56fd\u522b\u6216\u5730\u533a\u4ee3\u7801)$<\/span>\n<span class=\"token directive-inline property\">RewriteRule<\/span><span class=\"token regex\"> ^(.*)$<\/span> - <span class=\"token directive-flags keyword\">[F,L]<\/span><\/code><\/pre>\n<div class=\"toolbar\">\n<div class=\"toolbar-item\">Apache Configuration<\/div>\n<div class=\"toolbar-item\"><button>Copy<\/button><\/div>\n<\/div>\n<\/div>\n<p>\u4ee5\u5c4f\u853d\u4fc4\u7f57\u65af\u548c\u5370\u5ea6\u5c3c\u897f\u4e9a\u4e3a\u4f8b\uff0c\u4ee3\u7801\u5e94\u4e3a\uff1a<\/p>\n<div class=\"code-toolbar\">\n<pre class=\" language-apacheconf line-numbers\"><code class=\" language-apacheconf\"><span class=\"token directive-inline property\">RewriteEngine<\/span> on\n<span class=\"token directive-inline property\">RewriteCond<\/span> <span class=\"token variable\">%{ENV:GEOIP_COUNTRY_CODE}<\/span><span class=\"token regex\"> ^(RU|ID)$<\/span>\n<span class=\"token directive-inline property\">RewriteRule<\/span><span class=\"token regex\"> ^(.*)$<\/span> - <span class=\"token directive-flags keyword\">[F,L]<\/span><\/code><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5728cPanel\u63a7\u5236\u9762\u677f\u201c\u6587\u4ef6\u201d\u529f\u80fd\u533a\u70b9\u51fb\u6253\u5f00\u201c\u6587\u4ef6\u7ba1\u7406\u5668\u201d\u3002 \u5728\u7f51\u7ad9\u6839\u76ee\u5f55\u4e2d\u7f16\u8f91.htaccess\u6587\u4ef6\u3002 \u5728\u8d77 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-other"],"_links":{"self":[{"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":0,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"wp:attachment":[{"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}