Chapter 4. URL Mapping and Dynamic Content
URL Mapping
This chapter explains how to configure Apache to map requests to files and directories or redirect them to specific pages or servers. This knowledge comes in handy to solve common problems such as maintaining working URLs when the site structure changes, dealing with case-sensitive websites, supporting multiple languages, and so on. It also explains how to use the CGI and server side include functionality present in Apache to provide dynamically generated content.
Mapping URLs to Files with Alias
Alias /icons/ /usr/local/apache2/icons/
The structure of your website does not need to match the layout of your files on disk. You can use the Alias
directive to map directories on disk to specific URLs. ...
Get Apache Phrasebook 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.