From: Greg Ames Date: Thu, 31 Jan 2002 19:54:53 +0000 (+0000) Subject: fix redirects for directories. fixup_dir was munging the URI before other X-Git-Tag: 2.0.32~170 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=699e8f8d809ab3171074988e197913e2e89ed4aa;p=thirdparty%2Fapache%2Fhttpd.git fix redirects for directories. fixup_dir was munging the URI before other fixup hooks (such as fixup_redir in mod_alias) had a chance to redirect the original directory URI. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93141 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/STATUS b/STATUS index 99977481800..e2ef3f5ce0c 100644 --- a/STATUS +++ b/STATUS @@ -1,5 +1,5 @@ APACHE 2.0 STATUS: -*-text-*- -Last modified at [$Date: 2002/01/31 18:15:09 $] +Last modified at [$Date: 2002/01/31 19:54:53 $] Release: @@ -104,9 +104,6 @@ RELEASE SHOWSTOPPERS: apr-util, etc. Message-ID: <20020116000226.GA15991@ebuilt.com> - * Redirected autoindex requests no longer work. Example: - http://jakarta.apache.org/builds/tomcat/ mod_dir is a suspect. - * mod_alias redirections are issuing invalid Location: response header fields (they're not absoluteURI values). diff --git a/modules/mappers/mod_dir.c b/modules/mappers/mod_dir.c index e0add495424..9c1ec8cc736 100644 --- a/modules/mappers/mod_dir.c +++ b/modules/mappers/mod_dir.c @@ -246,7 +246,7 @@ static int fixup_dir(request_rec *r) static void register_hooks(apr_pool_t *p) { - ap_hook_fixups(fixup_dir,NULL,NULL,APR_HOOK_MIDDLE); + ap_hook_fixups(fixup_dir,NULL,NULL,APR_HOOK_LAST); } module AP_MODULE_DECLARE_DATA dir_module = {