next up previous contents index
Next: 4.3 Multitasking server architectures Up: 4. Inside Apache Previous: 4.1 Introduction   Contents   Index

Subsections


4.2 Structure of the Source Distribution

4.2.1 Apache 1.3.17 source distribution

Figure 4.1: Directory structure of the Apache HTTP Server 1.3.17 source distribution (View PDF)
DirectoryTree.gif

The source distribution of Apache version 1.3.17 contains 780 files in 44 subdirectories; 235 files contain C source code. Figure 4.1 shows the directory structure of the Apache 1.3.17 source distribution. The most important directory is src. It contains subdirectories with all source files of the Apache web server and most modules. For us, the most interesting subdirectories are main and modules as they contain the central source code which is needed to understand how Apache works.

For more details, browse through the on-line document ``Structure of the Apache HTTP Server 1.3.17 source distribution'' (see sources-apache-httpd-1.3.17-html.zip)

4.2.2 Apache 2.0.45 source distribution

Figure 4.2: Directory structure of the Apache HTTP Server 2.0.45 source distribution (View PDF)
DirectoryTree2.gif

Figure 4.2 shows the directory structure of the Apache 2.0.45 source distribution.

Compared to Version 1.3, Apache 2 is much bigger. The Apache 2.0.45 distribution includes 2165 files in 183 subdirectories; 704 files contain C source code (appr. 280 000 lines incl. comments). The directory structure of the source distribution has also changed significantly.

Nonetheless, the parts important for us are still located in a few central directories. The core files are now located in the directory server, with the MPMs located in the subdirectory mpm. The directory module still contains subdirectories with all modules included in the distribution.

More details can be found browsing the on-line document ``Structure of the Apache HTTP Server 2.0.45 source distribution'' (see sources-apache-httpd-2.0.45-html.zip)


next up previous contents index
Next: 4.3 Multitasking server architectures Up: 4. Inside Apache Previous: 4.1 Introduction   Contents   Index
Apache Modeling Portal Home Apache Modeling Portal
2004-10-29