12Working With Web Technologies

12

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

123

Page 123
Image 123
Apple oxs manual Checking Web Service Status, Viewing Web Settings