summaryrefslogtreecommitdiff
path: root/www/mod_frontpage/files/patch-mod_frontpage.c
blob: 946bf27fd8fbf4a6afb8d1045e55d5d48b16a43b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- mod_frontpage.c	Tue Feb  5 13:56:31 2002
+++ mod_frontpage.c	Tue Feb  5 18:01:27 2002
@@ -124,7 +124,7 @@
 			    "FrontPage disabled for server %s:%d\n",
 			    s->server_hostname, s->port);
 		/*
-		 * As default, enable the mod_frontpage cgi administration
+		 * As default, disable the mod_frontpage cgi administration
 		 */
 		if (c->admindisabled == -1)
 			c->admindisabled = TRUE;
@@ -491,10 +491,6 @@
 		return log_scripterror (r, c, FORBIDDEN, APLOG_ERR|APLOG_NOERRNO,
 		    "fpEXEC stub writable by group or others");
 	}
-	if (!(r->finfo.st_mode & S_IXOTH)) {
-		return log_scripterror (r, c, FORBIDDEN, APLOG_ERR|APLOG_NOERRNO,
-		    "fpEXEC stub not executable by others");
-	}
 	if (((r->finfo.st_mode & S_ISGID))
 	&&  (r->finfo.st_gid != 0)) {
 		return log_scripterror (r, c, FORBIDDEN, APLOG_ERR|APLOG_NOERRNO,