First page Back Continue Last page Summary Graphics
A Flexible Framework:
Writing your own decision function
The API for a decision function:
- int Foo(request_rec *r, int *n, ServerSlot *s, char *arg);
- r is the Apache request record structure
- n is the number of valid servers in the server list (array)
- s is the server list as a list of "slots" into the resource information table called serverstats.
- arg is the (optional) argument that can be passed in at run time from the Apache configuration file
Notes: