If you are using IIS 6.0:
- Open Internet Information Services (IIS) Manager
- Expand your computer name
- Expand 'Web Sites'
- If you want to affect a Web site, right-click the web site in question (and hit Properties); otherwise, expand a web site and right-click the application in question (and hit Properties)
- On the Home Directory tab, click Configuration...
- On the Mappings tab, click Add...
- For Executable: enter the same location for asp.dll as you see with the .asp mapping (this is usually C:\Windows\System32\inetsrv\asp.dll)
- For Extension: enter the extension (including the leading dot)
- Leave the rest of the settings at their defaults
- Hit OK, OK, Apply, OK, and close IIS Manager.
If you are using IIS 4.0:
- Open up Internet Services Manager
- Right-click your computer name and hit Properties
- Under Master Properties, with WWW Service highlighted, click Edit...
- On the Home Directory tab, click Configuration...
- On the App Mappings tab, click Add
- Using the browse button, locate asp.dll in your Inetsrv folder
- In the extension box, type the extension you want to map to asp.dll
- Click Apply or OK however many times is required
- Close Internet Services Manager (if it asks you to save console settings, say yes)
Now, make Hello World! file with your new extension, save it to that web site or application's root, and navigate to it via http://servername/filename.newExtension.
If you are using IIS 5.0 (windows 2000) or IIS 5.1 (Windows XP), please
let us know if the directions are somewhere between the above two sets. I'm pretty sure those operating systems behave more like Windows Server 2003 in this regard, but I just want to be sure.