Apache is in the /usr/ports collection. For general use its best to use one of those as it takes care of installing any libraries it needs into /usr/local. If you: cd /usr/ports/www/apache2 make install It will take care of everything. If you want to look at the sources then look around the subdirectories in /usr/ports/www/apache2