Commit 1203ae12 authored by Eric Covener's avatar Eric Covener
Browse files

fix for RewriteOptions processing in r1798938


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1799261 13f79535-47bb-0310-9956-ffa450edef68
parent 4732d2b6
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -4336,14 +4336,15 @@ static int apply_rewrite_list(request_rec *r, apr_array_header_t *rewriterules,
    int s;
    rewrite_ctx *ctx;
    int round = 1;
    rewrite_server_conf *sconf = ap_get_module_config(
                                 r->server->module_config, &rewrite_module);
    rewrite_perdir_conf *dconf = (rewrite_perdir_conf *)
                                 ap_get_module_config(r->per_dir_config,
                                                      &rewrite_module);

    ctx = apr_palloc(r->pool, sizeof(*ctx));
    ctx->perdir = perdir;
    ctx->r = r;

    if (sconf->options & OPTION_LONGOPT) { 
    if (dconf->options & OPTION_LONGOPT) { 
        apr_pool_create(&(ctx->temp_pool), r->pool);
    }
    else {