From 79969d819c3e7eadc218ff33ab59c1f98b59ff39 Mon Sep 17 00:00:00 2001 From: Vincent Deffontaines Date: Sun, 14 Oct 2012 12:06:10 +0000 Subject: [PATCH] Adding support for the 'disabled' keyword to FallbackResource git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1398064 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 52d0273e5d..4364ff9551 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.40.0