Apple oxs Server User Manual


 
12
123
12 Working With Web Technologies
Commands you can use to manage Web service in
Mac OS X Server.
Starting and Stopping Web Service
To start Web service:
$ sudo serveradmin start web
To stop Web service:
$ sudo serveradmin stop web
Checking Web Service Status
To see if Web service is running:
$ sudo serveradmin status web
To see complete Web service status:
$ sudo serveradmin fullstatus web
Viewing Web Settings
You can use serveradmin to view your server’s 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.
For information on Apache settings, visit www.apache.org.
To list all Web service settings:
$ sudo serveradmin settings web
To list a particular setting:
$ sudo serveradmin settings web:setting
LL2354.book Page 123 Monday, October 20, 2003 9:47 AM