<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.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>BillS IIS Blog : Tutorial</title><link>http://blogs.iis.net/bills/archive/tags/Tutorial/default.aspx</link><description>Tags: Tutorial</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Now Online: Comprehensive IIS7 Technical Reference</title><link>http://blogs.iis.net/bills/archive/2009/01/20/now-online-comprehensive-iis7-technical-reference.aspx</link><pubDate>Wed, 21 Jan 2009 06:33:50 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2880715</guid><dc:creator>bills</dc:creator><slash:comments>11</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/bills/rsscomments.aspx?PostID=2880715</wfw:commentRss><comments>http://blogs.iis.net/bills/archive/2009/01/20/now-online-comprehensive-iis7-technical-reference.aspx#comments</comments><description>&lt;p&gt;If you’ve ever tried to find information on how to install a particular IIS7 feature, or how to configure it using the IIS Manager tool, AppCmd.exe, the new Microsoft.Web.Administration interface or WMI provider, this post is for you.&amp;#160; &lt;/p&gt;  &lt;p&gt;Every IIS7 feature is now comprehensively documented on &lt;a href="http://www.iis.net/ConfigReference/"&gt;http://www.iis.net/ConfigReference/&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;This IIS7 Technical Reference provides a list of all the built-in IIS7 features, alphabetized for quick access.&amp;#160; If you know the configuration name you are interested in, just type it into the URL…for example if you’re looking for information on the system.webServer &amp;lt;caching&amp;gt; setting, type: &lt;a href="http://www.iis.net/ConfigReference/system.webServer/caching"&gt;http://www.iis.net/ConfigReference/system.webServer/caching&lt;/a&gt; and whoila, you now have a complete set of reference material on the subject.&amp;#160; Literally hundreds of pages of documentation are now freely available at &lt;a href="http://www.iis.net/ConfigReference/"&gt;http://www.iis.net/ConfigReference/&lt;/a&gt; and super easy to access.&amp;#160; &lt;/p&gt;  &lt;p&gt;Each topic has a quick summary of what the feature is, how to install the feature as well as a quick “how-to” article (with pictures) on locating and using the feature inside IIS Manager.&amp;#160; Each feature is carefully documented with comprehensive information on the configuration section behind each feature including information on each attribute, it’s type and default value as well as sample configuration.&amp;#160; And perhaps best of all, every topic also has sample code for how to use the feature from AppCmd.exe, C#, VB.NET, JavaScript and VBScript!&amp;#160; No more scavenging the forums or live search for sample code!&lt;/p&gt;  &lt;p&gt;This reference guide could not have happened without a lot of hard work by many, especially &lt;a href="http://blogs.iis.net/robert_mcmurray"&gt;Robert McMurray&lt;/a&gt; and Pete Harris (the mysterious man behind the iis.net site).&amp;#160; Many thanks to them, we hope you enjoy this new section on our community site!&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2880715" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/bills/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.iis.net/bills/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.iis.net/bills/archive/tags/IIS+News+Item/default.aspx">IIS News Item</category><category domain="http://blogs.iis.net/bills/archive/tags/Developers/default.aspx">Developers</category><category domain="http://blogs.iis.net/bills/archive/tags/Administrators/default.aspx">Administrators</category><category domain="http://blogs.iis.net/bills/archive/tags/Configuration/default.aspx">Configuration</category><category domain="http://blogs.iis.net/bills/archive/tags/Tutorial/default.aspx">Tutorial</category></item><item><title>How to Run Windows &amp; IIS in the Cloud on Amazon EC2 (in 15 mins)</title><link>http://blogs.iis.net/bills/archive/2009/01/13/how-to-run-windows-amp-iis-in-the-cloud-on-amazon-ec2-in-15-mins.aspx</link><pubDate>Wed, 14 Jan 2009 00:59:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2865558</guid><dc:creator>bills</dc:creator><slash:comments>32</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/bills/rsscomments.aspx?PostID=2865558</wfw:commentRss><comments>http://blogs.iis.net/bills/archive/2009/01/13/how-to-run-windows-amp-iis-in-the-cloud-on-amazon-ec2-in-15-mins.aspx#comments</comments><description>&lt;p&gt;Choices abound for those looking for a place to run Web applications on Windows.&amp;#160; The purpose of this blog post is to show a quick walkthrough of how to setup your first Windows computer in the cloud on Amazon EC2.&amp;#160; If you’re already familiar with hosting and the cloud, skip the next few paragraphs.&amp;#160; &lt;/p&gt;  &lt;p&gt;The traditional approach is to use a Windows hosting provider, like &lt;a href="http://discountasp.net"&gt;DiscountASP.NET&lt;/a&gt;, &lt;a href="http://maximumasp.com"&gt;MaximumASP.com&lt;/a&gt;, &lt;a href="http://CrystalTech.com"&gt;CrystalTech.com&lt;/a&gt;, etc.&amp;#160; These long-time Windows hosting providers offer a flat monthly fee for shared (Web site) and dedicated server (full server) offerings ranging from a few dollars a month to a few hundred dollars a month.&amp;#160; This works great for anyone who wants to set up everything from a simple family or community Web site to a small business or low traffic corporate site that can run on one server.&amp;#160; If your site really takes off, and you want to scale it out onto many servers, you can of course pay for additional servers, and for the consulting services of your hoster to setup load balancing and more advanced network topologies.&amp;#160; Some Windows hosters will even help you with the management of your new Web farm, which ends up being a complex set of gymnastics to backup your data , balance traffic, and deploy and manage your Web site’s content and code across a set of distributed servers.&amp;#160; The cost and complexity of running a Web site on more than one server goes up pretty quickly.&amp;#160; And if the traffic to your site grows and shrinks based on events related to your business, you are usually stuck with the high cost of the number of servers required to host your peak load.&amp;#160; &lt;/p&gt;  &lt;p&gt;New to the game are “cloud hosting” services, including Microsoft’s own &lt;a href="http://www.microsoft.com/azure/windowsazure.mspx"&gt;Windows Azure&lt;/a&gt; (currently available for free in beta form), &lt;a href="http://www.mosso.com/cloud.jsp"&gt;Mosso’s Cloud Sites&lt;/a&gt;, and Amazon’s &lt;a href="http://aws.amazon.com/ec2/"&gt;Elastic Compute Cloud (EC2)&lt;/a&gt;.&amp;#160; These cloud computing offerings differ from traditional hosting in several ways.&amp;#160; First, they offer a more ‘elastic’ capacity model that can grow and shrink on demand.&amp;#160; You tell your hosting provider how much capacity you need, and they automatically ramp up or down the number of servers to meet the demand.&amp;#160; The cost of the service is usually based on usage (like your electricity bill – which is why some often refer to this cloud computing as ‘utility computing’).&amp;#160; Microsoft, Mosso and Amazon all do this in different ways, and offer a variety of capabilities and features that are unique to each.&amp;#160; In some future post I may take the time to review the pros and cons of each, but for now you’ll want to read up on them yourself and decide which is the best for you.&amp;#160;&amp;#160; &lt;/p&gt;  &lt;p&gt;The purpose of this post is to provide a quick walkthrough of how to setup your own EC2 account and run Windows and IIS in about 15 mins.&amp;#160; Amazon’s approach to cloud computing will be familiar to anyone who is already running Windows Server themselves, as it essentially offers Administrative access to virtual server instances running on Amazon’s infrastructure.&amp;#160; Once you’ve created your first instance of Windows server in EC2, you can log on to your Amazon-based Windows Server via Remote Desktop and install software and manage the server the same way you would if it was running in your home or office.&amp;#160; Amazon just released their EC2 Web Console, which makes deploying new instances of Windows Server, and connecting to them, very easy.&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;How to setup an Amazon EC2 account and launch your first Windows computer in the cloud&lt;/h3&gt;  &lt;p&gt;Step 1) get a free AWS account.&amp;#160; Navigate to &lt;a href="http://aws.amazon.com/"&gt;http://aws.amazon.com/&lt;/a&gt;&amp;#160; Unfortunately, I found a bug in IE7 that prevents some of the console from working properly, so you’ll want to use IE6 or Firefox.&amp;#160; If you don’t have an AWS account, click the “Sign up Now” button.&amp;#160; If you already have an account, go to Step #6.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step1_3720D786.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step1" border="0" alt="step1" src="http://blogs.iis.net/blogs/bills/step1_thumb_6D918988.jpg" width="572" height="484" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 2) enter your email address and password, and click “sign in using our secure server”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step2_441D4848.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step2" border="0" alt="step2" src="http://blogs.iis.net/blogs/bills/step2_thumb_583664D1.jpg" width="644" height="402" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 3) Enter your full name, and your password&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step3_6125F710.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step3" border="0" alt="step3" src="http://blogs.iis.net/blogs/bills/step3_thumb_6A15894F.jpg" width="644" height="408" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 4) Enter your contact information, read and accept the license agreement by checking the checkbox at the bottom of the screen.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step4_5E13991B.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step4" border="0" alt="step4" src="http://blogs.iis.net/blogs/bills/step4_thumb_5BD9A110.jpg" width="608" height="484" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 5) Choose “Amazon Elastic Compute Cloud”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step5_48B87464.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step5" border="0" alt="step5" src="http://blogs.iis.net/blogs/bills/step5_thumb_467E7C59.jpg" width="644" height="393" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 6) Click the “Sign up for Amazon EC2” button&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step6_1A617F68.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step6" border="0" alt="step6" src="http://blogs.iis.net/blogs/bills/step6_thumb_05DEC09B.jpg" width="644" height="431" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 7) Review the current pricing.&amp;#160; Note to run a Windows Server the cost ranges from $0.125 to $1.20 per instance hour (and more if you include SQL Server).&amp;#160; At the bottom of the page, enter your credit card information and click submit.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step7_7E55E1DE.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step7" border="0" alt="step7" src="http://blogs.iis.net/blogs/bills/step7_thumb_393D14A8.jpg" width="644" height="385" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 8) Enter a new address for your billing information, or select the existing address if it is the same.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step8_22119A2A.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step8" border="0" alt="step8" src="http://blogs.iis.net/blogs/bills/step8_thumb_6418096B.jpg" width="644" height="448" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 9) Click the “Complete Sign Up” button at the top of the page to begin.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step9_261E78AD.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step9" border="0" alt="step9" src="http://blogs.iis.net/blogs/bills/step9_thumb_03C973E5.jpg" width="644" height="412" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 10) You’ll need a certificate to authenticate with Amazon.&amp;#160; If you already have one, click “Upload your…”, otherwise, click “Create a New X.509 Certificate”.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step10_3A3A25E7.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step10" border="0" alt="step10" src="http://blogs.iis.net/blogs/bills/step10_thumb_752158B0.jpg" width="644" height="456" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 11) Click Yes to generate your certificate&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step11_36BB94FD.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step11" border="0" alt="step11" src="http://blogs.iis.net/blogs/bills/step11_thumb_14669035.jpg" width="644" height="465" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 12) Download your private key and certificate files.&amp;#160; Keep them in a safe place that is protected from other users, and back them up!&amp;#160; When you’re done, click the “AWS Management Console” link on the left.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step12_2645B4B3.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step12" border="0" alt="step12" src="http://blogs.iis.net/blogs/bills/step12_thumb_56035D32.jpg" width="633" height="484" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 13) Click the “Amazon EC2” tab.&amp;#160; You may need to sign in again.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step13_09CB5384.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step13" border="0" alt="step13" src="http://blogs.iis.net/blogs/bills/step13_thumb_754894B6.jpg" width="644" height="454" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 14) To create a new instance of Windows, click the “Launch Instances” button.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step15_29108B08.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step15" border="0" alt="step15" src="http://blogs.iis.net/blogs/bills/step15_thumb_6DBFB5FA.jpg" width="644" height="335" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 15) There are several pre-built images of Windows available.&amp;#160; If you want one with IIS, SQL Express, and ASP.NET pre-installed, choose the first one.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step16_33D0730E.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step16" border="0" alt="step16" src="http://blogs.iis.net/blogs/bills/step16_thumb_787F9E00.jpg" width="634" height="484" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 16) You’ll need a key pair in order to securely connect to your instance.&amp;#160; Click the “Create &amp;amp; Download your Key Pair” button (note IE7 beta doesn’t like this step)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step17_211E0A08.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step17" border="0" alt="step17" src="http://blogs.iis.net/blogs/bills/step17_thumb_17C4D585.jpg" width="644" height="379" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 17) Enter a security group name and description, and click “Continue”.&amp;#160; Security groups are the way you configure policy for your Web server.&amp;#160; For instance, you can open and close ports on a security group.&amp;#160; I created a Webserver security group.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step18_3290FB91.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step18" border="0" alt="step18" src="http://blogs.iis.net/blogs/bills/step18_thumb_74976AD2.jpg" width="644" height="373" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 18) Enter the number of instances (virtual machines) you want to create.&amp;#160; For testing, I enter (1).&amp;#160; I also leave it to “Small” instance type.&amp;#160; Select your key pair name and select the security groups you want to associate this instance with (for applying policy, like firewall ports).&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step19_5D6BF054.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step19" border="0" alt="step19" src="http://blogs.iis.net/blogs/bills/step19_thumb_464075D6.jpg" width="644" height="383" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 19) Amazon will now launch your instance.&amp;#160; Click on the “view instances” link.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step20_0EF9EE9B.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step20" border="0" alt="step20" src="http://blogs.iis.net/blogs/bills/step20_thumb_5ED2A3D7.jpg" width="644" height="376" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 20) Note the instance is in the “starting” status.&amp;#160; Wait 3-5 mins for the instance to be created and to boot.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step21_07710FDF.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step21" border="0" alt="step21" src="http://blogs.iis.net/blogs/bills/step21_thumb_5749C51B.jpg" width="644" height="305" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Notice the “status” has changed to “running”.&amp;#160; Click on the instance and choose “password”.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step22_7C285DF6.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step22" border="0" alt="step22" src="http://blogs.iis.net/blogs/bills/step22_thumb_0517F036.jpg" width="644" height="342" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 21) you’ll want to remote desktop into your instance, which means you need the Administrative password.&amp;#160; By default, Amazon encrypts this password.&amp;#160; It takes a few minutes to generate and encrypt it.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step23_58B0789E.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step23" border="0" alt="step23" src="http://blogs.iis.net/blogs/bills/step23_thumb_6F7250D8.jpg" width="644" height="378" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Once it is encrypted you’ll be able to click the “password” button again and see the screen below.&amp;#160; Open the keypair file you generated in Step 16 and copy + paste it into the private key field below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step24_24A0FAAD.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step24" border="0" alt="step24" src="http://blogs.iis.net/blogs/bills/step24_thumb_0892CC73.jpg" width="644" height="410" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 22) Write down (or copy into the clipboard) the decrypted password shown.&amp;#160; Close the dialog.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step25_4D41F765.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step25" border="0" alt="step25" src="http://blogs.iis.net/blogs/bills/step25_thumb_2124FA74.jpg" width="644" height="337" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 23) Click on the “Connect” button and note that port 3389 is not currently opened, which is the port that remote desktop needs.&amp;#160; We’ll need to click on “security groups” in order to open it.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step26_2A148CB3.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step26" border="0" alt="step26" src="http://blogs.iis.net/blogs/bills/step26_thumb_0516CC3A.jpg" width="644" height="372" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 24) Click on the security group you created in step 17) and choose “RDP” from the list of protocols below, then click “Save”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step27_0E065E79.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step27" border="0" alt="step27" src="http://blogs.iis.net/blogs/bills/step27_thumb_7D8DED7D.jpg" width="644" height="433" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 25) Now click “Instances” and click the “connect” button for your instance.&amp;#160; Note you can download a shortcut file using the link provided, which makes it easy to connect (just double click the file that downloads).&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step28_4D66A2BA.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step28" border="0" alt="step28" src="http://blogs.iis.net/blogs/bills/step28_thumb_11A99AB8.jpg" width="644" height="387" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 26) Otherwise, fire up Remote Desktop and enter the computer name for your Amazon EC2 instance.&amp;#160; Log in as Administrator using the password provided.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step28a_658C9DC6.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step28a" border="0" alt="step28a" src="http://blogs.iis.net/blogs/bills/step28a_thumb_6E7C3005.jpg" width="415" height="250" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 27) The remote computer has an automatically generated certificate that is not automatically identified.&amp;#160; Click “View Certificate”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step29_750BB22F.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step29" border="0" alt="step29" src="http://blogs.iis.net/blogs/bills/step29_thumb_2FF2E4F9.jpg" width="400" height="476" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 28) To install the certificate to your computer, click “install certificate” and follow the wizard.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step30_3B42874D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step30" border="0" alt="step30" src="http://blogs.iis.net/blogs/bills/step30_thumb_200CBEFD.jpg" width="413" height="515" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 29) you should now be connected.&amp;#160; Enter your Admin credentials from Step 22.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step31_21073F8B.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step31" border="0" alt="step31" src="http://blogs.iis.net/blogs/bills/step31_thumb_7C097F11.jpg" width="623" height="484" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 30) Open up IIS Manager and start creating your Web site!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step32_32E66409.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step32" border="0" alt="step32" src="http://blogs.iis.net/blogs/bills/step32_thumb_26E473D5.jpg" width="623" height="484" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 31) You should also visit &lt;a href="http://microsoft.com/web/channel/products/WebPlatformInstaller.aspx"&gt;http://microsoft.com/web/channel/products/WebPlatformInstaller.aspx&lt;/a&gt; and install the Microsoft Web PI tool, which helps you get all the latest extensions and update in one place.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step33_0FB8F957.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step33" border="0" alt="step33" src="http://blogs.iis.net/blogs/bills/step33_thumb_1F5B9519.jpg" width="623" height="484" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/bills/step34_2EFE30DB.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="step34" border="0" alt="step34" src="http://blogs.iis.net/blogs/bills/step34_thumb_65DB15D2.jpg" width="623" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;You’ll notice that Amazon currently only has Windows 2003 available, which means that it isn’t yet possibly to run IIS7!&amp;#160; If you’re like me, this is a real bummer as IIS7 has &lt;a href="http://iis.net/getstarted"&gt;so many cool new features&lt;/a&gt;.&amp;#160; Please &lt;a href="mailto:aws@amazon.com"&gt;send Amazon a note letting&lt;/a&gt; them know you would like to see Windows 2008 available on EC2!&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2865558" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/bills/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.iis.net/bills/archive/tags/IIS+News+Item/default.aspx">IIS News Item</category><category domain="http://blogs.iis.net/bills/archive/tags/Developers/default.aspx">Developers</category><category domain="http://blogs.iis.net/bills/archive/tags/Administrators/default.aspx">Administrators</category><category domain="http://blogs.iis.net/bills/archive/tags/Tutorial/default.aspx">Tutorial</category><category domain="http://blogs.iis.net/bills/archive/tags/Deployment/default.aspx">Deployment</category></item><item><title>How to get MySQL and PHPMyAdmin working with IIS7 and Windows 2008</title><link>http://blogs.iis.net/bills/archive/2008/10/14/how-to-get-mysql-and-phpmyadmin-working-with-iis7-and-windows-2008.aspx</link><pubDate>Tue, 14 Oct 2008 16:56:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2682250</guid><dc:creator>bills</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/bills/rsscomments.aspx?PostID=2682250</wfw:commentRss><comments>http://blogs.iis.net/bills/archive/2008/10/14/how-to-get-mysql-and-phpmyadmin-working-with-iis7-and-windows-2008.aspx#comments</comments><description>&lt;p&gt;Almost every popular PHP app that you may want to run on IIS7 requires MySQL.&amp;#160; I just ran across a couple of really great articles which provide step by step instructions for how to get &lt;a href="http://www.mysql.com/"&gt;MySQL&lt;/a&gt; and &lt;a href="http://www.phpmyadmin.net/home_page/index.php"&gt;PHPMyAdmin&lt;/a&gt; running.&amp;#160; &lt;/p&gt;  &lt;p&gt;First, learn how to get MySQL going on Windows 2008 by reading this tutorial: &lt;a href="http://www.trainsignaltraining.com/install-mysql-on-iis7/2008-09-10/"&gt;Install MySQL on IIS7 Server 2008&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;PHPMyAdmin, for those who haven’t used it before, is a handy PHP app that lets you do database administration via your Web browser.&amp;#160; Handy for getting a database or user created, running ad hoc queries, and so forth.&amp;#160; Learn how to install it by reading this tutorial: &lt;a href="http://www.trainsignaltraining.com/install-phpmyadmin-on-iis7-and-server-2008/2008-09-16/"&gt;Install PHPMyAdmin on IIS7 and Server 2008&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The TrainSignalTraining.com guys have a lot of really detailed, &lt;a href="http://www.trainsignaltraining.com/index.php?s=iis"&gt;step-by-step tutorials on IIS7&lt;/a&gt; for a variety of topics that are free and definitely work checking out.&amp;#160; &lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2682250" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/bills/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.iis.net/bills/archive/tags/PHP/default.aspx">PHP</category><category domain="http://blogs.iis.net/bills/archive/tags/Community/default.aspx">Community</category><category domain="http://blogs.iis.net/bills/archive/tags/Tutorial/default.aspx">Tutorial</category></item><item><title>How to Script / Automate IIS7 Configuration (without writing code)</title><link>http://blogs.iis.net/bills/archive/2008/06/01/how-do-i-script-automate-iis7-configuration.aspx</link><pubDate>Mon, 02 Jun 2008 00:58:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2393607</guid><dc:creator>bills</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/bills/rsscomments.aspx?PostID=2393607</wfw:commentRss><comments>http://blogs.iis.net/bills/archive/2008/06/01/how-do-i-script-automate-iis7-configuration.aspx#comments</comments><description>&lt;P&gt;I hear this question a lot in the &lt;A href="http://forums.iis.net/" mce_href="http://forums.iis.net/"&gt;http://forums.iis.net/&lt;/A&gt;, and thanks to &lt;A href="http://blogs.iis.net/carlosag/" mce_href="http://blogs.iis.net/carlosag/"&gt;Carlos&lt;/A&gt; and team's rocking Configuration Editor, figuring this out on your own is a breeze.&amp;nbsp; Here is how you can generate code for ANY IIS7 configuration change, without writing a line yourself.&lt;/P&gt;
&lt;P&gt;1) download the IIS7 Administration Pack.&amp;nbsp; What, you don't have it already?&amp;nbsp; You're really missing out on some fantastic tools, including the Configuration Editor.&amp;nbsp; Learn more about the admin pack here &lt;A title=http://learn.iis.net/page.aspx/401/using-the-administration-pack/ href="http://learn.iis.net/page.aspx/401/using-the-administration-pack/" mce_href="http://learn.iis.net/page.aspx/401/using-the-administration-pack/"&gt;http://learn.iis.net/page.aspx/401/using-the-administration-pack/&lt;/A&gt;&amp;nbsp; You can download &lt;A href="http://www.iis.net/downloads/1682/ItemPermaLink.ashx" mce_href="http://www.iis.net/downloads/1682/ItemPermaLink.ashx"&gt;x86&lt;/A&gt; and &lt;A href="http://www.iis.net/downloads/1683/ItemPermaLink.ashx" mce_href="http://www.iis.net/downloads/1683/ItemPermaLink.ashx"&gt;x64&lt;/A&gt; from &lt;A href="http://www.iis.net/downloads" mce_href="http://www.iis.net/downloads"&gt;http://www.iis.net/downloads&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;2) open "IIS Manager" and click on the "Configuration Editor" feature under the "Management" category:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image.png" mce_href="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=480 alt=image src="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_thumb.png" width=644 border=0 mce_src="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;3) Find the configuration section(s) you want to edit using the drop-down combo box, in this case isapiFilters:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_3.png" mce_href="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_3.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=480 alt=image src="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_thumb_3.png" width=644 border=0 mce_src="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_thumb_3.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;4) use the configuration editor to make your change.&amp;nbsp; In this case, I'm editing a collection, which pops up a collection editor where I can add items to the isapiFilter list by clicking 'add' in the task pane.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_4.png" mce_href="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_4.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=459 alt=image src="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_thumb_4.png" width=644 border=0 mce_src="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_thumb_4.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;5) once you're done making any configuration updates, click on the 'Generate Script' task in the main Config Editor window:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_5.png" mce_href="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_5.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=480 alt=image src="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_thumb_5.png" width=644 border=0 mce_src="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_thumb_5.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;6) the script generator creates three ways of automating the configuration change you just made&amp;nbsp; C#, JavaScript (again the AHAdmin COM interface) and AppCmd.exe&lt;/P&gt;
&lt;P&gt;&lt;A href="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_6.png" mce_href="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_6.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=510 alt=image src="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_thumb_6.png" width=712 border=0 mce_src="http://wallpaper.iis7.org/blog/HowDoIScriptAutomateIIS7Configuration_FC71/image_thumb_6.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;7) Copy and Paste these changes into your own script / code and whoila, you've got sample code for making any IIS7 configuration change.&lt;/P&gt;
&lt;P&gt;You may also want to read up on the IIS7 Administration APIs.&amp;nbsp; You can find a lot more information here:&lt;/P&gt;
&lt;P&gt;&lt;A title="Using Scripts to Automate Management" href="http://learn.iis.net/page.aspx/98/using-scripts-to-automate-management/" mce_href="http://learn.iis.net/page.aspx/98/using-scripts-to-automate-management/"&gt;Using Scripts to Automate Management&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="Managing IIS with the IIS 7.0 PowerShell Provider" href="http://learn.iis.net/page.aspx/447/managing-iis-with-the-iis-70-powershell-provider/" mce_href="http://learn.iis.net/page.aspx/447/managing-iis-with-the-iis-70-powershell-provider/"&gt;Managing IIS with the IIS 7.0 PowerShell Provider&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2393607" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/bills/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.iis.net/bills/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.iis.net/bills/archive/tags/Administration/default.aspx">Administration</category><category domain="http://blogs.iis.net/bills/archive/tags/Samples+_2600_amp_3B00_+Demos/default.aspx">Samples &amp;amp; Demos</category><category domain="http://blogs.iis.net/bills/archive/tags/IIS+News+Item/default.aspx">IIS News Item</category><category domain="http://blogs.iis.net/bills/archive/tags/Developers/default.aspx">Developers</category><category domain="http://blogs.iis.net/bills/archive/tags/Administrators/default.aspx">Administrators</category><category domain="http://blogs.iis.net/bills/archive/tags/Configuration/default.aspx">Configuration</category><category domain="http://blogs.iis.net/bills/archive/tags/Tutorial/default.aspx">Tutorial</category></item><item><title>How to add mime types with IIS7 Web.config</title><link>http://blogs.iis.net/bills/archive/2008/03/25/how-to-add-mime-types-with-iis7-web-config.aspx</link><pubDate>Tue, 25 Mar 2008 14:27:48 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2252501</guid><dc:creator>bills</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/bills/rsscomments.aspx?PostID=2252501</wfw:commentRss><comments>http://blogs.iis.net/bills/archive/2008/03/25/how-to-add-mime-types-with-iis7-web-config.aspx#comments</comments><description>&lt;p&gt;Ever wanted to add a custom mime type to your Web server?&amp;#160; I ran into this issue the other day when I tried to serve up .mp4 files from my Web server and duh, I got this error:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://wallpaper.iis7.org/blog/HowtoaddmimetypeswithIIS7Web.config_12DAD/image.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="404.3 error" src="http://wallpaper.iis7.org/blog/HowtoaddmimetypeswithIIS7Web.config_12DAD/image_thumb.png" width="621" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;404.3 error - mime type missing!&lt;/p&gt;  &lt;p&gt;Why does IIS block requests for unknown mime types?&amp;#160; Well, unlike some web servers, we believe it is irresponsible to serve out random content.&amp;#160; After all, did you really intend to serve up that .mdb (access database), .passwd (password), .inc (source include) or other random files that may have landed in your web content directory?&amp;#160; We really don't know, so we error on the safe side and block all unknown extensions by default from being served.&amp;#160; To make it easy to troubleshoot, we return this special error - coded 404.3.&amp;#160; &lt;/p&gt;  &lt;p&gt;Thankfully, adding mime types is easier than ever thanks to the all-new distributed configuration option, which allows for IIS7 configuration to be stored in web.config files, along with asp.net configuration, to be deployed with your content.&amp;#160; This makes transferring IIS7 configuration from your Vista PC to your hosted server as easy as copying files!&amp;#160; Read more about this in the &lt;a href="http://learn.iis.net/page.aspx/94/delegating-administration/"&gt;Delegating Configuration&lt;/a&gt; section of &lt;a href="http://learn.IIS.net"&gt;http://learn.IIS.net&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;In this post, I'll show how easy it is to add mime types to your Web server.&amp;#160; This method will work on any IIS7 web server, and it will be ignored on all non-IIS7 web servers, so it should be safe to do no matter the type of application or content.&amp;#160; Since the &amp;lt;staticContent&amp;gt; section is delegated by default, the configuration snippets below should 'just work' on all IIS7 Web sites.&amp;#160; &lt;/p&gt;  &lt;p&gt;Scenario:&amp;#160; Let's say I want serve up some h264 video and need to add the .mp4 and .m4v file types to IIS7?&amp;#160; It's as easy as:&lt;/p&gt;  &lt;p&gt;1) create (or edit) the web.config file in your site's home directory&lt;/p&gt;  &lt;p&gt;2) edit it as follows:&lt;/p&gt;  &lt;pre&gt;&lt;p&gt;&amp;lt;configuration&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;system.webServer&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;staticContent&amp;gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;mimeMap fileExtension=&amp;quot;.mp4&amp;quot; mimeType=&amp;quot;video/mp4&amp;quot; /&amp;gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;mimeMap fileExtension=&amp;quot;.m4v&amp;quot; mimeType=&amp;quot;video/m4v&amp;quot; /&amp;gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/staticContent&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/system.webServer&amp;gt;&lt;p&gt;&amp;lt;/configuration&amp;gt; &lt;/p&gt;&lt;/pre&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;Scenario 2: Let's say I want to add Silverlight-related mime types to my site/application?&amp;#160; See &lt;a href="http://learn.iis.net/page.aspx/262/silverlight/"&gt;this article&lt;/a&gt; for all the gory details, but it is as easy as:&lt;/p&gt;

&lt;p&gt;1) create (or edit) the web.config file in your site's home directory&lt;/p&gt;

&lt;p&gt;2) edit it as follows:&lt;/p&gt;

&lt;pre&gt;&lt;p&gt;&amp;lt;configuration&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;system.webServer&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;staticContent&amp;gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;     &amp;lt;mimeMap fileExtension=&amp;quot;.xaml&amp;quot; mimeType=&amp;quot;application/xaml+xml&amp;quot; /&amp;gt;&lt;br /&gt;     &amp;lt;mimeMap fileExtension=&amp;quot;.xap&amp;quot; mimeType=&amp;quot;application/x-silverlight-app&amp;quot; /&amp;gt;&lt;br /&gt;     &amp;lt;mimeMap fileExtension=&amp;quot;.xbap&amp;quot; mimeType=&amp;quot;application/x-ms-xbap&amp;quot; /&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/staticContent&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/system.webServer&amp;gt;&lt;p&gt;&amp;lt;/configuration&amp;gt; &lt;/p&gt;&lt;/pre&gt;

&lt;p&gt;Also, if you'd like a fancy UI to help you to manage mime types, IIS Manager provides a nice tool based approach.&amp;#160; Just click on the 'mime types' feature:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://wallpaper.iis7.org/blog/HowtoaddmimetypeswithIIS7Web.config_12DAD/image_3.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="image" src="http://wallpaper.iis7.org/blog/HowtoaddmimetypeswithIIS7Web.config_12DAD/image_thumb_3.png" width="644" border="0" /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;

&lt;p&gt;and then click 'add' on the Actions pane:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://wallpaper.iis7.org/blog/HowtoaddmimetypeswithIIS7Web.config_12DAD/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="image" src="http://wallpaper.iis7.org/blog/HowtoaddmimetypeswithIIS7Web.config_12DAD/image_thumb_4.png" width="644" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Whoila!&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2252501" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/bills/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.iis.net/bills/archive/tags/Administration/default.aspx">Administration</category><category domain="http://blogs.iis.net/bills/archive/tags/Developers/default.aspx">Developers</category><category domain="http://blogs.iis.net/bills/archive/tags/Administrators/default.aspx">Administrators</category><category domain="http://blogs.iis.net/bills/archive/tags/Configuration/default.aspx">Configuration</category><category domain="http://blogs.iis.net/bills/archive/tags/Tutorial/default.aspx">Tutorial</category></item><item><title>How to enable directory browsing with IIS7 web.config</title><link>http://blogs.iis.net/bills/archive/2008/03/24/how-to-enable-directory-browsing-with-iis7-web-config.aspx</link><pubDate>Mon, 24 Mar 2008 18:32:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2249621</guid><dc:creator>bills</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/bills/rsscomments.aspx?PostID=2249621</wfw:commentRss><comments>http://blogs.iis.net/bills/archive/2008/03/24/how-to-enable-directory-browsing-with-iis7-web-config.aspx#comments</comments><description>&lt;P&gt;IIS7 includes an all-new distributed configuration option, which allows for IIS7 configuration to be stored in web.config files, along with asp.net configuration, to be deployed with your content.&amp;nbsp; This makes transferring IIS7 configuration from your Vista PC to your hosted server as easy as copying files!&amp;nbsp; Read more about this in the &lt;A href="http://learn.iis.net/page.aspx/94/delegating-administration/" mce_href="http://learn.iis.net/page.aspx/94/delegating-administration/"&gt;Delegating Configuration&lt;/A&gt; section of &lt;A href="http://learn.iis.net/" mce_href="http://learn.iis.net/"&gt;http://learn.IIS.net&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In this post, I'll show how easy it is to enable directory browsing for your Web site or a directory on your site.&amp;nbsp; This method will work on any IIS7 web server, and it will be ignored on all non-IIS7 web servers, so it should be safe to do no matter the type of application or content.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Scenario:&amp;nbsp; Let's say I want to enable directory browsing for a special directory on my site, how do I enable that?&amp;nbsp; It's as easy as:&lt;/P&gt;
&lt;P&gt;1) create (or edit) the web.config file in your site's home directory&lt;/P&gt;
&lt;P&gt;2) edit it as follows:&lt;/P&gt;&lt;PRE&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;location path="special_directory_name_here"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;system.webServer&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;directoryBrowse enabled="true" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/system.webServer&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/location&amp;gt;&lt;BR&gt;&amp;lt;/configuration&amp;gt;&lt;/P&gt;&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;/PRE&gt;
&lt;P&gt;Note you will need to change the location path to equal the directory name you want to enable directory browsing for. If you want to enable it for the entire site, just remove the entire &amp;lt;location&amp;gt; and &amp;lt;/location&amp;gt; tags (which tell IIS7 to scope the configuration changes to just the path specified).&amp;nbsp;&amp;nbsp; Enjoy!&lt;/P&gt;
&lt;P&gt;PS:&amp;nbsp;&lt;/P&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Hi Bill&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;FONT size=3 face=Calibri&gt;I read your blog about "How to enable directory browsing with IIS7 web.config" (&lt;/FONT&gt;&lt;A href="http://blogs.iis.net/bills/archive/2008/03/24/how-to-enable-directory-browsing-with-iis7-web-config.aspx#comments"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;http://blogs.iis.net/bills/archive/2008/03/24/how-to-enable-directory-browsing-with-iis7-web-config.aspx#comments&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Chris added a comment that he likes to know if it's possible to hide files from being displayed in the directory list. It's correct that you can't configure this behavior through web.config, but it works if you just set the file as "hidden" on the filesystem.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;I'm writing you because i'm not registered, so maybe you could add this information on the blog entry or in the comments.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Would be nice because i didn't find this information anywhere, I figured it out by myself.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Regards&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Jens&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2249621" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/bills/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.iis.net/bills/archive/tags/Developers/default.aspx">Developers</category><category domain="http://blogs.iis.net/bills/archive/tags/Administrators/default.aspx">Administrators</category><category domain="http://blogs.iis.net/bills/archive/tags/Configuration/default.aspx">Configuration</category><category domain="http://blogs.iis.net/bills/archive/tags/Tutorial/default.aspx">Tutorial</category></item><item><title>How to (un)block directories with IIS7 web.config</title><link>http://blogs.iis.net/bills/archive/2008/03/23/how-to-un-block-directories-with-iis7-web-config.aspx</link><pubDate>Sun, 23 Mar 2008 18:44:37 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2249635</guid><dc:creator>bills</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/bills/rsscomments.aspx?PostID=2249635</wfw:commentRss><comments>http://blogs.iis.net/bills/archive/2008/03/23/how-to-un-block-directories-with-iis7-web-config.aspx#comments</comments><description>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;IIS7 includes an all-new distributed configuration option, which allows for IIS7 configuration to be stored in web.config files, along with asp.net configuration, to be deployed with your content.&amp;#160; This makes transferring IIS7 configuration from your Vista PC to your hosted server as easy as copying files!&amp;#160; Read more about this in the &lt;a href="http://learn.iis.net/page.aspx/94/delegating-administration/"&gt;Delegating Configuration&lt;/a&gt; section of &lt;a href="http://learn.IIS.net"&gt;http://learn.IIS.net&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;IIS7 also includes a new request filtering feature that protects your Web site by filtering requests.&amp;#160; IIS7 looks out for well known attacks and automatically rejects them.&amp;#160; You can tell IIS7 about special patterns you want to look out for, and you can block access to certain parts of your site, by simply adding new configuration to your Web.config file.&amp;#160; For more information on the request filtering feature, visit the &lt;a title="http://learn.iis.net/page.aspx/143/how-to-use-request-filtering/" href="http://learn.iis.net/page.aspx/143/how-to-use-request-filtering/"&gt;http://learn.iis.net/page.aspx/143/how-to-use-request-filtering/&lt;/a&gt; article.&lt;/p&gt;  &lt;p&gt;In this post, I'll show how easy it is to block or unblock sections of your site from being accessed.&amp;#160; This method will work on any IIS7 web server, and it will be ignored on all non-IIS7 web servers, so it should be safe to do no matter the type of application or content.&amp;#160; &lt;/p&gt;  &lt;p&gt;By default, IIS7 blocks access to a few well-known special directories, including &amp;quot;bin&amp;quot;, &amp;quot;App_Code&amp;quot;, &amp;quot;App_Data&amp;quot; and so forth.&amp;#160; This is because these directories often contain special code or data that is normally never accessed directly from the Web.&amp;#160; You may want to protect other directories on your site from being accessed, for example your &amp;quot;log&amp;quot; directory or &amp;quot;database&amp;quot; directory.&amp;#160; Or you may be using an application, like Lightroom, which actually requires access to one of the previous blocked directories like &amp;quot;bin&amp;quot;.&amp;#160; You can easily block or unblock access to directories by adding a bit of configuration to your web.config file.&amp;#160; &lt;/p&gt;  &lt;p&gt;Scenario:&amp;#160; Let's say I want to block the &amp;quot;log&amp;quot; directory from being accessed on my site?&amp;#160; It's as easy as:&lt;/p&gt;  &lt;p&gt;1) create (or edit) the web.config file in your site's home directory&lt;/p&gt;  &lt;p&gt;2) edit it as follows:&lt;/p&gt;  &lt;pre&gt;&lt;p&gt;&amp;lt;configuration&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;system.webServer&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;security&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;requestFiltering&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;hiddenSegments&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;add segment=&amp;quot;log&amp;quot; /&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/hiddenSegments&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/requestFiltering&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/security&amp;gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/system.webServer&amp;gt;&lt;p&gt;&amp;lt;/configuration&amp;gt; &lt;/p&gt;&lt;/pre&gt;

&lt;p&gt;Note: if you instead want to unblock a directory like &amp;quot;bin&amp;quot;, to enable applications like Lightroom to work with IIS7, the configuration required is exactly the same as above, except for the &amp;lt;add segment=&amp;quot;log&amp;quot;/&amp;gt; directive.&amp;#160; Change it to be &amp;lt;remove segment=&amp;quot;bin&amp;quot; /&amp;gt; and IIS7 will allow access to &amp;quot;bin&amp;quot; directories on your site (Careful: if you do this on an ASP.NET site you may be unintentionally allowing access to assemblies that are normally protected)&lt;/p&gt;

&lt;p&gt;Also, if you'd like a fancy UI to help you in managing your request filtering rules, check out the new &lt;a href="http://blogs.iis.net/bills/archive/2008/03/21/new-iis7-extensions-available-for-download.aspx"&gt;IIS7 Admin Pack&lt;/a&gt; which just shipped and includes a new UI feature which makes managing this feature easy!&amp;#160; &lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2249635" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/bills/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.iis.net/bills/archive/tags/Developers/default.aspx">Developers</category><category domain="http://blogs.iis.net/bills/archive/tags/Configuration/default.aspx">Configuration</category><category domain="http://blogs.iis.net/bills/archive/tags/Tutorial/default.aspx">Tutorial</category></item><item><title>How to add a default document with IIS7 web.config</title><link>http://blogs.iis.net/bills/archive/2008/03/22/how-to-add-a-default-document-with-iis7-web-config.aspx</link><pubDate>Sat, 22 Mar 2008 12:40:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2248098</guid><dc:creator>bills</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/bills/rsscomments.aspx?PostID=2248098</wfw:commentRss><comments>http://blogs.iis.net/bills/archive/2008/03/22/how-to-add-a-default-document-with-iis7-web-config.aspx#comments</comments><description>&lt;P&gt;IIS7 includes an all-new distributed configuration option, which allows for IIS7 configuration to be stored in web.config files, along with asp.net configuration, to be deployed with your content.&amp;nbsp; This makes transferring IIS7 configuration from your development box to your hosted server as easy as file copy!&amp;nbsp; Read more about this in the &lt;A href="http://learn.iis.net/page.aspx/94/delegating-administration/" mce_href="http://learn.iis.net/page.aspx/94/delegating-administration/"&gt;Delegating Configuration&lt;/A&gt; section of &lt;A href="http://learn.iis.net/" mce_href="http://learn.IIS.net"&gt;http://learn.IIS.net&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In this post, I'll show how easy it is to add or change a default document for your Web site.&amp;nbsp; This method will work on any IIS7 web server, and it will be ignored on all non-IIS7 web servers, so it should be safe to do no matter the type of application or content.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Scenario:&amp;nbsp; Let's say I want to add index.php as the default document for the new whiz-bang PHP application I just downloaded.&amp;nbsp; IIS doesn't recognize index.php as a default document, so how do I enable that?&amp;nbsp; It's as easy as:&lt;/P&gt;
&lt;P&gt;1) create a web.config file in your application directory&lt;/P&gt;
&lt;P&gt;2) edit it as follows:&lt;/P&gt;&lt;PRE&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;system.webServer&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;defaultDocument&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;files&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add value="index.php" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/files&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/defaultDocument&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/system.webServer&amp;gt;&lt;BR&gt;&amp;lt;/configuration&amp;gt;&lt;/P&gt;&lt;/PRE&gt;
&lt;P&gt;How does this work?&amp;nbsp; IIS7 monitors web directories for the web.config file, and will notice any time a file with this name is created or changed.&amp;nbsp; It reads the configuration in the file and merges it with any parent or global configuration set at higher levels (at a site or server level).&amp;nbsp; In this case, we're telling IIS to add the "index.php" value to the list of default documents.&amp;nbsp; You can also remove an individual entry in the defaultDocument list by doing this:&lt;/P&gt;&lt;PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;files&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;remove value="index.php" /&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;lt;/files&amp;gt;&lt;/P&gt;&lt;/PRE&gt;
&lt;P&gt;Or you can clear all of the inherited values in the defaultDocument list first by doing this:&lt;/P&gt;
&lt;P&gt;&amp;lt;files&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;clear/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add value="index.php" /&amp;gt; &lt;BR&gt;&amp;lt;/files&amp;gt;&lt;/P&gt;
&lt;P&gt;IIS7 distributed configuration is very powerful!&amp;nbsp; Read more on &lt;A href="http://learn.iis.net/page.aspx/94/delegating-administration/" mce_href="http://learn.iis.net/page.aspx/94/delegating-administration/"&gt;http://learn.iis.net&lt;/A&gt;.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2248098" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/bills/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.iis.net/bills/archive/tags/Developers/default.aspx">Developers</category><category domain="http://blogs.iis.net/bills/archive/tags/Configuration/default.aspx">Configuration</category><category domain="http://blogs.iis.net/bills/archive/tags/Tutorial/default.aspx">Tutorial</category></item></channel></rss>