© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
D. J. HarknessApache Essentialshttps://doi.org/10.1007/978-1-4842-8324-0_2

2. Configuration Essentials

Darren James Harkness1  
(1)
Port Coquitlam, BC, Canada
 

This chapter teaches you how to set up a basic Apache instance on your local computer (localhost). To get there, I cover the structure of Apache’s configuration and commonly used Apache directives, which are commands Apache uses to define its configuration. You also learn about local overrides through the .htaccess file.

By the end of this chapter, you have a basic running website at http://localhost that you can use for developing basic HTML/CSS-based websites.

Apache uses two sets of configuration files ...

Get Apache Essentials: Install, Configure, Maintain 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.