Here’s how you do it:
Open IIS. (Click “Start”, “Administrative Tools”, “Internet Information Services”.)
Right-click the web server and select “Properties”. (It should be the first computer in the left-hand pane. It most likely has an asterisk * next to
it.)
On the “Internet Information Services” tab (the first one you see), click the “Edit …” button next to “WWW Service” in the drop-down combo box
titled “Master Properties”.
Select the “Home Directory” tab.
Click the “Configuration …” button located near the lower right-hand side of the tab.
Check to make sure that the extension you are modifying is not already in the list!
Click the “Add” button.
Use the “Browse …” button to find the path to the executable you want to handle parsing files with the extension you are about to modify. (ex.
“C:\WINNT\System38\inetsrv\asp.dll” if you want to parse ASP code in the file; “C:\Perl\Perl.exe %s” if you want to parse the file as if it had a *.pl
extension. NOTE: Your paths will be different from mine.)
Add the extension you want to modify. (ex. “.css”, “.cgi”)
Change the verbs to “GET, POST, HEAD”. (I don’t know why. Just do it. It works.)
Click “OK” until you get all the way back to the main screen.
You will – most likely – have to restart the IIS service on the machine.