
46 Chapter 3 Managing Websites
If you want to use WebDAV, you need to enable it in Server Admin and manually
change the web content files’ or folders’ ownership to user and group 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 need to 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 (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.
Enabling Integrated WebDAV Digest Authentication
You can enable digest authentication for WebDAV realms in the Realms pane of Server
Admin. See “Setting Access for Websites” on page 43 for more information.
WebDAV and Web Performance Cache Conflict
If you enable both WebDAV and the web performance cache on one or more virtual
hosts (sites), WebDAV clients may encounter problems if they try to upload multiple
files in the Finder—the upload may fail to complete.
To avoid this problem, disable the web performance cache for virtual hosts with
WebDAV enabled.
See “Improving Performance of Static Websites (Performance Cache)” on page 37 for
more information about the performance cache.
Managing Access to Sites Using Aliases
You can manage access to websites by using aliases and redirect commands.
An alias is an alternate name for a website, which can be useful in simplifying the name
users must enter to connect to the site. You can have multiple aliases for a single site.
Note: Server aliases and virtual hosts must be DNS names, and they must resolve to
the IP address of the website.
A redirect command specifies that when a user asks for a specific directory or file on a
site, their browser is sent to a different location that you designate.
Comentarios a estos manuales