High level architecture of Apache
March 18, 2012Basic well known information on how is Apache organized?
Apache is broken up into several pieces
- The server core
- The Apache portable runtime
- The Apache portable runtime utilities
- Support infrastructure
- Numerous modules
How is the Apache source code organized?
The server core source code resides in
- $SRCROOT/server
The server core header files reside in
- $SRCROOT/include
The portable runtime resides in
- $SRCROOT/srclib/apr
The portable runtime utilities reside in
- $SRCROOT/srclib/apr-util
- Support infrastructure resides in $SRCROOT/support
How big is Apache?
150k+ lines of C code*:
$ find . -name *.c -exec egrep -v ‘(^[ ]+*|^$|/*|*/) {} ; | wc -l
155884
480+ source code files:
$ find . -name *.c -ls | wc -l
488
240+ header files:
$ find . -name *.h -ls | wc -l
247
www.bestitdocuments.com