Specifications

Step 3: Assign privileges for your website.
The Apache processes that serve webpages must have Read access to les and
Read/Execute access to folders. (In the case of folders, Execute access means the
ability to read the names of les and folders contained in that folder.)
Those Apache processes run as user www, a special user created for Apache when
Mac OS X Server is installed. User www is a member of group www, so for the Apache
process to access the content of the website, the les and folders must be readable
by user www.
You must give group www at least Read-Only access to les in your website so it
can transfer those les to browsers when users connect to the site. This applies to all
parent folders as well. In other words, the folder containing your web content and the
folder containing that folder, and so on, must be readable and searchable by user or
group www.
You can do this by:
Making the les and folders readable and searchable by everyone regardless of their Â
user or group ownership.
Making group www the owner of les and folders and making sure that the les Â
and folders are readable and searchable by the owner.
Making group www the owner of les and folders and making sure the les and Â
folders are readable and searchable by the group.
Making sure the les and folders are readable and searchable by everyone (world), Â
regardless of their ownership and group settings. This is the default case.
For information about assigning privileges, see File Server Administration.
Step 4: Create the website.
Use Server Admin to create a website. After the site is created, congure the settings
for your network environment and web requirements. For details, see “Creating a
Website” on page 36.
Step 5: Set the default page.
When users connect to your website, they see the default page. When you rst install
the software, the le index.html in the Documents folder is the default page. Replace
this le with the rst page of your website and name it index.html.
To name the le something else, add that name to the list of default index les and
move its name to the top of the list in the General pane of the site settings window of
Server Admin. For instructions about specifying default index le names, see Setting
the Default Webpage on page 37.
34 Chapter 3 Creating and Managing Websites