]> granicus.if.org Git - apache/commitdiff
Remove support for ap_suexec_enabled
authorRoy T. Fielding <fielding@apache.org>
Thu, 26 Aug 1999 17:25:09 +0000 (17:25 +0000)
committerRoy T. Fielding <fielding@apache.org>
Thu, 26 Aug 1999 17:25:09 +0000 (17:25 +0000)
Submitted by: Dean Gaudet

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83790 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_cgi.c

index 585740ee9ee8922bf9a6e732118c23350ad669a5..d0998b9c40a8ae792623e527e675ed9065d9edef 100644 (file)
@@ -423,11 +423,6 @@ static int cgi_handler(request_rec *r)
     if (S_ISDIR(r->finfo.st_mode))
        return log_scripterror(r, conf, FORBIDDEN, APLOG_NOERRNO,
                               "attempt to invoke directory as script");
-    if (!ap_suexec_enabled) {
-       if (!ap_can_exec(&r->finfo))
-           return log_scripterror(r, conf, FORBIDDEN, APLOG_NOERRNO,
-                                  "file permissions deny server execution");
-    }
 
     if ((retval = ap_setup_client_block(r, REQUEST_CHUNKED_ERROR)))
        return retval;