[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions: GS web server or firewall
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.
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.
--
Eric Shepherd
Editor
A2Central.com
Where "Apple II Forever" is a way of life.