PDA

View Full Version : http server


Remo D.
04-03-2004, 03:11 AM
Hi there! I'm looking for a very basic http server that implements very
basic HTTP1.1 and can be compiled on both Linux & Win.

No scripting, no auth, no CGI, ... just simple static page.

C language would be preferred!

Bye,
R.D

Arthur J. O'Dwyer
04-11-2004, 04:47 PM
On Sat, 3 Apr 2004, Remo D. wrote: Hi there! I'm looking for a very basic http server that implements very basic HTTP1.1 and can be compiled on both Linux & Win. No scripting, no auth, no CGI, ... just simple static page. C language would be preferred!

Something like this?
http://www-2.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15213-f00/lectures/class27.4up.pdf
http://www-2.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15213-f00/www/docs.html

HTH,
-Arthur

Remo D.
04-11-2004, 10:28 PM
"Arthur J. O'Dwyer" <ajo@nospam.andrew.cmu.edu> ha scritto nel messaggio
news:Pine.LNX.4.58-035.0404112046590.11379@unix45.andrew.cmu.edu... Something like this?
http://www-2.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15213-f00/lectures/class27.4up.pdf
http://www-2.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15213-f00/www/docs.html

Thanks, the information is very interesting since docs go in deep details,
I've seen no mention of Win/Unix porting but I'll read it more carefully.

So far I've collected a dozen of simple httpd server mainly for Unix so I
wrote one using Winsock and I'll eventually port it to linux using them as
an example.

Thanks.
Remo

Arthur J. O'Dwyer
04-13-2004, 01:24 PM
On Mon, 12 Apr 2004, Remo D. wrote: "Arthur J. O'Dwyer" <ajo@nospam.andrew.cmu.edu> ha scritto... Something like this? http://www-2.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15213-f00/lectures/class27.4up.pdf http://www-2.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15213-f00/www/docs.html Thanks, the information is very interesting since docs go in deep details, I've seen no mention of Win/Unix porting but I'll read it more carefully.

Ah... your mention of Winsock [snipped] reminded me that yes, the
links I provided deal with Unixoid stuff. So you need libraries like
<sys/socket.h> and <fnctl.h> and stuff like that, which is standard
issue on Unix and Linux systems but will need special attention on
Windows systems. Cygwin *might* help, but I've never used it. If
you run into trouble, try a Windows-specific programming group or the
generic group, comp.programming.

HTH,
-Arthur


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service