<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>ASP.NET Administration</title><link>http://forums.iis.net/1038.aspx</link><description>A forum discussion around administering, configuring, and limited usage on ASP.NET 1.x, 2.x</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: IIS not retaining virtual root directory...?</title><link>http://forums.iis.net/thread/1874931.aspx</link><pubDate>Thu, 24 Jul 2008 21:33:39 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1874931</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1874931.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1874931</wfw:commentRss><description>&lt;p&gt;No.&lt;/p&gt;
&lt;p&gt;A virtual directory is a web folder mapped to a physical location that is outside the physical server root path.&amp;nbsp; For example, if you have content at D:\files and your web site root is at C:\inetpub\wwwroot, you could create a virtual directory named &amp;quot;files&amp;quot; and map it to D:\files which would then allow you to browse to &lt;a href="http://yourserver/files"&gt;http://yourserver/files&lt;/a&gt;, even though C:\inetpub\wwwroot\files doesn&amp;#39;t actually exist.&lt;/p&gt;
&lt;p&gt;When you say a root directory, I think you mean a directory set as an application - thereby making it the root folder of your application scope.&amp;nbsp; IIRC, ASP.NET uses &amp;quot;~&amp;quot; to refer to your application root.&lt;/p&gt;
&lt;p&gt;How are you constructing the links that are not behaving as expected?&lt;/p&gt;</description></item><item><title>Re: IIS not retaining virtual root directory...?</title><link>http://forums.iis.net/thread/1874929.aspx</link><pubDate>Thu, 24 Jul 2008 21:28:08 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1874929</guid><dc:creator>ajcool123</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1874929.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1874929</wfw:commentRss><description>Isn&amp;#39;t creating a virtual directory in IIS the same thing as creating a root directory?&amp;nbsp; I am confused as to why this would matter...?&amp;nbsp; What should I be doing differently in IIS because I can navigate just fine through the site in visual studios built in browser.</description></item><item><title>Re: IIS not retaining virtual root directory...?</title><link>http://forums.iis.net/thread/1874916.aspx</link><pubDate>Thu, 24 Jul 2008 20:03:35 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1874916</guid><dc:creator>jeff@zina.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1874916.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1874916</wfw:commentRss><description>&lt;p&gt;Relative directories resolve from the web site root, so you need:&lt;/p&gt;
&lt;p&gt;~/MyWebApp/list/list.aspx&lt;/p&gt;
&lt;p&gt;Check &lt;a href="http://www.asp.net/"&gt;www.asp.net&lt;/a&gt; (same login as here) for help on getting around this.&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;</description></item><item><title>IIS not retaining virtual root directory...?</title><link>http://forums.iis.net/thread/1874767.aspx</link><pubDate>Wed, 23 Jul 2008 17:38:11 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1874767</guid><dc:creator>ajcool123</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1874767.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1874767</wfw:commentRss><description>&lt;p&gt;Hi guys,&lt;/p&gt;
&lt;p&gt;I setup an application pool and a virtual directory for an asp.net web application that I setup.&amp;nbsp; I am able to navigate fine to &amp;quot;default.aspx&amp;quot; ( &lt;a href="http://localhost/MyWebApp/"&gt;http://localhost/MyWebApp/&lt;/a&gt;&amp;nbsp;) however when I try to click through a link, instead of keeping the &amp;quot;MyWebApp&amp;quot; part ( for example: &lt;a href="http://localhost/MyWebApp/List/List.aspx"&gt;http://localhost/MyWebApp/List/List.aspx&lt;/a&gt; ) &amp;quot;MyWebApp&amp;quot; is removed and it acts like &lt;a href="http://localhost/"&gt;http://localhost&lt;/a&gt; is the root directory.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Any thoughts on why it might be doing this?&amp;nbsp; I am using all relative directories in my application ( example ~/list/list.aspx )&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;</description></item></channel></rss>