You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1996/12/02 17:13:14 UTC

1.2b1

Ok, where are we at?

I see Roy commited his last changes. (What about Dirk's comments?)

I've got mine and Chuck's vote on a patch that I submitted which
defines a usable  user/group for FreeBSD/NetBSD/BSDI. The current
defaults will fail on these OS's and I am sure there are others
effected. It's a simple conf.h change that could avoid some problems
for newcomers.

I'd like to have a couple more +1s.


===================================================================
RCS file: /export/home/cvs/apache/src/conf.h,v
retrieving revision 1.48
diff -c -r1.48 conf.h
*** conf.h	1996/12/01 20:28:15	1.48
--- conf.h	1996/12/01 21:04:30
***************
*** 293,298 ****
--- 293,300 ----
  #undef NO_KILLPG
  #undef NO_SETSID
  #define JMP_BUF sigjmp_buf
+ #define DEFAULT_USER "nobody"
+ #define DEFAULT_GROUP "nobody"
  typedef quad_t rlim_t;
  
  #elif defined(UTS21)
***************
*** 318,323 ****
--- 320,327 ----
  #undef NO_SETSID
  #define JMP_BUF sigjmp_buf
  #define HAVE_MMAP
+ #define DEFAULT_USER "nobody"
+ #define DEFAULT_GROUP "nobody"
  typedef quad_t rlim_t;
  
  #elif defined(QNX)
Index: httpd.h
===================================================================
RCS file: /export/home/cvs/apache/src/httpd.h,v
retrieving revision 1.65
diff -c -r1.65 httpd.h
*** httpd.h	1996/12/01 20:28:38	1.65
--- httpd.h	1996/12/01 21:03:05
***************
*** 102,109 ****
--- 102,113 ----
  /* --------- Default user name and group name running standalone ---------- */
  /* --- These may be specified as numbers by placing a # before a number --- */
  
+ #ifndef DEFAULT_USER
  #define DEFAULT_USER "#-1"
+ #endif
+ #ifndef DEFAULT_GROUP
  #define DEFAULT_GROUP "#-1"
+ #endif
  
  /* The name of the log files */
  #ifdef __EMX__