• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 800
  • Last Modified:

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

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
howart
Asked:
howart
  • 2
1 Solution
 
howartAuthor Commented:
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
 
howartAuthor Commented:
Answered it myself
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now