From: Bill Stoddard Date: Mon, 30 Jul 2001 15:11:40 +0000 (+0000) Subject: Win32: Get exec cgi tag working. finfo.protection == 0 on Windows from the X-Git-Tag: 2.0.23~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11f28c3d0437cbff86f757bd85eb4378f6f95039;p=thirdparty%2Fapache%2Fhttpd.git Win32: Get exec cgi tag working. finfo.protection == 0 on Windows from the apr_stat() call in directory walk (because discovering the permissions on Windows is ridiculously expensive). All we really need to know is whether the file exists. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89788 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index c93d343d495..1b63ba0c79c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,5 @@ Changes with Apache 2.0.23-dev + *) Win32: Get SSI exec cgi tag working. [Bill Stoddard] *) Add a single listener/multiple worker MPM. This MPM is definately not fully correct, but it allows us to solve many diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index 96596150a86..b76747308d9 100644 --- a/modules/generators/mod_cgi.c +++ b/modules/generators/mod_cgi.c @@ -815,7 +815,7 @@ static int include_cgi(char *s, request_rec *r, ap_filter_t *next, if ((rr->path_info && rr->path_info[0]) || rr->args) { return -1; } - if (rr->finfo.protection == 0) { + if (rr->finfo.filetype == 0) { return -1; } diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index 913ee08869a..b991e42afe5 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -1060,7 +1060,7 @@ static int include_cgi(char *s, request_rec *r, ap_filter_t *next, if ((rr->path_info && rr->path_info[0]) || rr->args) { return -1; } - if (rr->finfo.protection == 0) { + if (rr->finfo.filetype == 0) { return -1; }