Installing Apache

Apache is included in the FreeBSD ports collection in the /usr/ports/www directory. As of this writing, the most recent version of Apache is 2.0.40. Make sure that you install the production version and not the beta version; both might be available in the ports collection. To install the port, simply change to the correct directory in /usr/ports/www and type make, followed by make install after the build process has completed. A startup script will be installed for you in /usr/local/etc/rc.d that will cause Apache to load automatically on each system startup.

Be aware, as with all services that you install or enable, that Apache ...

Get Sams Teach Yourself FreeBSD® in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.