Working with publishing directories, vhosts.d, error documents, directives, and the rewrite rule for virtual hosting with the Apache web server

In this recipe we will learn how to configure publishing directories, vhosts.d , error documents, directives, and the rewrite rule for virtual hosting with the Apache web server.

If you have followed the previous recipe you will now be in a position to take your virtual hosting one stage further. The management of virtual hosting can be daunting and it is the purpose of this recipe to show you how to maintain a publishing structure, explore the world of virtual hosting, and include as many directives as you need.

Getting ready

To complete this recipe you will require a working installation of the CentOS 6 ...

Get CentOS 6 Linux Server Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.