Specifications

From the command line:
To view a setting: m
$ sudo serveradmin settings web:setting
To view a group of settings: m
$ sudo serveradmin settings web:IFModule:_array_id:mod_alias.c:*
You can view a group of settings that have part of their names in common by entering
as much of the name as you want, stopping at a colon (:), and entering an asterisk (*)
as a wildcard for the remaining parts of the name.
To view all Web service settings: m
$ sudo serveradmin settings web
To change a setting: m
$ sudo serveradmin settings web:setting = value
To change several settings: m
$ sudo serveradmin settings
web:setting = value
web:setting = value
web:setting = value
[...]
Control–D
Parameter Description
setting
A Web service setting.
value
A relevant value for the setting.
For information about serveradmin, see its man page. For the basics of command-line
tool usage, see Introduction to Command-Line Administration.
Conguring Web Service MIME Types Settings
MIME is an Internet standard for specifying what happens when a web browser
requests a le with specic characteristics. The MIME Types pane in Server Admin lets
you set up how your web server responds when a browser requests specic le types.
Content handlers are similar and also use suxes to determine how a le is handled.
The le sux describes the type of data in the le.
Each sux and its associated response (such as text/plain and text/richtext) are known
as a MIME type mapping or a content handler mapping. The server includes the MIME
type in its response to a browser to describe the information being sent. The browser
can then use its list of MIME preferences to determine how to handle the information.
22 Chapter 2 Working with Web Service