OT:Configurar IIS 7 CGI

OT:Configurar IIS 7 CGI

Postby Alin » Sat Sep 01, 2012 3:16 am

Hola,

Perdón por el OT, pero ya me desespere, no logro configurar IIS 7 (Windows 7), para ejecutar un exe como CGI, la idea es simple tengo una página html un botón y al hacer clic al botón debe ejecutar un exe, y no me esta funcionando con IIS 7, he hecho pruebas con Apache y si funciona, también con Xitami y tampoco tengo problemas solamente con IIS, que al final es donde debo montar el CGI.

Agradezco si alguien tiene alguna experiencia con esto y quiera compartir.

Saludos,
Javier
Alin
 
Posts: 18
Joined: Mon Dec 06, 2010 6:35 pm

Re: OT:Configurar IIS 7 CGI

Postby postinelli » Tue Sep 04, 2012 9:50 pm

a ver si te sirve algo de esto
son datos que yo usé para configurar mi server y usar aplicaciones CGI
///////////
For the longest time, Microsoft was telling us that we could not run WIN-CGI
applications on Windows NT under their IIS (Internet Information Server)
Web Server. And we believed them!

Recently, a very smart young man named John Bristor posted a message on
the comp.lang.clipper news group telling me I was all wet, and that one
could indeed run WIN-CGI apps on IIS, "IF" you knew how! He gave me
enough information that with only a couple of hours of research on the
internet I found the answer. It is the Microsoft IIS SDK! (that's
right, it is by Microsoft, but they wouldn't tell us)

Thanks John!

So..... Lets make a long story short.... You need a file called
IS2WCGI.DLL which we have renamed to CLIPWEB.DLL in this version.

How to use it... Assume you have a ClipWeb CGI program called
mycgi.exe. Basically, all you have to do is copy clipweb.dll to
mycgi.dll and instead of calling mycgi.exe you call mycgi.dll.
Mycgi.dll in turn calls mycgi.exe and passes it all of the information
that your program needs.

ClipWeb.dll (IS2WCGI.DLL) is a 32 bit ISAPI dll that acts as a "thunk"
layer between your 16 bit Clipper or 32 bit Xbase++ WINCGI program,
and Windows NT and IIS.

They are both Microsoft's IS2WCGI.DLL which is used for running ClipWeb
programs on Microsoft IIS Web Servers

Microsoft IIS is a very complicated product.

Supporting the installation and setup of IIS is beyond the scope our
technical support resources. Please contact Microsoft for help in
configuring your IIS servers.

ClipWeb has been proven to run well under both IIS 3 and IIS 4.
All of the test examples included here have been tested on both servers.

If you can not run these examples on your IIS server, it is because the
server is not setup properly to run these types of scripts.

This is most often seen on multi-homed servers operated by an ISP where
you are simply renting space. You must request from your provider that
they configure the server to allow you to run these scripts.

In a default IIS 3 setup on a local machine with a single domain and not
connected to the internet, IIS 3 setup starts with a default setup that
has a directory called \inetpub Under that is a directory called
inetpub\wwwroot which is where your HTML files go.

Also under \inetpub is a directory called \inetpub\scripts where your
exe and dll and data files go.

The EXECUTE permissions for this directory must be turned ON

Armed with this info, you should be able to get your provider to
properly configure your server.
postinelli
 
Posts: 147
Joined: Tue Jul 15, 2008 7:12 pm
Location: Argentina

Re: OT:Configurar IIS 7 CGI

Postby Alin » Thu Sep 06, 2012 5:02 am

Hola,

Te agradezco la respuesta, leyendo otro manual que encontré ahora sin ningún problema puedo ejecutar CGI ejecutables bajo IIS en Windows 7.

Gracias.

Saludos,
Javier
Alin
 
Posts: 18
Joined: Mon Dec 06, 2010 6:35 pm


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 74 guests