[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions: GS web server or firewall



Eric Shepherd wrote:
> 
> in article 3A3410DC.4BF85138@mts.net, Mike Pfaiffer at pfaiffer@mts.net
> wrote on 12/10/00 3:33 PM:
> 
> > Thanks for the info. I was thinking much the same thing about the
> > firewall (which is why I asked). Do you think you could give a
> > description of a simple web server... We may try to make it a project
> > for this years club. I have an idea of what they do but not enough to
> > start programming one.
> 
> Well, a simple web server would only have to implement HTTP/1.0, which only
> has like three commands; you can find the specification at
> http://www.w3c.org.

	Just three... This might be something to consider. If it is only V1.0
it might end up being slightly faster than other machines doing V4.X.
Still, to be useful maybe a subset of V2.X could also be implemented.

> In general, the main commands are HEAD, which returns information about the
> specified document, and GET, which actually returns the header followed by
> the document itself.
> 
> The protocol is very easy to implement.  In C it can be done (on a Linux
> type environment) in just three or four pages of code.

	For a GS, Assembler might be better.
 
> --
> Eric Shepherd
> Editor
> A2Central.com
> Where "Apple II Forever" is a way of life.

	Usually I ignore the .sig files. Fire me a snailmail address through
e-mail and I'll send you a copy of the magazine I am working on. The web
page isn't up yet so I can't give it to you.

-- 
+-----------------------------------------------------------------------+
|      http://www.mts.net/~pfaiffer = Mike Pfaiffer (B.A., B.Sc.)      
|
|  See my web page before you think about spamming me. I charge cash.  
|
+-----------------------------------------------------------------------+
----- BEGIN GEEK CODE BLOCK -----
Version: 3.12
GCS/G/IT/PA/SS d s+:- a? C++ UL L++ W++ N++ o+ K- w(---) O+@ M++@ V PS+
PE !PGP t+ 5+ X R tv b+ DI+++ D++ G e++* h! r-- !y-- UF++
------ END GEEK CODE BLOCK ------