{"id":49126,"date":"2024-10-08T02:34:14","date_gmt":"2024-10-07T18:34:14","guid":{"rendered":"https:\/\/server.hk\/cnblog\/49126\/"},"modified":"2024-10-08T02:34:14","modified_gmt":"2024-10-07T18:34:14","slug":"win7-windows-2003-%e4%b8%8b-iis-6-0%e3%80%81iis-7-5-%e7%9a%84%e5%81%bd%e9%9d%9c%e6%85%8b%e7%b5%84%e4%bb%b6%e5%ae%89%e8%a3%9d%e5%92%8c%e5%81%bd%e9%9d%9c%e6%85%8b%e9%85%8d%e7%bd%ae%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/49126\/","title":{"rendered":"Win7\/Windows 2003 \u4e0b IIS 6.0\u3001IIS 7.5 \u7684\u507d\u975c\u614b\u7d44\u4ef6\u5b89\u88dd\u548c\u507d\u975c\u614b\u914d\u7f6e\u65b9\u6cd5"},"content":{"rendered":"<h1 id=\"win7-windows-2003-%e4%b8%8b-iis-6-0%e3%80%81iis-7-5-%e7%9a%84%e5%81%bd%e9%9d%9c%e6%85%8b%e7%b5%84%e4%bb%b6%e5%ae%89%e8%a3%9d%e5%92%8c%e5%81%bd%e9%9d%9c%e6%85%8b%e9%85%8d%e7%bd%ae%e6%96%b9%e6%b3%95-TQKhdwRDgD\">Win7\/Windows 2003 \u4e0b IIS 6.0\u3001IIS 7.5 \u7684\u507d\u975c\u614b\u7d44\u4ef6\u5b89\u88dd\u548c\u507d\u975c\u614b\u914d\u7f6e\u65b9\u6cd5<\/h1>\n<p>\u5728\u7576\u4eca\u7684\u7db2\u7d61\u74b0\u5883\u4e2d\uff0c\u7db2\u7ad9\u7684SEO\u512a\u5316\u8d8a\u4f86\u8d8a\u53d7\u5230\u91cd\u8996\uff0c\u800c\u507d\u975c\u614b\u6280\u8853\u5247\u6210\u70ba\u4e86\u63d0\u5347\u7db2\u7ad9\u6027\u80fd\u548c\u53ef\u8b80\u6027\u7684\u91cd\u8981\u624b\u6bb5\u3002\u672c\u6587\u5c07\u4ecb\u7d39\u5728Windows 7\u548cWindows Server 2003\u74b0\u5883\u4e0b\uff0c\u5982\u4f55\u5b89\u88ddIIS 6.0\u548cIIS 7.5\u7684\u507d\u975c\u614b\u7d44\u4ef6\uff0c\u4ee5\u53ca\u5982\u4f55\u9032\u884c\u76f8\u61c9\u7684\u914d\u7f6e\u3002<\/p>\n<h2 id=\"iis-6-0%e7%9a%84%e5%81%bd%e9%9d%9c%e6%85%8b%e9%85%8d%e7%bd%ae-TQKhdwRDgD\">IIS 6.0\u7684\u507d\u975c\u614b\u914d\u7f6e<\/h2>\n<p>IIS 6.0\u662fWindows Server 2003\u4e2d\u7684\u4e00\u500b\u91cd\u8981\u7d44\u4ef6\uff0c\u652f\u6301\u591a\u7a2e\u7db2\u7ad9\u529f\u80fd\u3002\u8981\u5728IIS 6.0\u4e2d\u5be6\u73fe\u507d\u975c\u614b\uff0c\u9996\u5148\u9700\u8981\u5b89\u88ddURL\u91cd\u5beb\u6a21\u584a\u3002\u4ee5\u4e0b\u662f\u5177\u9ad4\u6b65\u9a5f\uff1a<\/p>\n<h3 id=\"%e5%ae%89%e8%a3%9durl%e9%87%8d%e5%af%ab%e6%a8%a1%e5%a1%8a-TQKhdwRDgD\">\u5b89\u88ddURL\u91cd\u5beb\u6a21\u584a<\/h3>\n<ul>\n<li>\u4e0b\u8f09\u4e26\u5b89\u88ddIIS 6.0\u7684URL\u91cd\u5beb\u6a21\u584a\u3002<\/li>\n<li>\u5b89\u88dd\u5b8c\u6210\u5f8c\uff0c\u6253\u958bIIS\u7ba1\u7406\u5668\u3002<\/li>\n<li>\u9078\u64c7\u9700\u8981\u914d\u7f6e\u7684\u7db2\u7ad9\uff0c\u53f3\u9375\u9ede\u64ca\u4e26\u9078\u64c7\u201c\u5c6c\u6027\u201d\u3002<\/li>\n<\/ul>\n<h3 id=\"%e9%85%8d%e7%bd%ae%e5%81%bd%e9%9d%9c%e6%85%8b-TQKhdwRDgD\">\u914d\u7f6e\u507d\u975c\u614b<\/h3>\n<p>\u5728\u7db2\u7ad9\u5c6c\u6027\u4e2d\uff0c\u9078\u64c7\u201cHTTP\u91cd\u5beb\u201d\u9078\u9805\u5361\uff0c\u7136\u5f8c\u6dfb\u52a0\u65b0\u7684\u91cd\u5beb\u898f\u5247\u3002\u4ee5\u4e0b\u662f\u4e00\u500b\u7c21\u55ae\u7684\u91cd\u5beb\u898f\u5247\u793a\u4f8b\uff1a<\/p>\n<pre><code>RewriteRule ^\/article\/([0-9]+)$ \/article.aspx?id=$1 [L]<\/code><\/pre>\n<p>\u9019\u689d\u898f\u5247\u5c07URL\u4e2d\u7684\/article\/123\u8f49\u63db\u70ba\/article.aspx?id=123\uff0c\u5f9e\u800c\u5be6\u73fe\u507d\u975c\u614b\u6548\u679c\u3002<\/p>\n<h2 id=\"iis-7-5%e7%9a%84%e5%81%bd%e9%9d%9c%e6%85%8b%e9%85%8d%e7%bd%ae-TQKhdwRDgD\">IIS 7.5\u7684\u507d\u975c\u614b\u914d\u7f6e<\/h2>\n<p>IIS 7.5\u662fWindows 7\u4e2d\u7684\u4e00\u500b\u91cd\u8981\u7d44\u4ef6\uff0c\u63d0\u4f9b\u4e86\u66f4\u5f37\u5927\u7684\u529f\u80fd\u548c\u66f4\u53cb\u597d\u7684\u7528\u6236\u754c\u9762\u3002\u8981\u5728IIS 7.5\u4e2d\u5be6\u73fe\u507d\u975c\u614b\uff0c\u9996\u5148\u9700\u8981\u5b89\u88ddURL\u91cd\u5beb\u6a21\u584a\uff0c\u7136\u5f8c\u9032\u884c\u914d\u7f6e\u3002<\/p>\n<h3 id=\"%e5%ae%89%e8%a3%9durl%e9%87%8d%e5%af%ab%e6%a8%a1%e5%a1%8a-TQKhdwRDgD\">\u5b89\u88ddURL\u91cd\u5beb\u6a21\u584a<\/h3>\n<ul>\n<li>\u8a2a\u554fIIS\u5b98\u7db2\uff0c\u4e0b\u8f09\u4e26\u5b89\u88ddURL\u91cd\u5beb\u6a21\u584a\u3002<\/li>\n<li>\u5b89\u88dd\u5b8c\u6210\u5f8c\uff0c\u6253\u958bIIS\u7ba1\u7406\u5668\u3002<\/li>\n<li>\u9078\u64c7\u9700\u8981\u914d\u7f6e\u7684\u7db2\u7ad9\uff0c\u7136\u5f8c\u5728\u529f\u80fd\u8996\u5716\u4e2d\u627e\u5230\u201cURL\u91cd\u5beb\u201d\u3002<\/li>\n<\/ul>\n<h3 id=\"%e9%85%8d%e7%bd%ae%e5%81%bd%e9%9d%9c%e6%85%8b-TQKhdwRDgD\">\u914d\u7f6e\u507d\u975c\u614b<\/h3>\n<p>\u5728URL\u91cd\u5beb\u529f\u80fd\u4e2d\uff0c\u9ede\u64ca\u201c\u6dfb\u52a0\u898f\u5247\u201d\uff0c\u7136\u5f8c\u9078\u64c7\u201c\u7a7a\u767d\u898f\u5247\u201d\u3002\u4ee5\u4e0b\u662f\u4e00\u500b\u793a\u4f8b\u898f\u5247\uff1a<\/p>\n<pre><code>RewriteRule ^\/news\/([0-9]+)$ \/news.aspx?id=$1 [L]<\/code><\/pre>\n<p>\u9019\u689d\u898f\u5247\u5c07\/news\/123\u8f49\u63db\u70ba\/news.aspx?id=123\uff0c\u5be6\u73fe\u507d\u975c\u614b\u6548\u679c\u3002<\/p>\n<h2 id=\"%e6%b8%ac%e8%a9%a6%e5%81%bd%e9%9d%9c%e6%85%8b%e6%95%88%e6%9e%9c-TQKhdwRDgD\">\u6e2c\u8a66\u507d\u975c\u614b\u6548\u679c<\/h2>\n<p>\u5b8c\u6210\u914d\u7f6e\u5f8c\uff0c\u5efa\u8b70\u901a\u904e\u700f\u89bd\u5668\u8a2a\u554f\u76f8\u61c9\u7684URL\u4f86\u6e2c\u8a66\u507d\u975c\u614b\u6548\u679c\u3002\u5982\u679c\u914d\u7f6e\u6b63\u78ba\uff0c\u61c9\u8a72\u80fd\u5920\u6b63\u5e38\u986f\u793a\u76f8\u61c9\u7684\u5167\u5bb9\uff0c\u800c\u4e0d\u6703\u51fa\u73fe404\u932f\u8aa4\u3002<\/p>\n<h2 id=\"%e7%b8%bd%e7%b5%90-TQKhdwRDgD\">\u7e3d\u7d50<\/h2>\n<p>\u5728Windows 7\u548cWindows Server 2003\u74b0\u5883\u4e0b\uff0c\u901a\u904e\u5b89\u88dd\u548c\u914d\u7f6eIIS 6.0\u548cIIS 7.5\u7684URL\u91cd\u5beb\u6a21\u584a\uff0c\u53ef\u4ee5\u8f15\u9b06\u5be6\u73fe\u507d\u975c\u614b\u6548\u679c\u3002\u9019\u4e0d\u50c5\u80fd\u63d0\u5347\u7db2\u7ad9\u7684SEO\u6027\u80fd\uff0c\u9084\u80fd\u6539\u5584\u7528\u6236\u9ad4\u9a57\u3002\u82e5\u60a8\u9700\u8981\u9032\u4e00\u6b65\u7684\u6280\u8853\u652f\u6301\u6216\u5c0b\u627e\u5408\u9069\u7684<em><a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a><\/em>\u89e3\u6c7a\u65b9\u6848\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u4ee5\u7372\u53d6\u66f4\u591a\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to install and configure pseudo-static components for IIS 6.0 and IIS 7.5 on Windows 7 and Windows Server 2003 effectively.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4924],"tags":[],"class_list":["post-49126","post","type-post","status-publish","format-standard","hentry","category-setup-tutorials"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/49126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=49126"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/49126\/revisions"}],"predecessor-version":[{"id":49127,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/49126\/revisions\/49127"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=49126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=49126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=49126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}