]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
revert r1675103 because it [at least] causes FallBackResource to kick
authorEric Covener <covener@apache.org>
Fri, 15 May 2015 18:44:49 +0000 (18:44 +0000)
committerEric Covener <covener@apache.org>
Fri, 15 May 2015 18:44:49 +0000 (18:44 +0000)
in before mod_autoindex might have kicked in.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1679620 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_dir.c

index 93533850c2a16eaef71ad05df67f14637e8fdf78..d2d075d98b3db26746ef668168a76f9dff255562 100644 (file)
@@ -387,15 +387,8 @@ static int fixup_dir(request_rec *r)
 static int dir_fixups(request_rec *r)
 {
     if (r->finfo.filetype == APR_DIR) {
-        if (fixup_dir(r) == OK) {
-            return OK;
-        }
-        /* we're running between mod_rewrites fixup and its internal redirect handler, step aside */
-        if (!strcmp(r->handler, REWRITE_REDIRECT_HANDLER_NAME)) {
-            return DECLINED;
-        }
-
-        return fixup_dflt(r);
+        /* serve up a directory */
+        return fixup_dir(r);
     }
     else if ((r->finfo.filetype == APR_NOFILE) && (r->handler == NULL)) {
         /* No handler and nothing in the filesystem - use fallback */