Apple Xserve Up Mac OS X Server Specifications Page 213

  • Download
  • Add to my manuals
  • Print
  • Page
    / 329
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 212
Chapter 13 Configuring and Managing Web Technologies 213
To view a group of settings:
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. For example:
$ sudo serveradmin settings web:IFModule:_array_id:mod_alias.c:*
To view all Web service settings:
$ sudo serveradmin settings web
Changing Web Settings
You can use serveradmin to modify your servers Web service configuration. However,
if you want to work with the Web service from the command line, you’ll probably find it
more straightforward to work directly with the underlying Apache web server.
Apache Settings and serveradmin
The parameters are written differently in the Apache configuration file than in
serveradmin. For example, this block of Apache configuration parameters:
<IfModule mod_macbinary_apple.c>
MacBinary On
MacBinaryBlock html shtml perl pl cgi jsp php phps asp scpt
MacBinaryBlock htaccess
</IfModule>
appears as this block of configuration parameters in serveradmin:
web:IfModule:_array_id:mod_macbinary_apple.c:MacBinary = yes
web:IfModule:_array_id:mod_macbinary_apple.c:MacBinaryBlock:_array_index:0 =
"html shtml perl pl cgi jsp php phps asp scpt"
web:IfModule:_array_id:mod_macbinary_apple.c:MacBinaryBlock:_array_index:1 =
"htaccess".
Changing Settings Using serveradmin
Use the serveradmin tool to change Web service settings.
To change a setting:
$ sudo serveradmin settings web:
setting
=
value
Parameter Description
setting
A Web service setting. To see a list of available settings, enter:
$ sudo serveradmin settings web
value
An appropriate value for the setting.
Page view 212
1 2 ... 208 209 210 211 212 213 214 215 216 217 218 ... 328 329

Comments to this Manuals

No comments