beautypg.com

Apple Mac OS X Server v10.3 User Manual

Page 49

background image

5.

Double-click the appropriate site in the list (by default there’s only one), which should be enabled.

6.

Click the Options tab, and deselect Performance Cache.

7.

Click Save.

8.

Open

httpd.conf

file, located in

/etc/httpd

, in a text editor.

9.

Look for

.

10. Add

JKMount /petstore/* loadbalancer

as the last item of the

IfModule

element.

The

IfModule

element should look similar to this:


JKWorkersFile /etc/httpd/workers.properties
JKLogFile /var/log/httpd/mod_jk.log
JKLogLevel error
JKMount /*.jsp JBoss1
JKMount /servlet/* JBoss1
JKMount /examples/* JBoss1
JKMount /petstore/* loadbalancer

11. Save the file.

12. Open the

workers.properties

file, which is also located in

/etc/httpd

, in a text editor.

Load Balancing and Clustering

49

2005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.

C H A P T E R 5

Balancing User Load and Replicating Sessions