From: Vincent Deffontaines Date: Sun, 14 Oct 2012 12:26:55 +0000 (+0000) Subject: FallbackResource : Support for the 'disabled' argument X-Git-Tag: 2.5.0-alpha~6198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df9bff231ba7b4cff33bbe23b28ce3b4b49992e5;p=thirdparty%2Fapache%2Fhttpd.git FallbackResource : Support for the 'disabled' argument git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1398066 13f79535-47bb-0310-9956-ffa450edef68 --- 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,