Solved

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

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

813 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

11 Experts available now in Live!

Get 1:1 Help Now