Chapter 12. Providing Web Services
In this chapter, we will cover the following:
- Installing Apache and serving web pages
- Enabling system users and building publishing directories
- Implementing name-based hosting
- Implementing CGI with Perl and Ruby
- Installing, configuring, and testing PHP
- Securing Apache
- Setting up HTTPS with Secure Sockets Layer (SSL)
Introduction
This chapter is a collection of recipes that provides the necessary steps to serve web pages. From installing a web server to delivering a dynamic page through SSL, this chapter provides the starting point required to implement an industry standard hosting solution anywhere and at any time.
Installing Apache and serving web pages
In this recipe, we will learn how to install and configure the Apache web server to enable the serving of static web pages. Apache is one of the world's most popular open source web servers. It runs as the backend for over half of all the Internet's web sites and can be used to serve both static...