home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-Online 1996 May
/
PCOnline_05_1996.bin
/
linux
/
source
/
contrib
/
httpd
/
httpd_1.3
/
httpd_1.3.slack.diff
Wrap
Text File
|
1994-10-23
|
3KB
|
87 lines
diff -u --recursive --new-file httpd_1.3.orig/src/Makefile httpd_1.3/src/Makefile
--- httpd_1.3.orig/src/Makefile Sat May 7 21:46:59 1994
+++ httpd_1.3/src/Makefile Sun Oct 23 02:20:56 1994
@@ -15,8 +15,8 @@
# If you want to have the server check the execute bit of an HTML file to
# determine if it is a parsed file, use -DXBITHACK
-#CFLAGS= -O2
-CFLAGS= -g
+CFLAGS= -O2
+#CFLAGS= -g
# Place here any extra libraries you may need to link to. You
# shouldn't have to.
@@ -27,7 +27,7 @@
# SETTINGS FOR THE SYSTEM FLAGS. IF YOU DON'T, BAD THINGS WILL HAPPEN.
# For SunOS 4
-AUX_CFLAGS= -DSUNOS4
+#AUX_CFLAGS= -DSUNOS4
# For Solaris 2. NOTE: Lots of problems have been identified with compiling
# httpd under Solaris. Use with caution. If you see aberrant behavior with
# httpd under Solaris 2, please mail us.
@@ -50,7 +50,7 @@
# For Sequent
#AUX_CFLAGS= -DSEQUENT
# For Linux -m486 ONLY IF YOU HAVE 486 BINARY SUPPORT IN KERNEL
-#AUX_CFLAGS= -DLINUX
+AUX_CFLAGS= -DLINUX
# For A/UX
#AUX_CFLAGS= -DAUX
#EXTRA_LIBS= -lbsd -lposix -s
diff -u --recursive --new-file httpd_1.3.orig/src/httpd.h httpd_1.3/src/httpd.h
--- httpd_1.3.orig/src/httpd.h Sat May 7 21:47:12 1994
+++ httpd_1.3/src/httpd.h Sun Oct 23 02:40:05 1994
@@ -176,10 +176,10 @@
/* Define this to be the default server home dir. Anything later in this
* file with a relative pathname will have this added.
*/
-#define HTTPD_ROOT "/usr/local/etc/httpd"
+#define HTTPD_ROOT "/var/httpd"
/* Root of server */
-#define DOCUMENT_LOCATION "/usr/local/etc/httpd/htdocs"
+#define DOCUMENT_LOCATION "/var/httpd/htdocs"
/* Max. number of aliases */
#define MAX_ALIASES 20
@@ -206,8 +206,8 @@
/* --------- Default user name and group name running standalone ---------- */
/* --- These may be specified as numbers by placing a # before a number --- */
-#define DEFAULT_USER "#-1"
-#define DEFAULT_GROUP "#-1"
+#define DEFAULT_USER "nobody"
+#define DEFAULT_GROUP "nogroup"
/* The name of the log files */
#define DEFAULT_XFERLOG "logs/access_log"
@@ -245,7 +245,7 @@
#define DEFAULT_USER_DIR "public_html"
/* The default path for CGI scripts if none is currently set */
-#define DEFAULT_PATH "/bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin"
+#define DEFAULT_PATH "/bin:/usr/bin:/usr/local/bin"
/* The path to the Bourne shell, for parsed docs */
#define SHELL_PATH "/bin/sh"
diff -u --recursive --new-file httpd_1.3.orig/support/Makefile httpd_1.3/support/Makefile
--- httpd_1.3.orig/support/Makefile Sun Apr 10 23:58:14 1994
+++ httpd_1.3/support/Makefile Sun Oct 23 02:23:14 1994
@@ -4,9 +4,9 @@
#CC= cc
#For Optimization
-#CFLAGS= -O2
+CFLAGS= -O2
#For debugging
-CFLAGS= -g
+#CFLAGS= -g
# For SCO ODT
#EXTRA_LIBS= -lcrypt_i
Binary files httpd_1.3.orig/support/htpasswd and httpd_1.3/support/htpasswd differ
Binary files httpd_1.3.orig/support/inc2shtml and httpd_1.3/support/inc2shtml differ
Binary files httpd_1.3.orig/support/unescape and httpd_1.3/support/unescape differ