From df9bff231ba7b4cff33bbe23b28ce3b4b49992e5 Mon Sep 17 00:00:00 2001 From: Vincent Deffontaines Date: Sun, 14 Oct 2012 12:26:55 +0000 Subject: [PATCH] FallbackResource : Support for the 'disabled' argument git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1398066 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mappers/mod_dir.c b/modules/mappers/mod_dir.c index 52d0273e5da..4364ff95515 100644 --- a/modules/mappers/mod_dir.c +++ b/modules/mappers/mod_dir.c @@ -162,7 +162,7 @@ static int fixup_dflt(request_rec *r) int error_notfound = 0; name_ptr = d->dflt; - if (name_ptr == NULL) { + if ((name_ptr == NULL) || !(strcasecmp(name_ptr,"disabled"))){ return DECLINED; } /* XXX: if FallbackResource points to something that doesn't exist, -- 2.47.3