{"id":3877,"date":"2020-04-11T20:22:09","date_gmt":"2020-04-11T12:22:09","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=3877"},"modified":"2020-04-11T20:22:09","modified_gmt":"2020-04-11T12:22:09","slug":"iis-301%e9%87%8d%e5%ae%9a%e5%90%91http%e8%87%aa%e5%8a%a8%e8%bd%ac%e5%90%91https","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/3877.html","title":{"rendered":"IIS 301\u91cd\u5b9a\u5411http\u81ea\u52a8\u8f6c\u5411https"},"content":{"rendered":"
IIS 301\u91cd\u5b9a\u5411http\u81ea\u52a8\u8f6c\u5411https<\/p>\n
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<configuration>\r\n<system.webServer>\r\n<rewrite>\r\n<rules>\r\n<rule name=\"HTTP to HTTPS redirect\" stopProcessing=\"true\">\r\n<match url=\"(.*)\" \/>\r\n<conditions>\r\n<add input=\"{HTTPS}\" pattern=\"off\" ignoreCase=\"true\" \/>\r\n<\/conditions>\r\n<action type=\"Redirect\" redirectType=\"Found\" url=\"https:\/\/{HTTP_HOST}\/{R:1}\" \/>\r\n<\/rule>\r\n<\/rules>\r\n<\/rewrite>\r\n<\/system.webServer>\r\n<\/configuration><\/code><\/pre>\n <\/p>\n","protected":false},"excerpt":{"rendered":"
IIS 301\u91cd\u5b9a\u5411http\u81ea\u52a8\u8f6c\u5411https web.config\u4ee3\u7801\uff1a <?xml version= […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[1178,1227,1226,1228],"class_list":["post-3877","post","type-post","status-publish","format-standard","hentry","category-wljs","tag-1178","tag-http","tag-iis","tag-https"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/3877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=3877"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/3877\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=3877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=3877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=3877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}