Specifications

Chapter 2 Enabling and Conguring Wikis, Blogs, Web Calendars, and Mailing Lists 21
To congure external servers for hosting wikis:
1 Copy wikis from the main web server to another server.
Wikis are stored in /Library/Collaboration/Groups/. For more information about the
wiki le structure, see Wiki File Structure Overview” on page 73.
2 Edit the /etc/apache2/httpd_groups.conf le on the main web server:
a To edit this le in Terminal, enter:
sudo nano /etc/apache2/httpd_groups.conf
If prompted, enter your administrator account password.
You can use any command-line text editor, as long as you precede the command to
run the text editor with sudo.
b For every wiki you host on other servers, add these lines:
<Location /groups/group_name>
ProxyPassReverse http://external_fqdn:8087/groups/group_name
ProxyPass http://external_fqdn:8087/groups/group_name retry=5
</Location>
Replace group_name with the name of the wiki you’re hosting. This is the same
as the name of the folder with all wiki les. Replace external_fqdn with the fully
qualied domain name of the external server. Add these lines when you move
a wiki to an external server.
In the example scenario, you’d enter the following lines:
<Location /groups/biology>
ProxyPassReverse http://science.example.com:8087/groups/biology
ProxyPass http://science.example.com:8087/groups/biology retry=5
</Location>
<Location /groups/algebra>
ProxyPassReverse http://math.example.com:8087/groups/algebra
ProxyPass http://math.example.com:8087/groups/algebra retry=5
</Location>
3 Edit the /etc/apache2/httpd_teams_required.conf le on the main web server:
a To edit this le in Terminal, enter:
sudo nano /etc/apache2/httpd_teams_required.conf
b For every other server, add these lines:
<Location /RPC2/server_name>
ProxyPass /RPC2 http://external_fqdn:8086/RPC2 retry=5
</Location>
Replace server_name with a name for the server. This is used in the next task and
doesn’t need to be a formal name.