Greetings All, Attached (possibly) is hopefully a 'start' to getting some documentation going on using the new Proxy modules. Corrections/additions welcome. Any clues on getting Apache to talk to a single 'Tomcat' would be greatly appreciated... just to get the /admin/ off to TC and bring up the TC admin login page would be a big progress. TIA, Norm PS In case this mailer doesn't like attachments: ----------------------------------------------- <html> <p>Dated 18August, 2004</p> <h3>Creating a Balancer</h3> <p>Coding example:</p> <pre> <Proxy balancer://<balancer_name>> BalancerMember <method>://<IP/DNS>:<port> [key=value] [key=value] [....] .... </Proxy> </pre> <p>where:</p> <ul> <li><balancer_name> is any practical name for the balancer,</li> <li><method> identifies the protocol to use by the BalancerMember (http, ftp, ajp),</li> <li><IP/DNS>:<port> identifies the location of the proxy machine.</li> </ul> <p>The "key" can be any of the following:</p> <table border=1> <tr><th>Key Name</th><th>Description</th><th>Constraint(s)</th></tr> <tr><td>loadfactor</td><td> </td><td>Must be between 1..100 (percent)</td></tr> <tr><td>retry</td><td> </td><td>Must be at least one second</td></tr> <tr><td>ttl</td><td> </td><td>Must be at least one second</td></tr> <tr><td>min</td><td> </td><td>Must be a positive number</td></tr> <tr><td>max</td><td> </td><td>Must be a positive number</td></tr> <tr><td>smax</td><td> </td><td>Must be a positive number</td></tr> <tr><td>acquire</td><td> </td><td>Must be at least one milli-second</td></tr> <tr><td>timeout</td><td> </td><td>Must be at least one second</td></tr> <tr><td>iobuffersize</td><td> </td><td>Greater or equal to AP_IOBUFSIZE</td></tr> <tr><td>receivebuffersize</td><td> </td><td>Must be >= 512 bytes, or 0 for system default</td></tr> <tr><td>keepalive</td><td> </td><td>Must be On|Off</td></tr> <tr><td>route</td><td> </td><td>val</td></tr> <tr><td>redirect</td><td> </td><td>val</td></tr> </table> <p>The current configuration of "balancers" can be seen at the bottom of the /server-status/ page, if mod_status is loaded in the Apache Web Server.</p> </html> -----------------------------------------------
Dated 18August, 2004
Creating a Balancer
Coding example:
<Proxy balancer://<balancer_name>> BalancerMember <method>://<IP/DNS>:<port> [key=value] [key=value] [....] .... </Proxy>
where:
- <balancer_name> is any practical name for the balancer,
- <method> identifies the protocol to use by the BalancerMember (http, ftp, ajp),
- <IP/DNS>:<port> identifies the location of the proxy machine.
The "key" can be any of the following:
| Key Name | Description | Constraint(s) |
|---|---|---|
| loadfactor | Must be between 1..100 (percent) | |
| retry | Must be at least one second | |
| ttl | Must be at least one second | |
| min | Must be a positive number | |
| max | Must be a positive number | |
| smax | Must be a positive number | |
| acquire | Must be at least one milli-second | |
| timeout | Must be at least one second | |
| iobuffersize | Greater or equal to AP_IOBUFSIZE | |
| receivebuffersize | Must be >= 512 bytes, or 0 for system default | |
| keepalive | Must be On|Off | |
| route | val | |
| redirect | val |
The current configuration of "balancers" can be seen at the bottom of the /server-status/ page, if mod_status is loaded in the Apache Web Server.
