Solved

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

Posted on 2011-02-22
2
785 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
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…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

735 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