From: Martin Kraemer
-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.