Chapter 6. Content Description and Modification

Apache has the ability to tune the information it returns to the abilities of the client — and even to improve the client’s efforts. Currently, this affects:

  • The choice of MIME type returned. An image might be the very old-fashioned bitmap, the old-fashioned .gif, the more modern and smaller .jpg, or the extremely up-to-date .png. Once the type is indicated, Apache’s reactions can be extended and controlled with a number of directives.

  • The language of the returned file.

  • Updates to the returned file.

  • The spelling of the client’s requests.

Apache v2 also offers a new mechanism — Section 6.6, which is described at the end of this chapter.

Get Apache: The Definitive Guide, 3rd Edition 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.