General discussion

Locked

Working of Web Server

By absub1 ·
Hello,
I am looking for a tutorial, zip or pdf that describes the following:
1) How a webserver(say pure httpd) works
2) How it handles concurrent connections
3) " " " timeouts

As a matter of fact I want to create my own webserver using goodspecifications or standars.

Sincerely,
absub1@rediffmail.com
Thank You for your valuable time

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Working of Web Server

by Stephen Darlington In reply to Working of Web Server

Web servers are not very complicated in principle. There is no standard way of dealing with any of the things you mention; Apache manages things in a different way to IIS.

Have a look at http://sourceforge.net/projects/perlwebserver, which is a simple web server and http://www.w3c.org which is where the HTTP standard is documented.

Collapse -

Working of Web Server

by absub1 In reply to Working of Web Server

Poster rated this answer

Collapse -

Working of Web Server

by Peter Ritchie In reply to Working of Web Server

A web server is basically just a multi-threaded socket listener. The "server" software simply listens for socket requests on a given port and spawns a thread, when the request is received, to process TCP/IP http packet information.

Check out http://www.w3.org/Protocols/rfc1945/rfc1945
http://www.w3.org/Protocols/rfc2068/rfc2068 which describes http 1.0 and 1.1 respectively

There's serveral samples on MSDN on dealing with http (both server and client)
for example:
http://msdn.microsoft.com/Downloads/Internet/networking/httpdump/Default.asp?frame=true deals with client http requests

Last time I looked there was an http server sample in the Microsoft WinInet sdk.

Collapse -

Working of Web Server

by absub1 In reply to Working of Web Server

Poster rated this answer

Collapse -

Working of Web Server

by absub1 In reply to Working of Web Server

This question was closed by the author

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums