Skip to main content

2022 | Buch

Apache Essentials

Install, Configure, Maintain

insite
SUCHEN

Über dieses Buch

Take a friendly, non-technical approach to installing, configuring, and maintaining a web server for development and testing on Mac OS, Linux, and Windows. This new edition uses straightforward language to demystify the mechanics of the web, leading the reader through a complex topic via simple, iterative steps. The book reflects current, relevant Apache configurations and web application frameworks, and prepares the reader for working in professional web development environments.

You'll begin by reviewing a brief history of Apache that focuses on the necessary foundation to understand what these web servers are and why they are used. You'll then install a basic Apache setup on your operating system that loads a static HTML file for display in a browser. Next you'll work through progressively more detailed configurations towards a modern, secure application development environment for the two most commonly implemented development frameworks: a PHP-based framework such as Laravel or a NodeJS application.

In the end, Apache Essentials, second edition will show novice web developers and UX professionals how to quickly and confidently build and test their website changes safely and securely.

What You'll Learn

Install and configure Apache to support your developmentSupport common development frameworks using specific configuration guides Set up a secure web server for testingUse logs for troubleshooting and why that’s important

Who This Book Is For

UX professionals who are looking for a more technical foundation to inform their work
Front-end developers who want to set up a quick development environment. Junior developers who are expanding their knowledge of DevOps. Bootcamp graduates who need a better understanding of the systems they are using

Inhaltsverzeichnis

Frontmatter
Chapter 1. Getting Started with Apache
Abstract
In this chapter, you learn how to install Apache safely on macOS, Linux, and Windows and get it up and running in its default configuration.
Darren James Harkness
Chapter 2. Configuration Essentials
Abstract
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.
Darren James Harkness
Chapter 3. Configuring Virtual Hosts
Abstract
Ah, the wonders of modern technology. You’re likely to be working with more than just one domain, especially if you are using Apache for a local development server. This chapter explains Virtual Hosting in Apache, and guides you through configuring your web server to support multiple domains.
Darren James Harkness
Chapter 4. Scripting Languages
Abstract
At some point in your life as a professional working on the Web, you’re going to have to work with scripting languages. I know it’s a pain in the butt, but I resisted it as long as possible. But I eventually gave in, and so will you (cue dramatic music). This chapter leads you through configuring Apache for PHP and Node.js.
Darren James Harkness
Chapter 5. Securing Your Setup
Abstract
You use the secure web every day without even thinking about it. With privacy laws, trillions of dollars, euros, and yen, and corporate communications have grown exponentially over the past 20 years. It was important to find a way for information on the Internet to be transmitted securely. Browsers do this through HTTPS (HyperText Transfer Protocol Secure). Whenever you see a small lock beside the website’s name in your browser, you’re accessing it through HTTPS.
Darren James Harkness
Chapter 6. Log Files
Abstract
In previous chapters, I discussed configuring several Apache features. But I haven’t discussed the most important Apache feature you’ll use: logging. Apache supplies two types of log files that track the activities of the Apache web server, ranging from errors encountered with the application and modules to pages requested by your website’s users. This chapter shows you how to take advantage of one of Apache’s most powerful features.
Darren James Harkness
Chapter 7. Sample Apache Configurations
Abstract
This chapter sets up several scenarios and shows you how to best configure Apache to handle each one. I set this up in an anecdotal format because, well, it’s a heck of a lot more interesting to read.
Darren James Harkness
Backmatter
Metadaten
Titel
Apache Essentials
verfasst von
Darren James Harkness
Copyright-Jahr
2022
Verlag
Apress
Electronic ISBN
978-1-4842-8324-0
Print ISBN
978-1-4842-8323-3
DOI
https://doi.org/10.1007/978-1-4842-8324-0

Premium Partner