User manual
Table Of Contents
- Web Technologies Administration
- Contents
- Web Technologies Overview
- Managing Web Technologies
- Managing Websites
- Using Server Admin to Manage Websites
- Changing the Access Port for a Website
- Improving Performance of Static Websites (PerformanceCache)
- Enabling Access and Error Logs for a Website
- Setting Up Directory Listing for a Website
- Connecting to Your Website
- Enabling WebDAV on Websites
- Enabling a Common Gateway Interface (CGI) Script
- Enabling Server Side Includes (SSI)
- Viewing Website Settings
- Setting Server Responses to MIME Types and ContentHandlers
- Enabling SSL
- Enabling PHP
- User Content on Websites
- WebMail
- Secure Sockets Layer (SSL)
- Working With Open-Source Applications
- Installing and Viewing WebModules
- Solving Problems
- Where to Find More Information
- Glossary
- Index

14 Chapter 2 Managing Web Technologies
Step 3: Assign privileges for your website
The Apache processes that serve webpages must have read access to the files, and
read/execute access to the folders. (In the case of folders, execute access means the
ability to read the names of files and folders contained in that particular folder.) Those
apache processes run as user www—a special user created specifically for Apache
when Mac OS X Server is installed. The user www is a member of the group www. So
for the Apache process to access the content of the website, the files and folders need
to be readable by user www.
Consequently, you need to give the www group at least read-only access to files within
your website so that it can transfer those files to browsers when users connect to the
site. You can do this by:
• Making the files and folders readable by everyone regardless of their user or group
ownership
• Making www the owner of files and folders and making sure that the files and folders
are readable by the owner
• Making the group www the owner of the files and folders and making sure that the
files and folders are readable by the group
For information about assigning privileges, see the file services administration guide.
Step 4: Configure your web server
The default configuration works for most web servers that host a single website, but
you can configure all the basic features of web service and websites using Server
Admin. For more advanced configuration options, see Chapter 6, “Working With Open-
Source Applications,” on page 49.
To host user websites, you must configure at least one website.
To configure a site:
1 Open Server Admin.
2 Click Web in the list for the server you want.
3 Click Settings in the button bar.
4 In the Sites pane, click the Enabled button for the site you want to turn on.
5 Double-click the site name and choose the configuration options you want for the site.
For information about these settings, see “Using Server Admin to Manage Your Web
Server” on page 15 and Chapter 3, “Managing Websites,” on page 23.
LL2350.book Page 14 Friday, August 22, 2003 2:32 PM