?
Solved

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

Posted on 2011-02-22
2
Medium Priority
?
794 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
The viewer will learn how to count occurrences of each item in an array.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

765 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