Your Webhosting Questions
Answered by the Webhosting Experts

How to configure cgi on IIS?

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

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.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +