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