{"id":721,"date":"2010-03-04T12:30:12","date_gmt":"2010-03-04T04:30:12","guid":{"rendered":"http:\/\/blog.cdhaha.net\/?p=721"},"modified":"2010-03-04T12:32:32","modified_gmt":"2010-03-04T04:32:32","slug":"iis%e9%94%99%e8%af%af%e4%b8%80%e4%be%8b","status":"publish","type":"post","link":"http:\/\/blog.cdhaha.net\/?p=721","title":{"rendered":"IIS\u9519\u8bef\u4e00\u4f8b"},"content":{"rendered":"<p><a href=\"wp-content\/uploads\/2010\/iis7-highlight.jpg\" onclick=\"return hs.expand(this, {captionId:'caption_1267676856256'});\" class=\"highslide-image\"><img decoding=\"async\" class=\"aligncenter\" src=\"wp-content\/uploads\/2010\/iis7-highlight_s.jpg\" alt=\"image\" title=\"Click to enlarge\" border=\"0\" \/><\/a><\/p>\n<div class=\"highslide-caption\" id=\"caption_1267676856256\">IIS<\/div>\n<p>\u3000\u3000\u8d81\u7740\u8fc7\u5e74\u7684\u65f6\u5019\u6bd4\u8f83\u7a7a\uff0c\u6211\u88c5\u4e86\u4e00\u4e0bOEM\u7248\u7684Windows 7 Professional\uff0c\u540c\u4ee5\u5f80\u7248\u672c\u4e00\u6837\uff0c\u9ed8\u8ba4\u8fd8\u662f\u4e0d\u5b89\u88c5IIS\u7ec4\u4ef6\u3002\u4f46\u662f\u4e3a\u4e86\u8c03\u8bd5\u672c\u5730\u7684\u7f51\u7ad9\uff0c\u6211\u8fd8\u662f\u8981\u624b\u52a8\u88c5\u4e00\u4e0b\u2014\u2014<strong>\u5728\u7a0b\u5e8f\u4e0e\u529f\u80fd\uff08Programs and Features\uff09<\/strong>\u2014\u2014<strong>\u6253\u5f00\u6216\u5173\u95ed Windows \u529f\u80fd\uff08Turn Windows features on or off\uff09<\/strong>\u91cc\u9762\u9009\u4e0a<strong>IIS\u670d\u52a1\uff08Internet Information Services\uff09<\/strong>\u3002\u91cc\u9762\u7684\u4e09\u5927\u9009\u9879\uff0cFTP\u65e0\u6240\u8c13\u9009\u4e0d\u9009\uff0c\u4f46\u662f<strong>\u4e07\u7ef4\u7f51\u670d\u52a1\uff08World Wide Web Services\uff09<\/strong>\u4e0b\u9762\u7684<strong>\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u529f\u80fd(Application Development Features\uff09<\/strong>\u4e0b\u9762\u7684\u9879\u76ee\u63a8\u8350\u5168\u9009\u3002<\/p>\n<p>\u3000\u3000<strong>ASP<\/strong> \u548c <strong>ASP.Net<\/strong> \u76f8\u5173\u7684\u7684\u4e1c\u897f\u4e0d\u8981\u8bf4\u4e86\uff0c<strong>CGI<\/strong> \u8fd9\u4e2a\u9879\u76ee\u662f\u7528\u6765\u914d\u7f6e PHP \u7684\u3002\u56e0\u4e3a IIS 6.0 \u4ee5\u540e\u7248\u672c\uff08Windows 7\u81ea\u5e26\u7684\u597d\u50cf\u662f7.5\u7248\u672c\uff09\u90fd\u662f\u7528 <strong>FastCGI<\/strong> \u6a21\u5f0f\u6765\u8dd1 PHP\uff0c\u4e0d\u518d\u662f\u4ee5\u524d\u7684 <strong>ISAPI<\/strong> \u6a21\u5f0f\u4e86\u3002<br \/>\n<!--more--><br \/>\n<img decoding=\"async\" src=\"wp-content\/uploads\/2010\/turn_windows_features_on_or_off.jpg\" class=\"aligncenter\" title=\"Turn Windows features on or off\" alt=\"Turn Windows features on or off\" \/><\/p>\n<p>\u3000\u3000\u90fd\u914d\u7f6e\u597d\u4e86\u4ee5\u540e\u8fdb\u5165IIS\u7ba1\u7406\u754c\u9762\uff0c\u8fd9\u4e2a\u548c Windows 2003 \u91cc\u9762\u7684 IIS 6.0 \u6709\u5f88\u5927\u7684\u533a\u522b\uff0c\u6211\u7ecf\u8fc7\u6478\u7d22\u4ee5\u540e\u624d\u627e\u5230\u6539\u53d8\u7f51\u7ad9\u8def\u5f84\u7684\u5730\u65b9\u3002\u5148\u9009\u4e2d\u5de6\u9762\u7684\u7f51\u7ad9\uff0c\u518d\u5230\u53f3\u9762\u7684<strong>\u9ad8\u7ea7\u8bbe\u5b9a\uff08Advanced Settings\uff09<\/strong>\u91cc\u9762\u66f4\u6539<strong>\u7269\u7406\u8def\u5f84\uff08Physical Path\uff09<\/strong>\uff0c\u6700\u540e\u522b\u5fd8\u4e86\u5230\u4e2d\u95f4\u7684IIS\u91cc\u9762\u8bbe\u5b9a\u4e00\u4e0b<strong>\u9ed8\u8ba4\u6587\u6863\uff08Default Document\uff09<\/strong>\u3002<\/p>\n<p><a href=\"wp-content\/uploads\/2010\/iis_manager.jpg\" onclick=\"return hs.expand(this, {captionId:'caption_1267676526025'});\" class=\"highslide-image\"><img decoding=\"async\" class=\"aligncenter\" src=\"wp-content\/uploads\/2010\/iis_manager_s.jpg\" alt=\"image\" title=\"Click to enlarge\" border=\"0\" \/><\/a><\/p>\n<div class=\"highslide-caption\" id=\"caption_1267676526025\">IIS Manager<\/div>\n<p>\u3000\u3000\u4f46\u662f\u5f53\u6211\u6253\u5f00Localhost\u7f51\u7ad9\uff08ASP\u7684\uff09\u7684\u65f6\u5019\uff0c\u53c8\u51fa\u73b0\u4e00\u4e2a\u95ee\u9898\uff0c\u6d4f\u89c8\u5668\u63d0\u793a\u7684\u9519\u8bef\u662f<br \/>\n<strong>HTTP Error 500.23 &#8211; Internal Server Error<br \/>\nAn ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.<\/strong><\/p>\n<p>\u3000\u3000\u67e5\u4e86\u4e00\u4e0b\u5fae\u8f6f\u7684\u77e5\u8bc6\u5e93\uff0c\u6709\u4e24\u79cd\u89e3\u51b3\u65b9\u6cd5<br \/>\n\u3000\u3000\u65b9\u6cd5\u4e00\uff1a\u5728\u521a\u624d\u7684IIS\u7ba1\u7406\u754c\u9762\u4e2d\u9009\u4e2d\u5de6\u4fa7\u7684<strong>\u5e94\u7528\u7a0b\u5f0f\u6c60\uff08Application Pools\uff09<\/strong>\uff0c\u628a\u4e2d\u95f4\u7684\u51e0\u4e2a\u9879\u76ee\u7531\u9ed8\u8ba4\u7684<strong>\u96c6\u6210\u6a21\u5f0f\uff08Intergrated\uff09<\/strong>\u6539\u6210<strong>\u7ecf\u5178\u6a21\u5f0f\uff08Classic\uff09<\/strong>\u3002<\/p>\n<p><img decoding=\"async\" src=\"wp-content\/uploads\/2010\/application_pools.jpg\" class=\"aligncenter\" title=\"Application Pools\" alt=\"Application Pools\" \/><\/p>\n<p>\u3000\u3000\u96c6\u6210\u6a21\u5f0f\u4e0b\uff0cIIS\u6709\u5f88\u9ad8\u7684\u529f\u80fd\u6269\u5c55\u6027\uff0c\u65e2\u53ef\u4ee5\u81ea\u5df1\u6dfb\u52a0\u529f\u80fd\uff0c\u53c8\u53ef\u4ee5\u79fb\u9664\u90e8\u5206\u529f\u80fd\u3002\u7528\u4e86\u7ecf\u5178\u6a21\u5f0f\u5c31\u65e0\u798f\u6d88\u53d7\u4e86\u3002\u770b\u6765\u8fd8\u662f\u8981\u575a\u6301\u5148\u8fdb\u7684\u96c6\u6210\u6a21\u5f0f\u554a\uff0c\u90a3\u5c31\u7528\u7b2c\u4e8c\u79cd\u65b9\u6cd5\u5427\u3002<\/p>\n<p>\u3000\u3000\u65b9\u6cd5\u4e8c\uff1a\u4fdd\u6301\u9ed8\u8ba4\u7684\u96c6\u6210\u6a21\u5f0f\u4e0d\u53d8\uff0c\u7f16\u8f91\u7f51\u7ad9\u6839\u76ee\u5f55\u4e0b\u7684 <strong>web.config<\/strong> \u6587\u4ef6\u3002\u5728\u91cc\u9762\u6dfb\u52a0\u4e00\u53e5\u8bdd\uff1a<\/p>\n<p><strong>&lt;system.webServer&gt;<br \/>\n&lt;validation validateIntegratedModeConfiguration=&#8221;false&#8221; \/&gt;<br \/>\n&lt;\/system.webServer&gt;<\/strong><br \/>\n\u8fd9\u6837\u5c31\u4e24\u5168\u5176\u7f8e\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IIS \u3000\u3000\u8d81\u7740\u8fc7\u5e74\u7684\u65f6\u5019\u6bd4\u8f83\u7a7a\uff0c\u6211\u88c5\u4e86\u4e00\u4e0bOEM\u7248\u7684Windows 7 Professional\uff0c\u540c\u4ee5\u5f80\u7248\u672c\u4e00\u6837\uff0c\u9ed8\u8ba4\u8fd8\u662f\u4e0d\u5b89\u88c5IIS\u7ec4\u4ef6\u3002\u4f46\u662f\u4e3a\u4e86\u8c03\u8bd5\u672c\u5730\u7684\u7f51\u7ad9\uff0c\u6211\u8fd8\u662f\u8981\u624b\u52a8\u88c5\u4e00\u4e0b\u2014\u2014\u5728\u7a0b\u5e8f\u4e0e\u529f\u80fd\uff08Programs and Features\uff09\u2014\u2014\u6253\u5f00\u6216\u5173\u95ed Windows \u529f\u80fd\uff08Turn Windows features on or off\uff09\u91cc\u9762\u9009\u4e0aIIS\u670d\u52a1\uff08Internet Information Services\uff09\u3002\u91cc\u9762\u7684\u4e09\u5927\u9009\u9879\uff0cFTP\u65e0\u6240\u8c13\u9009\u4e0d\u9009\uff0c\u4f46\u662f\u4e07\u7ef4\u7f51\u670d\u52a1\uff08World Wide Web Services\uff09\u4e0b\u9762\u7684\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u529f\u80fd(Application Development Features\uff09\u4e0b\u9762\u7684\u9879\u76ee\u63a8\u8350\u5168\u9009\u3002 \u3000\u3000ASP \u548c ASP.Net \u76f8\u5173\u7684\u7684\u4e1c\u897f\u4e0d\u8981\u8bf4\u4e86\uff0cCGI \u8fd9\u4e2a\u9879\u76ee\u662f\u7528\u6765\u914d\u7f6e PHP \u7684\u3002\u56e0\u4e3a IIS 6.0 \u4ee5\u540e\u7248\u672c\uff08Windows 7\u81ea\u5e26\u7684\u597d\u50cf\u662f7.5\u7248\u672c\uff09\u90fd\u662f\u7528 FastCGI \u6a21\u5f0f\u6765\u8dd1 PHP\uff0c\u4e0d\u518d\u662f\u4ee5\u524d\u7684 ISAPI \u6a21\u5f0f\u4e86\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[1713,1436,1717,1432,1715,1710,1441,1718,1712,1716,1714,1711],"views":2579,"_links":{"self":[{"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=\/wp\/v2\/posts\/721"}],"collection":[{"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=721"}],"version-history":[{"count":0,"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=\/wp\/v2\/posts\/721\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=721"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}