Download Apple Mac OS X Server Specifications

Transcript
ÂÂ If you need to change web content files and folders while you are logged in as an
administrator, those files or folders must be modifiable by the administrator.
To use WebDAV you must enable it in Server Admin. When enabled, Server Admin
changes the group ownership of the WebDAV folder to www.
If you are using WebDAV and you want to make changes to web content files or
folders while logged in as an administrator, you must change the web content file
and folder permissions to admin, make your edits, and then restore the file and folder
permissions to www.
To add sites to your web server while using WebDAV:
1 Change the group privileges of the folder containing your websites to admin.
The default folder location is /Library/Webserver/Documents/.
2 Add your new site folder.
3 Change the group privileges of the folder containing your websites back to www.
Managing Multiple Sites on One Server
You can create multiple sites on the same web server, at the same IP address
(also referred to as virtual hosts), or at separate, secondary IP addresses (referred to
as multihoming).
Virtual hosts are multiple sites on the same server. These sites can be name-based
(such as www.example.com) or they can use IP addresses (such as 10.201.42.73).
You can use Server Admin to manage name-based and IP-based websites.
If you configure multiple sites on your server using the Sites pane in Server Admin,
each site is considered a virtual host. For more information on setting up a site, see
“Creating a Website” on page 36.
A multihomed site is a site that has more than one connection to the Internet.
Multihoming is typically done to improve reliability and performance. Those multiple
connections might be through the same Internet service provider (ISP) or through
multiple ISPs, and they might involve multiple IP addresses or one address.
54
Chapter 3    Creating and Managing Websites