20module AP_MODULE_DECLARE_DATA proxy_express_module;
23#if !APR_VERSION_AT_LEAST(2,0,0)
43 return apr_pstrcat(
cmd->pool,
"ProxyExpressDBMFile: bad path to file: ",
80 a->dbmtype =
"default";
116 char *backend =
NULL;
123#if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
131 if (!
sconf->enabled) {
142 "proxy_express: Opening DBM file: %s (%s)",
145#if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
149 APLOGNO(10275)
"The dbm library '%s' could not be loaded: %s (%s: %d)",
158 APLOGNO(10276)
"The '%s' file '%s' could not be loaded",
172 "proxy_express: looking for %s",
name);
174 key.dsize = strlen(
key.dptr);
186 "proxy_express: found %s -> %s",
name, backend);
192 "proxy_express: rewritten as: %s",
r->
filename);
214 "proxy_express: adding PPR entry");
225 "Enable the ProxyExpress functionality"),
227 "Location of ProxyExpressDBMFile file"),
229 "Type of ProxyExpressDBMFile file"),
APR Versioning Interface.
APR-util Versioning Interface.
#define AP_INIT_TAKE1(directive, func, mconfig, where, help)
#define ap_get_module_config(v, m)
void ap_hook_post_config(ap_HOOK_post_config_t *pf, const char *const *aszPre, const char *const *aszSucc, int nOrder)
#define AP_DECLARE_MODULE(foo)
#define AP_INIT_FLAG(directive, func, mconfig, where, help)
char * ap_server_root_relative(apr_pool_t *p, const char *fname)
const char * ap_get_server_name(request_rec *r)
void ap_hook_translate_name(ap_HOOK_translate_name_t *pf, const char *const *aszPre, const char *const *aszSucc, int nOrder)
apr_bucket apr_bucket_brigade * a
const char const apr_dbd_driver_t ** driver
#define STANDARD20_MODULE_STUFF
const char apr_int32_t flag
int strcasecmp(const char *a, const char *b)
#define apr_pcalloc(p, size)
apr_int32_t apr_int32_t apr_int32_t err
Proxy Extension Module for Apache.
static int post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s)
static const command_rec command_table[]
static int proxy_available
static const char * set_dbmfile(cmd_parms *cmd, void *dconf, const char *arg)
static const char * set_dbmtype(cmd_parms *cmd, void *dconf, const char *arg)
static void * server_create(apr_pool_t *p, server_rec *s)
static void * server_merge(apr_pool_t *p, void *basev, void *overridesv)
static int xlate_name(request_rec *r)
static void register_hooks(apr_pool_t *p)
static const char * set_enabled(cmd_parms *cmd, void *dconf, int flag)
apr_array_header_t * raliases
A structure that represents the current request.
struct ap_conf_vector_t * per_dir_config
A structure to store information for each virtual server.
struct ap_conf_vector_t * module_config