--- - apache2/server/request.c 2007-08-03 14:15:00.000000000 +0000 +++ - apache2/server/request.c @@ -152,14 +152,10 @@ return access_status; } - /* Excluding file-specific requests with no 'true' URI... + /* Rerun the location walk, which overrides any map_to_storage config. */ - if (!file_req) { - /* Rerun the location walk, which overrides any map_to_storage config. - */ - if ((access_status = ap_location_walk(r))) { - return access_status; - } + if ((access_status = ap_location_walk(r))) { + return access_status; } /* Only on the main request! */ @@ -615,6 +611,7 @@ opts.add = this_dir->opts_add; opts.remove = this_dir->opts_remove; opts.override = this_dir->override; + opts.override_opts = this_dir->override_opts; /* Set aside path_info to merge back onto path_info later. * If r->filename is a directory, we must remerge the path_info,