🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #1255

Re: CGI executables

#1255
From: Ron Liechty
Date: Mon, 19 Mar 2001 19:48
111 lines
4893 bytes
In article <B6D4F34A.991%WhoIsSasha@hotmail.com>,
 Sasha Borodin <WhoIsSasha@hotmail.com> wrote:

>Can anyone tell me which template to use if I want to build CGI executables
>in C++ (versus Perl) for either Windows or UNIX machines?

I've got these notes about CGI programming on the Mac, but I'm not sure 
if you want it for Mac or Windows or UNIX.   basically you want the 
simple terminal window  for Windows.

Here is some stuff I have.

Q) Are there any Updates or Downloads to make Codewarrior Compatible for 
making CGI's ???

Here is some info

 Brian Todoroff <btodorof@hmc.edu>  The 'CGI++ Framework' is now 
avalible from the MetroWerks Contributed Class Archive in the Misc. 
Classes Archive.

A mail-gateway-CGI by John Norstad (the author of Disinfectant) 
<ftp://ftp.nwu.edu/pub/jlnstuff/mailtools/mailtools-15.sea.hqx>

Other places to start looking:

Grant's CGI Framework (which I think is on the Codewarrior CD).
John O'Fallon's article in MacTech Vol 9
Ken Urquhart's article in Develop March 97
there's another article about Threaded ACGI's in a MacTech by Grant 
(same one as the Framework).
WebStar's documentation (downloadable at <http://www.Starnine.com/>)
Quid Pro Quo provides some sample source code (downloadable at 
<http://www.SocialEng.com>?)



Date: Sun, 14 Mar 1999 22:16:25 +0100
From: "David Frank" <D.Frank@zutt.ch>

 have a look at

<ftp://ftp.nwu.edu/pub/jlnstuff/mailtools/mailtools-15.sea.hqx>

it's a mail-gateway-CGI by John Norstad (the author of Disinfectant)

The ReadMe says:

The "Source Code" folder contains the complete Metrowerks CodeWarrior C
source code for the gateway program, including a reusable generic CGI 
shell
main program which other developers may use to develop their own 
gateways if
they wish. See the "techinfo.html" file and the internal documentation in
the "cgishell.c" file for more information.

The source code from the Mail Tools gateway may be used to develop 
freeware
and shareware software without charge. It may not, however, be used in
commercial software without the permission of Northwestern University.

--

From: monster0@gte.net (Monster Zero)

Places to start looking:

Grant's CGI Framework (which I think is on the Codewarrior CD).
John O'Fallon's article in MacTech Vol 9
Ken Urquhart's article in Develop March 97
there's another article about Threaded ACGI's in a MacTech by Grant (same
one as the Framework).
WebStar's documentation (downloadable at <http://www.Starnine.com/>)
Quid Pro Quo provides some sample source code (downloadable at
<http://www.SocialEng.com>?)

If you've worked with PlantPlant, I've got a basic set-up that might work
you can find the source code at <http://faculty.purduenc.edu/agm/web/> (I
do know that URL). All you need to do is subclass my CCGIThread class and
put in your specific code in for one of its virtual functions and then
change a line in main.c so it should get you up and running quickly.

Aaron
--
Subject: [Ann] First CGI Framework for PowerPlant
From: Brian Todoroff <btodorof@hmc.edu>
Date: Sat, 02 Dec 1995 13:49:07 -0800
Message-ID: <johnk-0212951349070001@192.0.2.1>


The 'CGI++ Framework' is now avalible from the MetroWerks Contributed
Class Archive in the Misc. Classes Archive.
   CGI++ provides all the neccessary interfacing to allow you to quickly
begin writing .cgi and .acgi applications for MacHTTP and WebSTAR.  It
includes a complete Starter CGI application that will allow you to 
produce
your first working .cgi in minutes.  You need only change one function!

You download from MetroWerks' site at:
<http://www.metrowerks.com>
in the tool chest.

Contact the author at:
btodorof@hmc.edu

-- 
 CodeWarriorU.com is a finalist of SXSW's Web Awards for 
  Developer's Resource.  Feel free to vote for it at
http://www.sxsw.com/2001/interactive/webawards/finalists.shtml

METROWERKS - Ron Liechty - MWRon@metrowerks.com
Technical Details
Message-ID: <mwron-1EEF1B.14482819032001@enews.newsguy.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!sunqbc.risq.qc.ca!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!cyclone-sf.pbi.net!165.113.238.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwron
References: <B6D4F34A.991%WhoIsSasha@hotmail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,ebd3bc9f607d70a6
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,ebd3bc9f607d70a6
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2001-03-19 12:22:07 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!sunqbc.risq.qc.ca!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!cyclone-sf.pbi.net!165.113.238.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwron
From: Ron Liechty <mwron@metrowerks.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: CGI executables
Date: Mon, 19 Mar 2001 14:48:28 -0500
Organization: Metrowerks
Lines: 111
Message-ID: <mwron-1EEF1B.14482819032001@enews.newsguy.com>
References: <B6D4F34A.991%WhoIsSasha@hotmail.com>
NNTP-Posting-Host: p-249.newsdawg.com
Posted-And-Mailed: yes
User-Agent: MT-NewsWatcher/3.1 (PPC)