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)
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)
Apache Modeling Portal 2004-10-29 |