version 1.1, 2013/10/14 10:32:48
|
version 1.1.1.2, 2014/06/15 20:20:06
|
Line 242 SETDEFAULTS_FUNC(mod_rewrite_set_defaults) {
|
Line 242 SETDEFAULTS_FUNC(mod_rewrite_set_defaults) {
|
if (!p) return HANDLER_ERROR; |
if (!p) return HANDLER_ERROR; |
|
|
/* 0 */ |
/* 0 */ |
p->config_storage = calloc(1, srv->config_context->used * sizeof(specific_config *)); | p->config_storage = calloc(1, srv->config_context->used * sizeof(plugin_config *)); |
#else |
#else |
UNUSED(p_d); |
UNUSED(p_d); |
#endif |
#endif |
Line 295 static int mod_rewrite_patch_connection(server *srv, c
|
Line 295 static int mod_rewrite_patch_connection(server *srv, c
|
for (i = 1; i < srv->config_context->used; i++) { |
for (i = 1; i < srv->config_context->used; i++) { |
data_config *dc = (data_config *)srv->config_context->data[i]; |
data_config *dc = (data_config *)srv->config_context->data[i]; |
s = p->config_storage[i]; |
s = p->config_storage[i]; |
|
|
if (COMP_HTTP_URL == dc->comp) continue; |
|
|
|
/* condition didn't match */ |
/* condition didn't match */ |
if (!config_check_cond(srv, con, dc)) continue; |
if (!config_check_cond(srv, con, dc)) continue; |