Browse by Tags
All Tags »
Tutorial (
RSS)
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. Every IIS7 feature is now comprehensively documented on http://www.iis.net/ConfigReference/ This IIS7 Technical Reference provides a list of all the built-in IIS7 features, alphabetized for quick access. 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 <caching> setting, type: http://www.iis.net/ConfigReference/system.webServer/caching and whoila, you now have a complete set of reference material on the subject. Literally hundreds of pages of documentation are now freely available at http://www.iis.net/ConfigReference/ and super easy to access. Each topic has a quick summary of what the feature is, how to install the...
Choices abound for those looking for a place to run Web applications on Windows. 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. If you’re already familiar with hosting and the cloud, skip the next few paragraphs. The traditional approach is to use a Windows hosting provider, like DiscountASP.NET , MaximumASP.com , CrystalTech.com , etc. 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. 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. 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...
Almost every popular PHP app that you may want to run on IIS7 requires MySQL. I just ran across a couple of really great articles which provide step by step instructions for how to get MySQL and PHPMyAdmin running. First, learn how to get MySQL going on Windows 2008 by reading this tutorial: Install MySQL on IIS7 Server 2008 PHPMyAdmin, for those who haven’t used it before, is a handy PHP app that lets you do database administration via your Web browser. Handy for getting a database or user created, running ad hoc queries, and so forth. Learn how to install it by reading this tutorial: Install PHPMyAdmin on IIS7 and Server 2008 The TrainSignalTraining.com guys have a lot of really detailed, step-by-step tutorials on IIS7 for a variety of topics that are free and definitely work checking out. Read More...
I hear this question a lot in the http://forums.iis.net/ , and thanks to Carlos and team's rocking Configuration Editor, figuring this out on your own is a breeze. Here is how you can generate code for ANY IIS7 configuration change, without writing a line yourself. 1) download the IIS7 Administration Pack. What, you don't have it already? You're really missing out on some fantastic tools, including the Configuration Editor. Learn more about the admin pack here http://learn.iis.net/page.aspx/401/using-the-administration-pack/ You can download x86 and x64 from http://www.iis.net/downloads . 2) open "IIS Manager" and click on the "Configuration Editor" feature under the "Management" category: 3) Find the configuration section(s) you want to edit using the drop-down combo box, in this case isapiFilters: 4) use the configuration editor to make your change. In this case, I'm editing a collection...
Ever wanted to add a custom mime type to your Web server? 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: 404.3 error - mime type missing! Why does IIS block requests for unknown mime types? Well, unlike some web servers, we believe it is irresponsible to serve out random content. 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? We really don't know, so we error on the safe side and block all unknown extensions by default from being served. To make it easy to troubleshoot, we return this special error - coded 404.3. 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...
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. This makes transferring IIS7 configuration from your Vista PC to your hosted server as easy as copying files! Read more about this in the Delegating Configuration section of http://learn.IIS.net In this post, I'll show how easy it is to enable directory browsing for your Web site or a directory on your site. 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. Scenario: Let's say I want to enable directory browsing for a special directory on my site, how do I enable that? It's as easy as: 1) create (or edit) the web.config file in your site's home directory 2) edit it as follows: <configuration> <location path="special_directory_name_here">...
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. This makes transferring IIS7 configuration from your Vista PC to your hosted server as easy as copying files! Read more about this in the Delegating Configuration section of http://learn.IIS.net IIS7 also includes a new request filtering feature that protects your Web site by filtering requests. IIS7 looks out for well known attacks and automatically rejects them. 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. For more information on the request filtering feature, visit the http://learn.iis.net/page.aspx/143/how-to-use-request-filtering/ article. In this post, I'll show how easy it is to block or unblock sections of your site...
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. This makes transferring IIS7 configuration from your development box to your hosted server as easy as file copy! Read more about this in the Delegating Configuration section of http://learn.IIS.net In this post, I'll show how easy it is to add or change a default document for your Web site. 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. Scenario: Let's say I want to add index.php as the default document for the new whiz-bang PHP application I just downloaded. IIS doesn't recognize index.php as a default document, so how do I enable that? It's as easy as: 1) create a web.config file in your application directory 2) edit it as follows: <configuration>...
More Posts