diff options
author | Steve Price <steve@FreeBSD.org> | 1999-09-27 02:52:26 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-09-27 02:52:26 +0000 |
commit | 936af4387d81e213b5945e8ef5d81205c2b25837 (patch) | |
tree | 45e592bed14bc3ee6a21cb1820cf04d2a89dc0cb /www/apache13-fp/files/patch-fd | |
parent | Update to version 1.30.4. (diff) |
Update to use Apache version 1.3.9. Misc. notes from maintainer:
patch-au corrects a problem when either ResourceConfig/AccessConfig is
set to the apache configuration file (${PREFIX}/etc/apache/httpd.conf).
Without this patch, if you set the apache server to listen to alterate
ports the server would fail to start and the error log would contain:
[crit] (48)Address already in use: make_sock: could not bind to port 8000
ResourceConfig/AccessConfig can't be set to /dev/null. The fpsrvadm.exe
will not be able to obtain the DocumnetRoot from the ResourceConfig file
(/dev/null).
PR: 13673
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=21991
Diffstat (limited to 'www/apache13-fp/files/patch-fd')
-rw-r--r-- | www/apache13-fp/files/patch-fd | 112 |
1 files changed, 54 insertions, 58 deletions
diff --git a/www/apache13-fp/files/patch-fd b/www/apache13-fp/files/patch-fd index 81d1cb8ac816..f6930f3e0335 100644 --- a/www/apache13-fp/files/patch-fd +++ b/www/apache13-fp/files/patch-fd @@ -1,59 +1,55 @@ -*** src/support/suexec.h.orig Tue Mar 31 06:54:09 1998 ---- src/support/suexec.h Thu May 21 19:18:25 1998 -*************** -*** 56,61 **** ---- 56,72 ---- - */ - - /* -+ * "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. -+ * -+ */ -+ -+ /* - * suexec.h -- user-definable variables for the suexec wrapper code. - */ - -*************** -*** 129,134 **** ---- 140,173 ---- - */ - #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 -+ -+ #ifndef FPSTUB -+ #define FPSTUB "/usr/local/frontpage/version3.0/apache-fp/_vti_bin/fpexe" -+ #endif -+ -+ #ifndef FPSTUBDIR -+ #define FPSTUBDIR "/usr/local/frontpage/currentversion/apache-fp/_vti_bin" -+ #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. +--- src/support/suexec.h.orig Fri Jan 1 13:05:35 1999 ++++ src/support/suexec.h Mon Sep 6 13:12:55 1999 +@@ -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. ++ * + */ -+ #ifndef SYSTEM_CGI -+ #define SYSTEM_CGI "/usr/local/www/cgi-bin" - #endif - - /* ++ ++/* + * 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 ++ ++#ifndef FPSTUB ++#define FPSTUB "/usr/local/frontpage/version3.0/apache-fp/_vti_bin/fpexe" ++#endif ++ ++#ifndef FPSTUBDIR ++#define FPSTUBDIR "/usr/local/frontpage/currentversion/apache-fp/_vti_bin" ++#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 + + /* |