1. WEB CGI interface

At 07:26 PM 3/22/98 -0400, Daniel Berstein wrote:

>The other day I tried to make a small CGI with Euphoria (using OmniHTTP
>server for Windows 95). It failed. Why? Because I couldn't make the CGI
>return it's output to the browser (or server). Someone told me the trick was
>sending the output stream to STDOUT... but didn't work. Does anyone knows
>how a CGI sends output?

You also may want to look at Website 1.1 server that is available on most
CD's that accompany web programming books. I have a great book from WAITE
GROUP PRESS call "WEB DATABASE Construction Kit".

Website, and many other servers, rely on a text file inteface that sends
the cgi data as a parameter to the CGI program it calls.  Along with the
command line parameter, some other control files are built to indicate
source and destination of response. Then, the cgi program creates it's
response html file in a specified file name which the WEB server will read
once the CGI program has terminated. The Website, and others, don't care
about the program that it interfaces with. It just expects to give and
receive the textual interface as defined.

You MUST look at one of these books! I bought mine at a Half-Price Books
for $14.95. So, it's not a large investment to just determine the interface.

DISCLAIMER: I haven't tried any of these servers with any thing other than VB.

--[ Joe Phillips, Sytems Analyst
--[ Texas Wesleyan University     817-531-4444
--[
--[  "The tongue of the just is as choice silver:
--[   the heart of the wicked is little worth."  Proverbs 10:20

new topic     » topic index » view message » categorize

2. Re: WEB CGI interface

Why not see if Euphoria could support ISAPI? That would make it work with
both Personal Information Server, which I use on my desktop machine, and
Internet Information Server for NT and 95.

--
Cameron Kaiser * spectre at sserv.com * http://www.sserv.com/
--
Visit the leading Internet starting point today!
http://www.sserv.com/
--

new topic     » goto parent     » topic index » view message » categorize

3. Re: WEB CGI interface

At 10:38 AM 3/23/98 -0800, you wrote:

>>how a CGI sends output?

There's a FREE http server available with *extensive*
info on CGI, all in html. It says it will work with just
about any language (PERL ,etc)
I have posted the complete zip file on my ftp site,
since it took quite a lot of searching to find  and
download it -- maybe it will save someone else
some trouble. File is about 666k, it is WHTTP14.ZIP
at ftp://ftp.mindspring.com/users/mountains

Irv
------------------------------------------------------
Visit my Euphoria programming web site:
http://www.mindspring.com/~mountains
------------------------------------------------------

new topic     » goto parent     » topic index » view message » categorize

4. Re: WEB CGI interface

>Why not see if Euphoria could support ISAPI? That would make it work with
>both Personal Information Server, which I use on my desktop machine, and
>Internet Information Server for NT and 95.


Did you meant Microsoft Personal Web Server? I was just to try it. But don't
know what ISAPI is... maybe Internet Service API? The problem with PWS is
that it has no documentation and couldn't find no resources on microsoft's
website for using it. For example there's a counter.dll, but have no idea
how you can use it on your own accounts. Another reason for Microsoft to
hire Ralf.

new topic     » goto parent     » topic index » view message » categorize

5. Re: WEB CGI interface

>You also may want to look at Website 1.1 server that is available on most
>CD's that accompany web programming books. I have a great book from WAITE
>GROUP PRESS call "WEB DATABASE Construction Kit".


Thanks,

I found WebSite 1.1e on the web:

http://software.ora.com/download/

It's from O'Reilly Software.

It seems it's the most used (in it's pro version) web server for Win95/NT
platform.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu