httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch ...@sfritsch.de>
Subject Re: svn commit: r1406495 - in /httpd/httpd/trunk: CHANGES include/http_config.h server/core.c
Date Sun, 16 Jul 2017 22:06:33 GMT
On Tuesday, 11 July 2017 15:20:44 CEST Eric Covener wrote:
> Does anyone recall what kind of directives were misbehaving?

Sorry, I don't remember. But maybe all directives that expect useful 
information in cmd_parms->path ? This is always "*If" in If-Sections.

Cheers,
Stefan

> It seems
> like many things that work in Location/LocationMatch but not
> Directory/Files would tend to work with <If>
> 
> The single-arg form of Alias for example gets caught up in this check
> 
>     if (!file_req) {
>        if ((access_status = ap_location_walk(r))) {
>            return access_status;
>        }
>        if ((access_status = ap_if_walk(r))) {
>            return access_status;
>        }
> 
>        d = ap_get_core_module_config(r->per_dir_config);
>        if (d->log) {
>            r->log = d->log;
>        }
> 
>        if ((access_status = ap_run_translate_name(r))) {
>            return decl_die(access_status, "translate", r);
>        }
>    }
> 
>    /* Reset to the server default config prior to running map_to_storage
>     */
>    r->per_dir_config = r->server->lookup_defaults;
> 
>    if ((access_status = ap_run_map_to_storage(r))) {
>        /* This request wasn't in storage (e.g. TRACE) */
>        return access_status;
>    }


Mime
View raw message