]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Win32: Get exec cgi tag working. finfo.protection == 0 on Windows from the
authorBill Stoddard <stoddard@apache.org>
Mon, 30 Jul 2001 15:11:40 +0000 (15:11 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 30 Jul 2001 15:11:40 +0000 (15:11 +0000)
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

CHANGES
modules/generators/mod_cgi.c
modules/generators/mod_cgid.c

diff --git a/CHANGES b/CHANGES
index c93d343d495718d4c797fb5df0156e0208f7530f..1b63ba0c79cea985f0007c33debc56ed118d21d4 100644 (file)
--- 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
index 96596150a86de14e0558e6fdb8cd1a12c92ded88..b76747308d9b2349a767cd2f39f48fa779a6f213 100644 (file)
@@ -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;
     }
 
index 913ee08869a6892db730fa7712c7359847c0a65c..b991e42afe51b2fdb23dccd18da10ec5d2f669d4 100644 (file)
@@ -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;
     }