1999-09-27 02:52:26 +00:00
|
|
|
--- src/support/suexec.h.orig Fri Jan 1 13:05:35 1999
|
2000-01-03 03:36:38 +00:00
|
|
|
+++ src/support/suexec.h Fri Nov 5 19:55:49 1999
|
1999-09-27 02:52:26 +00:00
|
|
|
@@ -56,6 +56,17 @@
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
+ * "FPEXE modification made on 98.05.21 by Scot Hetzel (hetzels@westbend.net)
|
|
|
|
+ * based on previous FPEXE modifications supplied by Mark Wormgoor
|
|
|
|
+ * (riddles@ipe.nl)
|
|
|
|
+ *
|
|
|
|
+ * Changes were made in order to use Suexec and Frontpage 98 at the same time.
|
|
|
|
+ * After we change to the target_uid and target_gid. We check if cmd = FPEXE,
|
|
|
|
+ * if it does then we execute the cmd without performing any further tests.
|
|
|
|
+ *
|
1998-11-10 01:56:01 +00:00
|
|
|
+ */
|
1999-09-27 02:52:26 +00:00
|
|
|
+
|
|
|
|
+/*
|
|
|
|
* suexec.h -- user-definable variables for the suexec wrapper code.
|
|
|
|
* (See README.configure on how to customize these variables.)
|
|
|
|
*/
|
|
|
|
@@ -130,6 +141,34 @@
|
|
|
|
*/
|
|
|
|
#ifndef DOC_ROOT
|
|
|
|
#define DOC_ROOT "/usr/local/apache/htdocs"
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * FPEXE, FPSTUB
|
|
|
|
+ * FPSTUBDIR -- We are running frontpage and we don't need to run
|
|
|
|
+ * fpexe suid, since it's already set suid. Also, the
|
|
|
|
+ * dir-rights are incorrect and so on...
|
|
|
|
+ */
|
|
|
|
+#ifndef FPEXE
|
|
|
|
+#define FPEXE "fpexe"
|
|
|
|
+#endif
|
|
|
|
+
|
2000-01-03 03:36:38 +00:00
|
|
|
+#ifndef FPSTUBDIR
|
|
|
|
+#define FPSTUBDIR "/usr/local/frontpage/version4.0/apache-fp/_vti_bin"
|
1999-09-27 02:52:26 +00:00
|
|
|
+#endif
|
|
|
|
+
|
2000-01-03 03:36:38 +00:00
|
|
|
+#ifndef FPSTUB
|
|
|
|
+#define FPSTUB FPSTUBDIR "/fpexe"
|
1999-09-27 02:52:26 +00:00
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * SYSTEM_CGI -- Define as the cgi directory for system-wide CGI's
|
|
|
|
+ * Note that UID/GID of the cgi or the directory are
|
|
|
|
+ * NOT matched if they're in this directory, although
|
|
|
|
+ * all the other checks still apply. Caveat Emptor.
|
|
|
|
+*/
|
|
|
|
+#ifndef SYSTEM_CGI
|
|
|
|
+#define SYSTEM_CGI "/usr/local/www/cgi-bin"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|