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-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=247a15de7aa9afb5c2f6f1ebb22bc13c538120d7;p=apache 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 9997748180..e2ef3f5ce0 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 e0add49542..9c1ec8cc73 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 = {