Solved

IIS7 on SBS2008 How to make a cgi script to execute?

Posted on 2011-02-22
2
779 Views
Last Modified: 2013-12-25
I copied a folder from an old SBS 2003 server to SBS 2008 server.
The folder is in c:\inetpub\foldername
In IIS 7 I published the folder as a virtual directrory.
In the folder is a cgi script that needs to be execute so you can see the web site in your browser.

Now I get a load of errors. In IIS6 on the SBS 2003 server everything works.

What do I have to do to get it working?
0
Comment
Question by:howart
  • 2
2 Comments
 
LVL 1

Accepted Solution

by:
howart earned 0 total points
ID: 34951271
Ok got it running now:

Found answer
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Microsoft_IIS/Q_23204746.html?sfQueryTermInfo=1+10+30+cgi+iis7

Goto the Internet Information Services (IIS) Manager snap-in.  Click on the server in the Connections list, and then click on "ISAPI and CGI Restrictions" under the IIS features view.  Here you'll want to specify the path to a specific cgi application that you want to allow.  Optionally, here you could also allow any cgi app to run, but that's not recommended.

Next, go back to the server (or a specific website) and click on Handler Mappings.  You may already have a "CGI-exe" handler (for *.exe) that is disabled by default.  Enable this, or add a new one (Request path = *.exe, Module = CgiModule, Name = whatever you like).  In the handler permissions you'll need to have "Execute" checked.



0
 
LVL 1

Author Closing Comment

by:howart
ID: 34951275
Answered it myself
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now