User manual

Table Of Contents
12 Chapter 1 Web Technologies Overview
MIME type mappings are divided into two subfields separated by a forward slash, such
as text/plain. Mac OS X Server includes a list of default MIME type mappings. You can
edit these and add others.
When you specify a MIME type as a response, the server identifies the type of data
requested and sends the response you specify. For example, if the browser requests a
file with the suffix “jpg,” and its associated MIME type mapping is image/jpeg, the
server knows it needs to send an image file and that its format is JPEG. The server
doesn’t have to do anything except serve the data requested.
Actions are handled differently. If you’ve mapped an action to a suffix, your server runs
a program or script, and the result is served to the requesting browser. For example, if a
browser requests a file with the suffix cgi,” and its associated response is the action
cgi-script, your server runs the script and returns the resulting data to the requesting
browser.
LL2350.book Page 12 Friday, August 22, 2003 2:32 PM