<?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>IIS7 - Configuration &amp; Scripting</title><link>http://forums.iis.net/1046.aspx</link><description>Forum aimed at understanding the system.Webserver or system.ApplicationHost using a text editor or scripting</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Wildcard in Default Document</title><link>http://forums.iis.net/thread/1881461.aspx</link><pubDate>Tue, 07 Oct 2008 16:53:30 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881461</guid><dc:creator>CarlosAg</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881461.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1881461</wfw:commentRss><description>&lt;p&gt;You can easily achieve that using URL Rewrite module where you can use Wildcards to grab the folder name and then use the backreference to use it to rewrite the path to the file you need using that.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://forums.iis.net/1152.aspx"&gt;http://forums.iis.net/1152.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Wildcard in Default Document</title><link>http://forums.iis.net/thread/1881459.aspx</link><pubDate>Tue, 07 Oct 2008 16:21:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881459</guid><dc:creator>KristoferG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881459.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1881459</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I honestly don&amp;#39;t understand how you would define a variable that changes.&amp;nbsp;It would require quite much logic to get the folder name for the current folder. Wouldn&amp;#39;t it be easier to create a file awstats.html for each domain name and place it in each folder?&lt;/p&gt;
&lt;p&gt;But to answer your question, no, you cannot do what you want with the defaultDocument property.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Wildcard in Default Document</title><link>http://forums.iis.net/thread/1881431.aspx</link><pubDate>Tue, 07 Oct 2008 10:51:56 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881431</guid><dc:creator>canadaka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881431.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1881431</wfw:commentRss><description>&lt;p&gt;Is there any way to add a wildcard variable in a &amp;#39;default document&amp;#39; entry?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Something like &amp;quot;awstats.DOMAINNAME.html&amp;quot; where DOMAINNAME changes folder to folder.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>