#! /bin/sh /usr/share/dpatch/dpatch-run ## 043_fix_subrequests_walkdirs by Jose Kahan ## ## All lines beginning with `## DP:' are a description of the patch. ### DP: conneg doesn't return the same values for the same file @DPATCH@ --- apache2/server/request.c 2008-01-21 17:57:50.000000000 +0000 +++ apache2/server/request.c 2008-01-21 17:58:52.000000000 +0000 @@ -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! */