Chapter 9. URL Mapping


“When you've only got two ducks, they're always in a row.”


When Apache receives a request for a URL it has to figure out how that URL maps to actual content that it needs to send back to the client. Usually, the URL gets mapped directly to a file that is read off of the disk and sent as-is out to the client. Occasionally, the URL maps to a program of some variety that generates content, which then gets sent out.

This phase of figuring out what to send in response to a request is called the URL mapping phase. There are a number of directives that assist Apache in figuring out how to perform this mapping. ...

Get Apache Administrator's Handbook now with O’Reilly online learning.

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