Re: Local CGI & Euphoria
- Posted by Irv <irv at ELLIJAY.COM> Jun 01, 1998
- 757 views
At 01:41 PM 5/30/98 EDT, Buddy Hyllberg wrote: >I've been tinkering around with PERL & CGI lately, and I know that >Euphoria would be great for CGI too. So I went to work trying to get a >HTTP server to work locally, so I could use CGI scripting with Euphoria. >I setup the WinHttpd package, along with a TCP/IP package ... Buddy: See my Euphoria CGI tutorial (such as it is) on my web page. It answers your questions below - with sample programs and all. http://www.mindspring.com/~mountains Regards, Irv >The HTTP server worked, but just stayed idle & wouldn't do anything. >The way I understand that CGI works is that to the script, the client is >STDOUT & the script is STDIN (and that's how the post method works, by >putting input in STDIN to the script instead of in a query string). > > > <---STDIN---- >script (server) client (browser) > ---STDOUT---> > > >So my questions are: > > 1. is there a way to redirect STDIN & STDOUT globally? > 2. can you make an HTTP server work locally? > 3. do you have to somehow enable TCP/IP locally for it to > work? >>