<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>简单生活 -- Kevin Yang的博客 &#187; 应用程序池</title>
	<atom:link href="http://www.imkevinyang.com/tags/%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e6%b1%a0/feed" rel="self" type="application/rss+xml" />
	<link>http://www.imkevinyang.com</link>
	<description>It&#039;s all about sharing</description>
	<lastBuildDate>Sun, 05 Feb 2012 15:37:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>IIS中使用子目录文件作为默认文档（Default Document）替代重定向</title>
		<link>http://www.imkevinyang.com/2011/06/iis%e4%b8%ad%e4%bd%bf%e7%94%a8%e5%ad%90%e7%9b%ae%e5%bd%95%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%ba%e9%bb%98%e8%ae%a4%e6%96%87%e6%a1%a3%ef%bc%88default-document%ef%bc%89%e6%9b%bf%e4%bb%a3%e9%87%8d%e5%ae%9a.html</link>
		<comments>http://www.imkevinyang.com/2011/06/iis%e4%b8%ad%e4%bd%bf%e7%94%a8%e5%ad%90%e7%9b%ae%e5%bd%95%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%ba%e9%bb%98%e8%ae%a4%e6%96%87%e6%a1%a3%ef%bc%88default-document%ef%bc%89%e6%9b%bf%e4%bb%a3%e9%87%8d%e5%ae%9a.html#comments</comments>
		<pubDate>Tue, 14 Jun 2011 23:00:00 +0000</pubDate>
		<dc:creator>Kevin Yang</dc:creator>
				<category><![CDATA[工具技巧]]></category>
		<category><![CDATA[技术随笔]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[应用程序池]]></category>
		<category><![CDATA[重定向]]></category>
		<category><![CDATA[默认文档]]></category>

		<guid isPermaLink="false">http://www.imkevinyang.com/2011/06/iis%e4%b8%ad%e4%bd%bf%e7%94%a8%e5%ad%90%e7%9b%ae%e5%bd%95%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%ba%e9%bb%98%e8%ae%a4%e6%96%87%e6%a1%a3%ef%bc%88default-document%ef%bc%89%e6%9b%bf%e4%bb%a3%e9%87%8d%e5%ae%9a.html</guid>
		<description><![CDATA[<p>以前一直以为IIS应用程序的默认文档只能设置根目录下的文件，像index.html，default.aspx等，后来经同事指点，原来子目录或者子应用程序下的文件也可以添加到根应用程序的默认文档列表中。</p>
<p>之前为了实现这样的需求，当用户直接访问网站根目录http://www.example.com/的时候&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>以前一直以为IIS应用程序的默认文档只能设置根目录下的文件，像index.html，default.aspx等，后来经同事指点，原来子目录或者子应用程序下的文件也可以添加到根应用程序的默认文档列表中。</p>
<p>之前为了实现这样的需求，当用户直接访问网站根目录http://www.example.com/的时候，将其重定向到子应用程序app的登录界面http://www.example.com/app/login.aspx，特意安装了IIS的重定向组件。其实也可以添加&quot;app/login.aspx&quot;到默认文档里头来实现。</p>
<p>不过对于子应用程序来说有一个限制，就是根应用程序和子应用程序需要使用同一个应用程序池，否则会出现跨应用程序池资源访问异常。</p>
<p>== <a style="font-family: comic sans ms; color: black; font-weight: bold; text-decoration: none" title="IIS中使用子目录文件作为默认文档（Default Document）替代重定向" href="http://www.imkevinyang.com/2011/06/IIS%e4%b8%ad%e4%bd%bf%e7%94%a8%e5%ad%90%e7%9b%ae%e5%bd%95%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%ba%e9%bb%98%e8%ae%a4%e6%96%87%e6%a1%a3%ef%bc%88Default%20Document%ef%bc%89%e6%9b%bf%e4%bb%a3%e9%87%8d%e5%ae%9a%e5%90%91.html" target="_self">Kevin Yang</a> == </p>

	标签：<a href="http://www.imkevinyang.com/tags/iis" title="IIS" rel="tag">IIS</a>, <a href="http://www.imkevinyang.com/categories/techarticles/toolskills-techarticles" title="工具技巧" rel="tag">工具技巧</a>, <a href="http://www.imkevinyang.com/tags/%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e6%b1%a0" title="应用程序池" rel="tag">应用程序池</a>, <a href="http://www.imkevinyang.com/categories/techarticles" title="技术随笔" rel="tag">技术随笔</a>, <a href="http://www.imkevinyang.com/tags/%e9%87%8d%e5%ae%9a%e5%90%91" title="重定向" rel="tag">重定向</a>, <a href="http://www.imkevinyang.com/tags/%e9%bb%98%e8%ae%a4%e6%96%87%e6%a1%a3" title="默认文档" rel="tag">默认文档</a><br />

	<h4 style="background-color:#3B3B3B;border-bottom:2px groove gray;color:#F2F2F2;margin-top:20px;padding:6px 6px 6px 15px;margin:20px 0px 0px 0px">你可能对下面的文章感兴趣</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.imkevinyang.com/2010/05/64%e4%bd%8d%e7%b3%bb%e7%bb%9f%e4%b8%8biis7-isapi%e5%a4%84%e7%90%86%e5%99%a8%e5%8a%a0%e8%bd%bd%e5%a4%b1%e8%b4%a5.html" title="64位系统下IIS7 ISAPI处理器加载失败 (2010/05/05)">64位系统下IIS7 ISAPI处理器加载失败</a> </li>
	<li><a href="http://www.imkevinyang.com/2010/02/silverlight%e5%90%af%e7%94%a8assembly-caching%e4%b9%8b%e5%90%8e%e9%93%81%e9%80%9a%e7%94%a8%e6%88%b7%e6%97%a0%e6%b3%95%e8%ae%bf%e9%97%ae.html" title="Silverlight启用Assembly Caching之后铁通用户无法访问 (2010/02/13)">Silverlight启用Assembly Caching之后铁通用户无法访问</a> </li>
	<li><a href="http://www.imkevinyang.com/2010/05/%e5%bd%93google-analytics%e3%80%81firefox%e5%92%8ciis%e8%b5%b0%e5%88%b0%e4%ba%86%e4%b8%80%e8%b5%b7.html" title="当Google Analytics、Firefox和IIS走到了一起&#8230; (2010/05/29)">当Google Analytics、Firefox和IIS走到了一起&#8230;</a> </li>
	<li><a href="http://www.imkevinyang.com/2009/06/%ef%bc%88%e8%bd%ac%ef%bc%89iis6%e4%b8%8a%e5%90%af%e7%94%a8gzip%e5%8e%8b%e7%bc%a9http%e5%8e%8b%e7%bc%a9-%e8%af%a6%e8%a7%a3.html" title="（转）IIS6上启用Gzip压缩(HTTP压缩) 详解 (2009/06/28)">（转）IIS6上启用Gzip压缩(HTTP压缩) 详解</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.imkevinyang.com/2011/06/iis%e4%b8%ad%e4%bd%bf%e7%94%a8%e5%ad%90%e7%9b%ae%e5%bd%95%e6%96%87%e4%bb%b6%e4%bd%9c%e4%b8%ba%e9%bb%98%e8%ae%a4%e6%96%87%e6%a1%a3%ef%bc%88default-document%ef%bc%89%e6%9b%bf%e4%bb%a3%e9%87%8d%e5%ae%9a.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.imkevinyang.com @ 2012-02-09 10:45:28 -->
