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 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.