Specifications
Chapter 2 Working with Web Service 23
The server’s default MIME type is text/html, which species that a le contains HTML text.
The web server is set up to handle the most common MIME types and content
handlers. You can add, edit, or delete MIME type and content handler mappings. In
Server Admin, these les are displayed in two lists: MIME Types and Content Handlers.
You can edit items in each list and add or delete items in either list.
To congure MIME Types settings:
1 Open Server Admin and connect to the server.
2 Click the triangle at the left of the server.
The list of services appears.
3 From the expanded Servers list, select Web.
4 Click Settings, then click MIME Types.
5 Add, delete, or edit MIME Type mappings:
To add a MIME Type mapping, click the Add (+) button. Enter each part of the name Â
(separated by a slash), then double-click “new” in the Suxes list and enter a sux
name. Use the Add (+) or Delete (–) button (next to the Suxes list) to add or delete
suxes in the Suxes list. Then click OK.
To delete a MIME Type mapping, select it from the MIME Types list and click the Â
Delete (–) button.
To edit a MIME Type mapping, select the mapping from the MIME Types list and click Â
the Edit (/) button. Make your changes to the mapping, then click OK.
6 Add, delete, or edit Content Handlers mappings:
To add a Content Handlers mapping, click the Add (+) button. Enter the name, then Â
double-click “new” in the Suxes list and enter a sux name. Use the Add (+) or
Delete (–) button (next to the Suxes list) to add or delete suxes in the Suxes
list. Then click OK.
To delete a Content Handlers mapping, select it from the Content Handlers list and Â
click the Delete (–) button.
To edit a Content Handlers mapping, select the mapping from the Content Handlers Â
list and click the Edit (/) button. Make your changes to the mapping, then click OK.
Note: If you add or edit a handler that has a Common Gateway Interface (CGI) script,
make sure you enable CGI execution for your site in the Options pane of the Sites pane.
7 Click Save.