From: Martin Kraemer Date: Thu, 30 Jul 1998 16:42:47 +0000 (+0000) Subject: Corrected the path to src/include/httpd.h, as suggested by X-Git-Tag: 1.3.2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b73da07b6f9fbd29036ed7d7f878f0a89b618a79;p=thirdparty%2Fapache%2Fhttpd.git Corrected the path to src/include/httpd.h, as suggested by Brian Reichert PR: 2359 Submitted by: Brian Reichert git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81836 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/suexec.html b/docs/manual/suexec.html index c66e5682b0c..09aede8b8ae 100644 --- a/docs/manual/suexec.html +++ b/docs/manual/suexec.html @@ -389,18 +389,22 @@ location.

-From src/httpd.h +From src/include/httpd.h

-     /* The path to the suEXEC wrapper */
-     #define SUEXEC_BIN "/usr/local/apache/sbin/suexec"
+     /* The path to the suExec wrapper, can be overridden in Configuration */
+     #ifndef SUEXEC_BIN
+     #define SUEXEC_BIN  HTTPD_ROOT "/sbin/suexec"
+     #endif
 

If your installation requires location of the wrapper program in a different -directory, edit src/httpd.h and recompile your Apache server. -See Compiling and Installing Apache for more -info on this process. +directory, either add -DSUEXEC_BIN=\"</your/path/to/suexec>\" +to your CFLAGS (or edit src/include/httpd.h) and recompile your Apache server. +See Compiling and Installing Apache +(and the INSTALL file in the source distribution) +for more info on this process.

diff --git a/docs/manual/suexec.html.en b/docs/manual/suexec.html.en index c66e5682b0c..09aede8b8ae 100644 --- a/docs/manual/suexec.html.en +++ b/docs/manual/suexec.html.en @@ -389,18 +389,22 @@ location.

-From src/httpd.h +From src/include/httpd.h

-     /* The path to the suEXEC wrapper */
-     #define SUEXEC_BIN "/usr/local/apache/sbin/suexec"
+     /* The path to the suExec wrapper, can be overridden in Configuration */
+     #ifndef SUEXEC_BIN
+     #define SUEXEC_BIN  HTTPD_ROOT "/sbin/suexec"
+     #endif
 

If your installation requires location of the wrapper program in a different -directory, edit src/httpd.h and recompile your Apache server. -See Compiling and Installing Apache for more -info on this process. +directory, either add -DSUEXEC_BIN=\"</your/path/to/suexec>\" +to your CFLAGS (or edit src/include/httpd.h) and recompile your Apache server. +See Compiling and Installing Apache +(and the INSTALL file in the source distribution) +for more info on this process.