Enabling access and error logs for a web site, Setting up directory listing for a web site – Apple Mac OS X Server (version 10.2.3 or later) User Manual
Page 373

Web Service
373
You can also improve server performance by disabling the access and error logs.
Enabling Access and Error Logs for a Web Site
You can set up error and access logs for individual Web sites that you host on your server.
However, enabling the logs can slow server performance.
To enable access and error logs for a Web site:
1
In Server Settings, click the Internet tab.
2
Click Web and choose Configure Web Service.
3
Click the Sites tab.
4
Select a site in the list, then click Edit.
5
Click the Logging tab and select the logs you want to enable.
6
Set how often you want the logs to be archived.
7
Type the path to the file where you want to store the logs.
You can also click the Select button and browse for the folder you want to use.
If you are administering a remote server, file service must be running on the local computer
to use the Select button.
8
Click Save, then restart Web service.
Setting Up Directory Listing for a Web Site
When users specify the URL for a directory, you can display either a default Web page (such
as index.html) or a list of the directory contents. You can display either a simple list or a
detailed folder list. To set up directory listing, you need to enable indexing for the Web site.
Note: Folder listings are displayed only if no default document is found.
To enable indexing for a Web site:
1
In Server Settings, click the Internet tab.
2
Click Web and choose Configure Web Service.
3
Click the Sites tab.
4
Select a site, then click Edit.
5
Select “Enable folder listing” in the Options pane.
If you want a simple list, skip to step 9. If you want a detailed folder list, continue with the
next step.
6
Click Save and close the site window.
7
Click the General tab of the Configure Web Service window.
LL0395.Book Page 373 Wednesday, November 20, 2002 11:44 AM