views:

242

answers:

3

How does the Apache web server work? Can someone explain it in detail?

+3  A: 

It's magic. Don't even bother trying understand it.

User
A: 

It's perfectly clear.

http://svn.apache.org/viewvc/httpd/

S.Lott
+6  A: 

Start with the Apache architecture overview to understand the basic components and data flows for Apache. Then, you probably want to go into the developer documentation, as the list module configuration options in the docs is not too helpful in understanding how does everything work.

Finally, comparing Apache to other popular open-source servers such as Lighttpd would show you what tasks are approached in a similar way by different programs, and where there are trade-offs (speed vs. features, for example) that differentiate between the servers.

MaxVT