]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Corrected the path to src/include/httpd.h, as suggested by
authorMartin Kraemer <martin@apache.org>
Thu, 30 Jul 1998 16:42:47 +0000 (16:42 +0000)
committerMartin Kraemer <martin@apache.org>
Thu, 30 Jul 1998 16:42:47 +0000 (16:42 +0000)
Brian Reichert <reichert@numachi.com>

PR: 2359
Submitted by: Brian Reichert <reichert@numachi.com>

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

docs/manual/suexec.html
docs/manual/suexec.html.en

index c66e5682b0ceb928e9776c414517f9a8c18f07e9..09aede8b8ae7a39e1053177acf12de57cb538c12 100644 (file)
@@ -389,18 +389,22 @@ location.
 </P>
 
 <P ALIGN="LEFT">
-<EM>From src/httpd.h</EM>
+<EM>From src/include/httpd.h</EM>
 <PRE>
-     /* 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
 </PRE>
 </P>
 
 <P ALIGN="LEFT">
 If your installation requires location of the wrapper program in a different
-directory, edit src/httpd.h and recompile your Apache server.
-See <A HREF="install.html">Compiling and Installing Apache</A> for more
-info on this process.
+directory, either add <CODE>-DSUEXEC_BIN=\"<EM>&lt;/your/path/to/suexec&gt;</EM>\"</CODE>
+to your CFLAGS (or edit src/include/httpd.h) and recompile your Apache server.
+See <A HREF="install.html">Compiling and Installing Apache</A>
+(and the <SAMP>INSTALL</SAMP> file in the source distribution)
+for more info on this process.
 </P>
 
 <P ALIGN="LEFT">
index c66e5682b0ceb928e9776c414517f9a8c18f07e9..09aede8b8ae7a39e1053177acf12de57cb538c12 100644 (file)
@@ -389,18 +389,22 @@ location.
 </P>
 
 <P ALIGN="LEFT">
-<EM>From src/httpd.h</EM>
+<EM>From src/include/httpd.h</EM>
 <PRE>
-     /* 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
 </PRE>
 </P>
 
 <P ALIGN="LEFT">
 If your installation requires location of the wrapper program in a different
-directory, edit src/httpd.h and recompile your Apache server.
-See <A HREF="install.html">Compiling and Installing Apache</A> for more
-info on this process.
+directory, either add <CODE>-DSUEXEC_BIN=\"<EM>&lt;/your/path/to/suexec&gt;</EM>\"</CODE>
+to your CFLAGS (or edit src/include/httpd.h) and recompile your Apache server.
+See <A HREF="install.html">Compiling and Installing Apache</A>
+(and the <SAMP>INSTALL</SAMP> file in the source distribution)
+for more info on this process.
 </P>
 
 <P ALIGN="LEFT">