Monitoring web sites, Setting server responses to mime types – Apple Mac OS X Server (version 10.2.3 or later) User Manual
Page 377

Web Service
377
AddHandler server-parsed shtml
AddType text/html shtml
If your SSI files use a file extension other than .shtml, you should add that type to the
mime_macosxserver.types file. You can add MIME types in Server Settings from the MIME
Types tab.
The changes take effect when you restart Web service.
Monitoring Web Sites
You can use the Sites pane to check the status of your Web sites. The Sites pane shows
m whether a site is enabled
m the site’s DNS name and IP address
m the port being used for the site
Double-clicking a site in the Sites pane opens the site settings window, where you can view
or change the settings for the site.
To access the Sites pane:
1
In Server Settings, click the Internet tab.
2
Click Web and choose Configure Web Service.
3
Click the Sites tab.
Setting Server Responses to MIME Types
Multipurpose Internet Mail Extension (MIME) is an Internet standard for specifying what
happens when a Web browser requests a file with certain characteristics. A file’s suffix
describes the type of data in the file. Each suffix and its associated response together are
called a “MIME type mapping.” See “Understanding Multipurpose Internet Mail Extension
(MIME)” on page 360 for more information.
To set the server response for a MIME type:
1
In Server Settings, click the Internet tab.
2
Click Web and choose Configure Web Service.
3
Click the MIME Types tab and then click Add, or select a MIME type and click Edit.
4
Type the file suffix associated with this mapping in the File Suffix field.
5
Choose the server response from the pop-up menu, or type the file type in the Return MIME
Type field.
If you return a CGI, make sure you’ve enabled CGI execution for the Web site.
6
Click Save, then restart Web service.
LL0395.Book Page 377 Wednesday, November 20, 2002 11:44 AM