{"id":1649,"date":"2024-06-05T20:23:52","date_gmt":"2024-06-05T12:23:52","guid":{"rendered":"https:\/\/cn.raksmart.com\/blog\/host\/3936.html"},"modified":"2024-06-05T20:23:52","modified_gmt":"2024-06-05T12:23:52","slug":"%e4%bb%80%e4%b9%88%e6%98%afiis%e5%ba%94%e7%94%a8%e6%b1%a0","status":"publish","type":"post","link":"https:\/\/cn.raksmart.com\/blog\/knowledge\/1649.html","title":{"rendered":"\u4ec0\u4e48\u662fIIS\u5e94\u7528\u6c60?"},"content":{"rendered":"<div class=\"entry-content e-content\" itemprop=\"description articleBody\">\n<p>Internet Information Services (<a href=\"https:\/\/cn.raksmart.com\/\" target=\"_blank\" rel=\"noopener\"><strong>IIS<\/strong><\/a>)\u5e94\u7528\u7a0b\u5e8f\u6c60\u662f\u4e00\u7ec4\u8def\u7531\u5230\u4e00\u4e2a\u6216\u591a\u4e2a\u5de5\u4f5c\u8fdb\u7a0b\u7684url\u3002\u5e94\u7528\u7a0b\u5e8f\u6c60\u8d1f\u8d23\u5c06\u4e00\u4e2a\u6216\u591a\u4e2a\u5e94\u7528\u7a0b\u5e8f\u9694\u79bb\u5230\u5b83\u4eec\u81ea\u5df1\u7684\u8fdb\u7a0b\u4e2d\u3002\u4f8b\u5982\uff0c\u4f60\u6709\u4e24\u4e2a\u4e0d\u540c\u7684\u7f51\u7ad9\uff0c\u5982\u7f51\u7ad9- a\u548c\u7f51\u7ad9- b\uff0c\u5e76\u5e0c\u671b\u90e8\u7f72\u5728\u540c\u4e00\u670d\u52a1\u5668\u4e0a\uff0c\u90a3\u4e48\u5e94\u7528\u7a0b\u5e8f\u6c60\u9694\u79bb\u6211\u4eec\u7684\u7f51\u7ad9\u610f\u5473\u7740\u7f51\u7ad9- a\u8fd0\u884c\u5728\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u6c60\uff0c\u7f51\u7ad9- b\u8fd0\u884c\u5728\u53e6\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u6c60\u3002<\/p>\n<p>\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u65b9\u4fbf\u7684\u65b9\u6cd5\u6765\u7ba1\u7406\u4e00\u7ec4\u7f51\u7ad9\u548c\u5e94\u7528\u7a0b\u5e8f\u53ca\u5176\u76f8\u5e94\u7684\u5de5\u4f5c\u8fdb\u7a0b\u3002\u8fdb\u7a0b\u8fb9\u754c\u5c06\u6bcf\u4e2a\u5de5\u4f5c\u8fdb\u7a0b\u5206\u5f00;\u56e0\u6b64\uff0c\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u6c60\u4e2d\u7684\u7f51\u7ad9\u6216\u5e94\u7528\u7a0b\u5e8f\u4e0d\u4f1a\u53d7\u5230\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u6c60\u4e2d\u7684\u5e94\u7528\u7a0b\u5e8f\u95ee\u9898\u7684\u5f71\u54cd\u3002\u5e94\u7528\u7a0b\u5e8f\u6c60\u663e\u8457\u63d0\u9ad8\u4e86Web\u57fa\u7840\u8bbe\u65bd\u7684\u53ef\u9760\u6027\u548c\u53ef\u7ba1\u7406\u6027\u3002\u63a8\u8350\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.raksmart.com\/blog\/server\/653.html\" target=\"_blank\" rel=\"noopener\">\u300awindows IIS\u6743\u9650\u7684\u8bbe\u7f6e\u6559\u7a0b\uff08\u4e0a\uff09\u300b<\/a><\/p>\n<p><span style=\"color: #ff0000;\">\u3000\u3000\u4ec0\u4e48\u662fIIS\u4e2d\u7684\u5e94\u7528\u7a0b\u5e8f\u6c60\u56de\u6536?<\/span><\/p>\n<p>\u56de\u6536\u610f\u5473\u7740\u7ec8\u6b62\u5904\u7406\u8be5\u5e94\u7528\u7a0b\u5e8f\u6c60\u8bf7\u6c42\u7684\u5de5\u4f5c\u8fdb\u7a0b\uff0c\u5e76\u542f\u52a8\u4e00\u4e2a\u65b0\u7684\u5de5\u4f5c\u8fdb\u7a0b\u3002\u8fd9\u6837\u505a\u901a\u5e38\u662f\u4e3a\u4e86\u907f\u514d\u53ef\u80fd\u5bfc\u81f4\u5e94\u7528\u7a0b\u5e8f\u5d29\u6e83\u3001\u6302\u8d77\u6216\u5185\u5b58\u6cc4\u6f0f\u7684\u4e0d\u7a33\u5b9a\u72b6\u6001\u3002<\/p>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cIIS\u5c06\u4f7f\u7528\u91cd\u53e0\u56de\u6536\u65b9\u6cd5\uff0c\u8fd9\u5c06\u4fdd\u6301\u65e7\u7684\u8fdb\u7a0b\uff0c\u76f4\u5230\u5f53\u524d\u8bf7\u6c42\u5b8c\u6210\u5904\u7406(\u6216\u8bbe\u7f6e\u7684\u8d85\u65f6\u65f6\u95f4)\uff0c\u800c\u65b0\u8fdb\u7a0b\u5904\u7406\u65b0\u8bf7\u6c42\u3002\u8fd9\u786e\u4fdd\u4e86\u670d\u52a1\u7684\u8fde\u7eed\u6027\u3002<\/p>\n<p><span style=\"color: #ff0000;\">\u3000\u3000\u5728\u54ea\u91cc\u53ef\u4ee5\u914d\u7f6e\u81ea\u52a8\u5e94\u7528\u7a0b\u5e8f\u6c60\u56de\u6536?<\/span><\/p>\n<p><strong>\u3000\u3000Windows 2003<\/strong><\/p>\n<p>\u6267\u884cStart-&gt; Administrative Tools -&gt; Internet Information Services (IS) Manager\u3002\u5c55\u5f00\u670d\u52a1\u5668\u548c\u201c\u5e94\u7528\u7a0b\u5e8f\u6c60\u201d\u7ec4\u3002\u53f3\u952e\u5355\u51fb\u60a8\u5e0c\u671b\u914d\u7f6e\u7684\u5e94\u7528\u7a0b\u5e8f\u6c60\u5e76\u9009\u62e9\u201c\u5c5e\u6027\u201d\u3002\u5728\u7b2c\u4e00\u4e2a\u9009\u9879\u5361\u4f60\u4f1a\u53d1\u73b0\u56de\u6536\u8bbe\u7f6e\u3002<\/p>\n<p><strong>\u3000\u3000Windows 2008 R2<\/strong><\/p>\n<p>\u6253\u5f00\u201c\u5f00\u59cb-&gt;\u7ba1\u7406\u5de5\u5177-&gt; Internet\u4fe1\u606f\u670d\u52a1(IIS)\u7ba1\u7406\u5668\u201d\u3002\u5c55\u5f00\u670d\u52a1\u5668\u5e76\u5355\u51fb\u201c\u5e94\u7528\u7a0b\u5e8f\u6c60\u201d\u3002\u5728\u4e2d\u5fc3\u7a97\u53e3\u53f3\u952e\u5355\u51fb\u60a8\u5e0c\u671b\u914d\u7f6e\u7684\u5e94\u7528\u7a0b\u5e8f\u6c60\uff0c\u5e76\u9009\u62e9\u201cRecucling..\u201d(\u6ce8\u610f\u4e0d\u8981\u70b9\u51fb\u201cRecucle..\u201d\uff0c\u8fd9\u5c06\u542f\u52a8\u56de\u6536)\u3002\u63a8\u8350\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.raksmart.com\/blog\/knowledge\/657.html\" target=\"_blank\" rel=\"noopener\">\u300awindows IIS\u6743\u9650\u7684\u8bbe\u7f6e\u6559\u7a0b\uff08\u4e2d\uff09\u300b<\/a><\/p>\n<p>\u4f60\u4f1a\u770b\u5230\u4e00\u4e2a\u4e24\u6b65\u7684\u201c\u5411\u5bfc\u201d\u3002\u5728\u524d\u534a\u90e8\u5206\uff0c\u60a8\u5c06\u9009\u62e9\u4f7f\u7528\u54ea\u4e9b\u8bbe\u7f6e\uff0c\u800c\u5728\u7b2c\u4e8c\u90e8\u5206\u4e2d\uff0c\u60a8\u5e0c\u671b\u5728\u89e6\u53d1\u65f6\u8bb0\u5f55\u54ea\u4e9b\u8bbe\u7f6e(\u5728windows\u4e8b\u4ef6\u65e5\u5fd7\u4e2d)\u3002<\/p>\n<p><span style=\"color: #ff0000;\">\u3000\u3000IIS\u4e2d\u4e0d\u540c\u7c7b\u578b\u7684\u7ba1\u9053\u6a21\u5f0f<\/span><\/p>\n<p>ASPNET\u5e94\u7528\u7a0b\u5e8f\u6709\u4e24\u79cd\u7c7b\u578b\u7684NET\u6a21\u5f0f\uff0c\u5b83\u4eec\u786e\u5b9a\u4e86IIS\u5982\u4f55\u5904\u7406\u5bf9\u8fd0\u884c\u5728\u8be5\u5e94\u7528\u7a0b\u5e8f\u6c60\u4e2d\u7684\u7ad9\u70b9\u3001\u5e94\u7528\u7a0b\u5e8f\u548cweb\u670d\u52a1\u7684\u4f20\u5165\u8bf7\u6c42\u3002<\/p>\n<p><span style=\"color: #ff0000;\">\u3000\u3000\u96c6\u6210\u6a21\u5f0f<\/span><\/p>\n<p>\u96c6\u6210\u6a21\u5f0f\u4f7fASP\u3002NET\u662fIIS\u4e0d\u53ef\u5206\u5272\u7684\u4e00\u90e8\u5206\u3002\u73b0\u5728\uff0cIlS\u670d\u52a1\u5668\u529f\u80fd\u88ab\u5206\u621040\u591a\u4e2a\u6a21\u5757\uff0c\u5c06IIS\u548cASPNET\u529f\u80fd\u5206\u89e3\u4e3a\u591a\u4e2a\u90e8\u5206\u3002\u8bf8\u5982StaticFileModule\u3001BasicAuthenticationModule\u3001FormsAuthentication\u3001Session\u3001Profile\u548cRoleManager\u7b49\u6a21\u5757\u90fd\u662fIIS\u7ba1\u9053\u7684\u4e00\u90e8\u5206\u3002FormsAuthentication, Session, Profile\u548cRoleManager\u4ee5\u524d\u662fASP\u7684\u4e00\u90e8\u5206\u3002\u548cIlS\u6ca1\u6709\u4efb\u4f55\u5173\u7cfb<\/p>\n<p><span style=\"color: #ff0000;\">\u3000\u3000\u7ecf\u5178\u6a21\u5f0f<\/span><\/p>\n<p>\u7ecf\u5178\u6a21\u5f0f\u5efa\u7acb\u4e86IIS 6.0\u6a21\u578b\u3002NET\u662fIIS\u7684\u4e00\u4e2aISAPI\u9644\u52a0\u7ec4\u4ef6\u3002\u6b64\u6a21\u5f0f\u53ef\u7528\u4e8e\u5411\u540e\u517c\u5bb9\uff0c\u4f46\u7f3a\u4e4f\u65b0\u96c6\u6210\u6a21\u5f0f\u4e2d\u7684\u8bb8\u591a\u7279\u6027\u3002\u5728\u7ecf\u5178\u6a21\u5f0f\u4e0b\uff0cIIS\u6709\u81ea\u5df1\u7684\u7ba1\u9053\uff0c\u53ea\u80fd\u901a\u8fc7\u521b\u5efaISAPI\u6269\u5c55\u6765\u6269\u5c55\uff0c\u800cISAPI\u6269\u5c55\u56e0\u96be\u4ee5\u5f00\u53d1\u800c\u95fb\u540d\u3002ASP\u3002NET\u4f5c\u4e3aISAPI\u6269\u5c55\u8fd0\u884c\uff0c\u8fd9\u53ea\u662fIlS\u7ba1\u9053\u7684\u4e00\u90e8\u5206\u3002<\/p>\n<p><span style=\"color: #ff0000;\">\u3000\u3000\u4fdd\u62a4\u8d44\u6e90<\/span><\/p>\n<p>IIS\u7ba1\u7406\u8fdb\u7a0b\u5728Windows\u5b89\u5168\u7cfb\u7edf\u4e2d\u7528\u5e94\u7528\u7a0b\u5e8f\u6c60\u7684\u540d\u79f0\u521b\u5efa\u4e00\u4e2a\u5b89\u5168\u6807\u8bc6\u7b26\u3002\u4f7f\u7528\u8fd9\u4e2a\u6807\u8bc6\u53ef\u4ee5\u4fdd\u62a4\u8d44\u6e90\uff0c\u4f46\u662f\u8fd9\u4e2a\u6807\u8bc6\u4e0d\u662f\u4e00\u4e2a\u771f\u6b63\u7684\u7528\u6237\u5e10\u6237\uff0c\u4e0d\u4f1a\u663e\u793a\u5728Windows\u7528\u6237\u7ba1\u7406\u63a7\u5236\u53f0\u3002<\/p>\n<p>\u8981\u5411\u5e94\u7528\u7a0b\u5e8f\u6388\u4e88IlS\u5de5\u4f5c\u8fdb\u7a0b\u8bbf\u95ee\u6743\u9650\uff0c\u9700\u8981\u4fee\u6539\u5305\u542b\u5e94\u7528\u7a0b\u5e8f\u7684\u76ee\u5f55\u7684\u8bbf\u95ee\u63a7\u5236\u5217\u8868(access Control List, ACL)<\/p>\n<ol>\n<li>\u3000\u3000\u6253\u5f00Windows\u8d44\u6e90\u7ba1\u7406\u5668\u5e76\u5bfc\u822a\u5230\u76ee\u5f55\u3002<\/li>\n<li>\u3000\u3000\u53f3\u952e\u5355\u51fb\u76ee\u5f55\u5e76\u5355\u51fb\u5c5e\u6027\u3002<\/li>\n<li>\u3000\u3000\u5728Security\u9009\u9879\u5361\u4e0b\uff0c\u5355\u51fbEdit\u6309\u94ae\uff0c\u7136\u540e\u5355\u51fbAdd\u6309\u94ae<\/li>\n<li>\u3000\u3000\u5355\u51fb\u4f4d\u7f6e\u5e76\u786e\u5b9a\u9009\u62e9\u4e86\u670d\u52a1<\/li>\n<li>\u3000\u3000\u5728\u201c\u8f93\u5165\u5bf9\u8c61\u540d\u79f0\u4ee5\u9009\u62e9\u201d\u6587\u672c\u6846\u4e2d\u8f93\u5165IIS AppPool defaultappool\u3002<\/li>\n<li>\u3000\u3000\u5355\u51fbCheck Names\u6309\u94ae\uff0c\u7136\u540e\u5355\u51fbOK\u3002<\/li>\n<\/ol>\n<p>\u4ee5\u4e0a\u5c31\u662f\u4ec0\u4e48\u662fIIS\u5e94\u7528\u6c60\u7684\u5168\u90e8\u5185\u5bb9\u3002\u63a8\u8350\u76f8\u5173\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.raksmart.com\/blog\/server\/671.html\">\u300awindows IIS\u6743\u9650\u7684\u8bbe\u7f6e\u6559\u7a0b\uff08\u4e0b\uff09\u300b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Internet Information Services (IIS)\u5e94\u7528\u7a0b\u5e8f\u6c60\u662f\u4e00\u7ec4\u8def\u7531\u5230\u4e00\u4e2a\u6216\u591a\u2026 <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[907],"class_list":["post-1649","post","type-post","status-publish","format-standard","hentry","category-knowledge","tag-iis"],"_links":{"self":[{"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/posts\/1649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/comments?post=1649"}],"version-history":[{"count":0,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/posts\/1649\/revisions"}],"wp:attachment":[{"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/media?parent=1649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/categories?post=1649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/tags?post=1649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}