Monitoring web sites, Setting server responses to mime types – Apple Mac OS X Server (Administrator’s Guide) User Manual
Page 356

356
Chapter 8
3
In Server Settings, click Web and add “index.shtml” to the set of default index files for each
virtual host.
By default, the mime_macosxserver.conf file maintained by server settings contains the
following two lines:
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.conf file. You can add MIME types in Server Settings from the MIME
Types tab.
The changes take effect when you restart the 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 340 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.