]> granicus.if.org Git - apache/commitdiff
Use saner default config values for suexec.
authorJustin Erenkrantz <jerenkrantz@apache.org>
Wed, 1 Jan 2003 00:14:33 +0000 (00:14 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Wed, 1 Jan 2003 00:14:33 +0000 (00:14 +0000)
OtherBill and Brad have confirmed that including ap_config_layout.h isn't a
problem on non-Unix platforms as they don't use suexec.

PR: 15713
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz

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

CHANGES
support/suexec.h

diff --git a/CHANGES b/CHANGES
index 6dc7a4a561c8a742a8a08703c6d190ee3ee8518a..f135a401c08fbcdf2ca9cd642d7b25e497deac0e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
 Changes with Apache 2.1.0-dev
 
   [Remove entries to the current 2.0 section below, when backported]
+
+  *) Use saner default config values for suexec. PR 15713.
+     [Thom May <thom@planetarytramp.net>]
+
   *) Allow 'make depend' to work with non-GCC compilers.
      [Justin Erenkrantz]
 
index 2342c16822ad54fd7c4e532e7e6854dd84e6585e..eaf507ca8d1fa913a34d3ad68b83c9b537192f5c 100644 (file)
 #ifndef _SUEXEC_H
 #define _SUEXEC_H
 
+/*
+ * Include ap_config_layout so we can work out where the default htdocsdir
+ * and logsdir are.
+ */
+#include "ap_config_layout.h"
+
 /*
  * HTTPD_USER -- Define as the username under which Apache normally
  *               runs.  This is the only user allowed to execute
  *             debugging purposes.
  */
 #ifndef AP_LOG_EXEC
-#define AP_LOG_EXEC "/usr/local/apache2/logs/cgi.log"  /* Need me? */
+#define AP_LOG_EXEC DEFAULT_EXP_LOGFILEDIR "/suexec_log" /* Need me? */
 #endif
 
 /*
  *             that can be used for suEXEC behavior.
  */
 #ifndef AP_DOC_ROOT
-#define AP_DOC_ROOT "/usr/local/apache2/htdocs"
+#define AP_DOC_ROOT DEFAULT_EXP_HTDOCSDIR
 #endif
 
 /*