cvs commit: apachen/src/main util.c

1997-11-11 Thread dgaudet
dgaudet 97/11/11 11:52:20

  Modified:src  CHANGES
   src/main util.c
  Log:
  If ap_slack fails to allocate above the low slack line it's a good
  indication that further problems will occur; it's a better indication
  than many external libraries give us when we actually run out of
  descriptors.  So report it to the user once per restart.
  
  PR:   1181
  Reviewed by:  Jim Jagielski, Ken Coar
  
  Revision  ChangesPath
  1.502 +6 -0  apachen/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apachen/src/CHANGES,v
  retrieving revision 1.501
  retrieving revision 1.502
  diff -u -r1.501 -r1.502
  --- CHANGES   1997/11/09 20:40:30 1.501
  +++ CHANGES   1997/11/11 19:52:16 1.502
  @@ -1,5 +1,11 @@
   Changes with Apache 1.3b3
   
  +  *) If ap_slack fails to allocate above the low slack line it's a good
  + indication that further problems will occur; it's a better indication
  + than many external libraries give us when we actually run out of
  + descriptors.  So report it to the user once per restart.
  + [Dean Gaudet] PR#1181
  +
 *) Change mod_include and mod_autoindex to use Y2K-safe date formats
by default.  [Ken Coar]
   
  
  
  
  1.76  +15 -2 apachen/src/main/util.c
  
  Index: util.c
  ===
  RCS file: /export/home/cvs/apachen/src/main/util.c,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- util.c1997/10/27 16:30:30 1.75
  +++ util.c1997/11/11 19:52:19 1.76
  @@ -66,9 +66,7 @@
   
   #include httpd.h
   #include http_conf_globals.h   /* for user_id  group_id */
  -#if defined(DEBUG)||defined(DEBUG_CFG_LINES)
   #include http_log.h
  -#endif
   #include stdio.h
   
   const char month_snames[12][4] =
  @@ -1620,6 +1618,7 @@
   #if !defined(F_DUPFD)
   return fd;
   #else
  +static int low_warned;
   int new_fd;
   
   #ifdef HIGH_SLACK_LINE
  @@ -1637,6 +1636,20 @@
   }
   new_fd = fcntl(fd, F_DUPFD, LOW_SLACK_LINE);
   if (new_fd == -1) {
  + if (!low_warned) {
  + /* Give them a warning here, because we really can't predict
  +  * how libraries and such are going to fail.  If we can't
  +  * do this F_DUPFD there's a good chance that apache has too
  +  * few descriptors available to it.  Note we don't warn on
  +  * the high line, because if it fails we'll eventually try
  +  * the low line...
  +  */
  + aplog_error(APLOG_MARK, APLOG_ERR, NULL,
  + unable to open a file descriptor above %u, 
  + you may need to increase the number of descriptors,
  + LOW_SLACK_LINE);
  + low_warned = 1;
  + }
return fd;
   }
   close(fd);
  
  
  


cvs commit: apachen/htdocs/manual/mod mod_expires.html

1997-11-11 Thread coar
coar97/11/11 13:35:10

  Modified:htdocs/manual/mod mod_expires.html
  Log:
Add documentation for alternate mod_expires time syntax.
  
  PR:   1238
  
  Revision  ChangesPath
  1.5   +89 -1 apachen/htdocs/manual/mod/mod_expires.html
  
  Index: mod_expires.html
  ===
  RCS file: /export/home/cvs/apachen/htdocs/manual/mod/mod_expires.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- mod_expires.html  1997/06/04 16:14:20 1.4
  +++ mod_expires.html  1997/11/11 21:35:08 1.5
  @@ -154,6 +154,13 @@
 ExpiresDefault/A
 directive.
 /P
  +  P
  +  You can also specify the expiration time calculation using an
  +  A
  +   HREF=#AltSyn
  +  alternate syntax/A,
  +  described later in this document.
  +  /P
 HR
 H2A NAME=expiresdefault
  ExpiresDefault directive
  @@ -178,8 +185,89 @@
  HREF=#expiresbytype
 ExpiresByType/A
 directive.  See the description of that directive for details about
  -  the syntax of the argument.
  +  the syntax of the argument, and the
  +  A
  +   HREF=#AltSyn
  +  alternate syntax/A
  +  description as well.
  +  /P
  +  HR
  +  H2
  +   A NAME=AltSynAlternate Interval Syntax/A
  +  /H2
  +  P
  +  The 
  +  A
  +   HREF=#expiresdefault
  +  SAMPExpiresDefault/SAMP/A
  +  and
  +  A
  +   HREF=#expiresbytype
  +  SAMPExpiresByType/SAMP/A
  +  directives can also be defined in a more readable syntax of the form:
  +  /P
  +  DL
  +   DDCODEExpiresDefault lt;basegt; [plus] {lt;numgt; lt;typegt;}*
  +BR
  +ExpiresByType type/encoding lt;basegt; [plus] {lt;numgt; 
lt;typegt;}*/CODE
  +   /DD
  +  /DL
  +  P
  +  where lt;basegt; is one of:
  +  /P
  +  MENU
  +   LISAMPaccess/SAMP  
  +   /LI
  +   LISAMPnow/SAMP (equivalent to 'SAMPaccess/SAMP')
  +   /LI
  +   LISAMPmodification/SAMP
  +   /LI
  +  /MENU
  +  /P
  +  P
  +  The 'SAMPplus/SAMP' keyword is optional.  lt;numgt; should be an
  +  integer value [acceptable to SAMPatoi()/SAMP], and lt;typegt;
  +  is one of:
  +  /P
  +  MENU
  +   LISAMPyears/SAMP
  +   /LI
  +   LISAMPmonths/SAMP
  +   /LI
  +   LISAMPweeks/SAMP
  +   /LI
  +   LISAMPdays/SAMP
  +   /LI
  +   LISAMPhours/SAMP
  +   /LI
  +   LISAMPminutes/SAMP
  +   /LI
  +   LISAMPseconds/SAMP
  +   /LI
  +  /MENU
  +  P
  +  For example, any of the following directives can be used to make
  +  documents expire 1 month after being accessed, by default:
  +  /P
  +  DL
  +   DDCODEExpiresDefault access plus 1 month
  +BR
  +ExpiresDefault access plus 4 weeks
  +BR
  +ExpiresDefault access plus 30 days
  +   /DD
  +  /DL
  +  P
  +  The expiry time can be fine-tuned by adding several 'lt;numgt; 
lt;typegt;'
  +  clauses:
 /P
  +  DL
  +   DDCODEExpiresByType text/html access plus 1 month 15 days 2 hours
  +BR
  +ExpiresByType image/gif modification plus 5 hours 3 minutes
  +   /DD
  +  /DL
  +
 !--#include virtual=footer.html --
/BODY
   /HTML
  
  
  


cvs commit: apachen/htdocs/manual/mod mod_expires.html

1997-11-11 Thread fielding
fielding97/11/11 13:58:16

  Modified:htdocs/manual/mod mod_expires.html
  Log:
  Close them CODE elements
  
  Revision  ChangesPath
  1.6   +2 -2  apachen/htdocs/manual/mod/mod_expires.html
  
  Index: mod_expires.html
  ===
  RCS file: /export/home/cvs/apachen/htdocs/manual/mod/mod_expires.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- mod_expires.html  1997/11/11 21:35:08 1.5
  +++ mod_expires.html  1997/11/11 21:58:15 1.6
  @@ -254,7 +254,7 @@
   BR
   ExpiresDefault access plus 4 weeks
   BR
  -ExpiresDefault access plus 30 days
  +ExpiresDefault access plus 30 days/CODE
  /DD
 /DL
 P
  @@ -264,7 +264,7 @@
 DL
  DDCODEExpiresByType text/html access plus 1 month 15 days 2 hours
   BR
  -ExpiresByType image/gif modification plus 5 hours 3 minutes
  +ExpiresByType image/gif modification plus 5 hours 3 minutes/CODE
  /DD
 /DL
   
  
  
  


cvs commit: apache-site bugdb.cgi

1997-11-11 Thread coar
coar97/11/11 14:12:30

  Modified:.bugdb.cgi
  Log:
Change the subject of mail sent after an edit to use the new
PR category.  If it was changed as part of the edit, the mail
used to be unreplyable because it would no longer match the
PR's category.
  
  Revision  ChangesPath
  1.18  +6 -2  apache-site/bugdb.cgi
  
  Index: bugdb.cgi
  ===
  RCS file: /export/home/cvs/apache-site/bugdb.cgi,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- bugdb.cgi 1997/11/10 22:23:23 1.17
  +++ bugdb.cgi 1997/11/11 22:12:29 1.18
  @@ -56,6 +56,10 @@
   #and non-critical the default severity.
   #  11/10/1997 Ken Coar - Added some canned response buttons on the
   #full display page seen by authorised editors.
  +#  11/11/1997 Ken Coar - Change the subject of edit mail sent to match the
  +#actual PR category; if it was changed as part of the edit, the message
  +#would be unreplyable because of a category mismatch between the
  +#new database value and the old subject line.
   #
   ### End Modification log
   
  @@ -193,7 +197,7 @@
   ### Main menu
   } elsif ($PATH_INFO eq ) {
   main_menu();
  -print HRSMALLVersion: 10 November 1997BRAuthors: ,
  +print HRSMALLVersion: 11 November 1997BRAuthors: ,
A HREF=\http://alumni.caltech.edu/~dank/gnats.html\;Dan Kegel ,
and Huy Le/A, BR ,
with revamp work by ,
  @@ -815,7 +819,7 @@
$msg = 
   To: $mail_to
   From: $input{'Editor'}
  -Subject: Re: $semipr: $oldsyn
  +Subject: Re: $input{'Category'}/$pr: $oldsyn
   
   Synopsis: $oldsyn
   
  
  
  


cvs commit: apachen/src/main http_core.c

1997-11-11 Thread martin
martin  97/11/11 14:36:23

  Modified:src/main http_core.c
  Log:
  Minor off-by-one error in parsing the host:port argument. Would work
  without the patch, but gives correcter error message with it.
  Reviewed by:  Dean Gaudet, Jim Jagielski, Ken Coar
  
  Revision  ChangesPath
  1.136 +1 -1  apachen/src/main/http_core.c
  
  Index: http_core.c
  ===
  RCS file: /home/cvs/apachen/src/main/http_core.c,v
  retrieving revision 1.135
  retrieving revision 1.136
  diff -u -u -r1.135 -r1.136
  --- http_core.c   1997/11/08 21:42:36 1.135
  +++ http_core.c   1997/11/11 22:36:22 1.136
  @@ -1414,7 +1414,7 @@
   if (ports != NULL)
   {
if (ports == ips) return Missing IP address;
  - else if (ports[0] == '\0')
  + else if (ports[1] == '\0')
return Address must end in :port-number;
*(ports++) = '\0';
   } else
  
  
  


cvs commit: apachen/htdocs/manual/mod mod_cookies.html

1997-11-11 Thread marc
marc97/11/11 14:38:37

  Modified:htdocs/manual/mod mod_cookies.html
  Log:
  Make it clear that mod_cookies doesn't exist any more in current
  versions of Apache.
  
  Revision  ChangesPath
  1.5   +5 -1  apachen/htdocs/manual/mod/mod_cookies.html
  
  Index: mod_cookies.html
  ===
  RCS file: /export/home/cvs/apachen/htdocs/manual/mod/mod_cookies.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- mod_cookies.html  1997/06/04 16:14:18 1.4
  +++ mod_cookies.html  1997/11/11 22:38:36 1.5
  @@ -15,7 +15,11 @@
   !--#include virtual=header.html --
   H1 ALIGN=CENTERModule mod_cookies/h1
   
  -This module is contained in the codemod_cookies.c/code file, and
  +STRONGFONT COLOR=redThis modules is obsolete.  As of version
  +1.2 of Apache, it has been replaced with A HREF=mod_usertrack.html
  +mod_usertrack/A.  /FONT/STRONG
  +
  +PThis module is contained in the codemod_cookies.c/code file, and
   is not compiled in by default. It provides for Netscape(TM) cookies.
   There is no documentation available for this module.
   
  
  
  


cvs commit: apachen/src/main http_core.c

1997-11-11 Thread martin
martin  97/11/11 14:43:27

  Modified:src/main http_core.c
  Log:
  New check routine check_cmd_context() -- controls whether a particular
  directive is allowed in Directory/Files/Location, Limit or
  VirtualHost context and complains if it isn't.
  Reviewed by:  Dean Gaudet, Jim Jagielski, Ken Coar
  
  Revision  ChangesPath
  1.137 +171 -56   apachen/src/main/http_core.c
  
  Index: http_core.c
  ===
  RCS file: /home/cvs/apachen/src/main/http_core.c,v
  retrieving revision 1.136
  retrieving revision 1.137
  diff -u -u -r1.136 -r1.137
  --- http_core.c   1997/11/11 22:36:22 1.136
  +++ http_core.c   1997/11/11 22:43:26 1.137
  @@ -564,11 +564,40 @@
* commands, but most of the old srm.conf is in the the modules.
*/
   
  +/* check_cmd_context():  Forbidden in: */
  +#define  NOT_IN_VIRTUALHOST 0x01U /* Virtualhost */
  +#define  NOT_IN_LIMIT   0x02U /* Limit */
  +#define  NOT_IN_DIR_LOC_FILE0x04U /* Directory/Location/Files*/
  +
  +
  +static const char *check_cmd_context(cmd_parms *cmd, unsigned forbidden)
  +{
  +const char *gt = (cmd-cmd-name[0] == ''
  + cmd-cmd-name[strlen(cmd-cmd-name)-1] != '') ?  : 
;
  +
  +if ((forbidden  NOT_IN_VIRTUALHOST)  cmd-server-is_virtual)
  + return pstrcat(cmd-pool, cmd-cmd-name, gt,
  + cannot occur within VirtualHost section, NULL);
  +
  +if ((forbidden  NOT_IN_LIMIT)  cmd-limited != -1)
  + return pstrcat(cmd-pool, cmd-cmd-name, gt,
  + cannot occur within Limit section, NULL);
  +
  +if ((forbidden  NOT_IN_DIR_LOC_FILE)  cmd-path != NULL)
  + return pstrcat(cmd-pool, cmd-cmd-name, gt,
  + cannot occur within Directory/Location/Files 
section, NULL);
  +
  +return NULL;
  +}
  +
   const char *set_access_name (cmd_parms *cmd, void *dummy, char *arg)
   {
   void *sconf = cmd-server-module_config;
   core_server_config *conf = get_module_config (sconf, core_module);
  -  
  +
  +const char *err = check_cmd_context(cmd, 
NOT_IN_DIR_LOC_FILE|NOT_IN_LIMIT);
  +if (err != NULL) return err;
  +
   conf-access_name = pstrdup(cmd-pool, arg);
   return NULL;
   }
  @@ -578,6 +607,9 @@
   void *sconf = cmd-server-module_config;
   core_server_config *conf = get_module_config (sconf, core_module);
 
  +const char *err = check_cmd_context(cmd, 
NOT_IN_DIR_LOC_FILE|NOT_IN_LIMIT);
  +if (err != NULL) return err;
  +
   if (!is_directory (arg))
if (cmd-server-is_virtual)
fprintf (stderr, Warning: DocumentRoot [%s] does not exist\n, 
arg);
  @@ -594,6 +626,9 @@
   int error_number, index_number, idx500;
   char *w;
   
  +const char *err = check_cmd_context(cmd, NOT_IN_LIMIT);
  +if (err != NULL) return err;
  +
   /* 1st parameter should be a 3 digit number, which we recognize;
* convert it into an array index
*/
  @@ -632,6 +667,9 @@
   {
   char *w;
 
  +const char *err = check_cmd_context(cmd, 
NOT_IN_VIRTUALHOST|NOT_IN_LIMIT);
  +if (err != NULL) return err;
  +
   d-override = OR_NONE;
   while(l[0]) {
   w = getword_conf (cmd-pool, l);
  @@ -736,7 +774,13 @@
   const char *limited_methods = getword(cmd-pool,arg,'');
   int limited = 0;
 
  -if (cmd-limited  0) return Can't nest Limit sections;
  +const char *err = check_cmd_context(cmd, NOT_IN_LIMIT);
  +if (err != NULL) return err;
  +
  +/* XXX: NB: Currently, we have no way of checking
  + * whether Limit sections are closed properly.
  + * (If we would add a srm_command_loop() here we might...)
  + */
   
   while(limited_methods[0]) {
   char *method = getword_conf (cmd-pool, limited_methods);
  @@ -765,18 +809,18 @@
* When a section is not closed properly when end-of-file is reached,
* then an error message should be printed:
*/
  -static const char *missing_endsection (pool *p, const char *secname, int 
nest)
  +static const char *missing_endsection (cmd_parms *cmd, int nest)
   {
   char rply[100];
   
   if (nest  2)
ap_snprintf(rply, sizeof rply, Missing /%s directive at end-of-file,
  - secname);
  + cmd-cmd-name[1]);
   else
ap_snprintf(rply, sizeof rply, %d missing /%s directives at 
end-of-file,
  - nest, secname);
  + nest, cmd-cmd-name[1]);
   
  -return pstrdup(p, rply);
  +return pstrdup(cmd-pool, rply);
   }
   
   /* We use this in DirectoryMatch and FilesMatch, to ensure that 
  @@ -805,10 +849,10 @@
   void *new_dir_conf = create_per_dir_config (cmd-pool);
   regex_t *r = NULL;
   
  -if (endp) *endp = '\0';
  +const char *err = check_cmd_context(cmd, 
NOT_IN_DIR_LOC_FILE|NOT_IN_LIMIT);
  +if (err != NULL) return err;
   
  

cvs commit: apachen/htdocs/manual/mod mod_usertrack.html

1997-11-11 Thread marc
marc97/11/11 14:47:40

  Modified:htdocs/manual/mod mod_usertrack.html
  Log:
  Clarify use of textual strings for expiry times.
  
  PR: 1397
  
  Revision  ChangesPath
  1.12  +3 -1  apachen/htdocs/manual/mod/mod_usertrack.html
  
  Index: mod_usertrack.html
  ===
  RCS file: /export/home/cvs/apachen/htdocs/manual/mod/mod_usertrack.html,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- mod_usertrack.html1997/06/04 16:14:24 1.11
  +++ mod_usertrack.html1997/11/11 22:47:40 1.12
  @@ -62,7 +62,9 @@
   by the usertrack module. The iexpiry-period/i can be given either
   as a number of seconds, or in the format such as 2 weeks 3 days 7
   hours.  Valid denominations are: years, months, weeks, hours, minutes
  -and seconds.
  +and seconds.  If the expiry time is in any format other than one
  +number indicating the number of seconds, it must be enclosed by
  +double quotes.
   
   pIf this directive is not used, cookies last only for the current
   browser session./p
  
  
  


cvs commit: apachen/src/main http_main.c

1997-11-11 Thread martin
martin  97/11/11 14:50:15

  Modified:src/main http_main.c
  Log:
  Show Compile Time Settings -- first committed version.  A new switch -V
  (in contrast to the existing switch -v with lower-case-v) shows (some
  of) the relevant compiler defines which influence Apache's behavior at
  run time. More diags may be added later, as may the optimization of
  several strings into one.
  Reviewed by:Dean Gaudet, Jim Jagielski, Ken Coar
  
  Revision  ChangesPath
  1.248 +76 -2 apachen/src/main/http_main.c
  
  Index: http_main.c
  ===
  RCS file: /home/cvs/apachen/src/main/http_main.c,v
  retrieving revision 1.247
  retrieving revision 1.248
  diff -u -u -r1.247 -r1.248
  --- http_main.c   1997/11/08 19:19:15 1.247
  +++ http_main.c   1997/11/11 22:50:13 1.248
  @@ -3194,6 +3194,72 @@
   }
   
   
  +static void show_compile_settings(void)
  +{
  +#ifdef SERVER_SUBVERSION
  +printf(Server base version: \%s\\n, SERVER_BASEVERSION);
  +printf(Server sub-version:  \%s\\n, SERVER_SUBVERSION);
  +#else
  +printf(Server version \%s\\n, SERVER_VERSION);
  +#endif
  +printf(Server built:  %s\n, SERVER_BUILT);
  +printf(Server compiled with\n);
  +#ifdef BIG_SECURITY_HOLE
  +printf( -D BIG_SECURITY_HOLE\n);
  +#endif
  +#ifdef HTTPD_ROOT
  +printf( -D HTTPD_ROOT=\ HTTPD_ROOT \\n);
  +#endif
  +#ifdef HAVE_MMAP
  +printf( -D HAVE_MMAP\n);
  +#endif
  +#ifdef HAVE_SHMGET
  +printf( -D HAVE_SHMGET\n);
  +#endif
  +#ifdef USE_MMAP_FILES
  +printf( -D USE_MMAP_FILES\n);
  +#ifdef MMAP_SEGMENT_SIZE
  + printf( -D MMAP_SEGMENT_SIZE=%ld\n,(long)MMAP_SEGMENT_SIZE);
  +#endif
  +#endif /*USE_MMAP_FILES*/
  +#ifdef NO_WRITEV
  +printf( -D NO_WRITEV\n);
  +#endif
  +#ifdef NO_LINGCLOSE
  +printf( -D NO_LINGCLOSE\n);
  +#endif
  +#ifdef USE_FCNTL_SERIALIZED_ACCEPT
  +printf( -D USE_FCNTL_SERIALIZED_ACCEPT\n);
  +#endif
  +#ifdef USE_FLOCK_SERIALIZED_ACCEPT
  +printf( -D USE_FLOCK_SERIALIZED_ACCEPT\n);
  +#endif
  +#ifdef USE_USLOCK_SERIALIZED_ACCEPT
  +printf( -D USE_USLOCK_SERIALIZED_ACCEPT\n);
  +#endif
  +#ifdef USE_SYSVSEM_SERIALIZED_ACCEPT
  +printf( -D USE_SYSVSEM_SERIALIZED_ACCEPT\n);
  +#endif
  +#ifdef USE_PTHREAD_SERIALIZED_ACCEPT
  +printf( -D USE_PTHREAD_SERIALIZED_ACCEPT\n);
  +#endif
  +#ifdef SAFE_UNSERIALIZED_ACCEPT
  +printf( -D SAFE_UNSERIALIZED_ACCEPT\n);
  +#endif
  +#ifdef NO_OTHER_CHILD
  +printf( -D NO_OTHER_CHILD\n);
  +#endif
  +#ifdef NO_RELIABLE_PIPED_LOGS
  +printf( -D NO_RELIABLE_PIPED_LOGS\n);
  +#endif
  +#ifdef BUFFERED_LOGS
  +printf( -D BUFFERED_LOGS\n);
  +#ifdef PIPE_BUF
  + printf( -D PIPE_BUF=%ld\n,(long)PIPE_BUF);
  +#endif
  +#endif
  +printf(\n);
  +}
   
   /*
* Executive routines.
  @@ -3456,7 +3522,7 @@
   
   setup_prelinked_modules();
   
  -while ((c = getopt(argc, argv, Xd:f:vhlZ:)) != -1) {
  +while ((c = getopt(argc, argv, Xd:f:vVhlZ:)) != -1) {
switch (c) {
case 'd':
strncpy(server_root, optarg, sizeof(server_root) - 1);
  @@ -3468,6 +3534,10 @@
break;
case 'v':
printf(Server version %s.\n, SERVER_VERSION);
  + printf(Server built:  %s\n, SERVER_BUILT);
  + exit(0);
  + case 'V':
  + show_compile_settings();
exit(0);
case 'h':
show_directives();
  @@ -4250,7 +4320,7 @@
   
   setup_prelinked_modules();
   
  -while ((c = getopt(argc, argv, Xd:f:vhlc:ius)) != -1) {
  +while ((c = getopt(argc, argv, Xd:f:vVhlc:ius)) != -1) {
switch (c) {
   #ifdef WIN32
case 'c':
  @@ -4281,6 +4351,10 @@
break;
case 'v':
printf(Server version %s.\n, SERVER_VERSION);
  + printf(Server built:  %s\n, SERVER_BUILT);
  + exit(0);
  + case 'V':
  + show_compile_settings();
exit(0);
case 'h':
show_directives();
  
  
  


cvs commit: apachen/src/main conf.h

1997-11-11 Thread martin
martin  97/11/11 15:04:16

  Modified:src/main conf.h
  Log:
  Add missings prototypes for SUNOS_LIB_PROTOTYPES: fgetc(), fgets() were
  missing but needed by util.c
  
  Revision  ChangesPath
  1.157 +2 -0  apachen/src/main/conf.h
  
  Index: conf.h
  ===
  RCS file: /home/cvs/apachen/src/main/conf.h,v
  retrieving revision 1.156
  retrieving revision 1.157
  diff -u -u -r1.156 -r1.157
  --- conf.h1997/11/11 19:55:25 1.156
  +++ conf.h1997/11/11 23:04:15 1.157
  @@ -933,6 +933,8 @@
   int fputs(char *, FILE *);
   int fread(char *, int, int, FILE *);
   int fwrite(char *, int, int, FILE *);
  +int fgetc(FILE *);
  +char *fgets(char *s, int, FILE*);
   int fflush(FILE *);
   int fclose(FILE *);
   int ungetc(int, FILE *);
  
  
  


cvs commit: apachen/htdocs/manual/mod core.html

1997-11-11 Thread martin
martin  97/11/11 15:11:12

  Modified:htdocs/manual sections.html
   htdocs/manual/misc known_bugs.html
   htdocs/manual/mod core.html
  Log:
  Minor Documentation Update: broken and mis-typed links, and a reference to
  a resource which is available only at http://www.apache.org/, not in the
  user's tree.
  Reviewed by:Dean Gaudet, Jim Jagielski, Ken Coar
  
  Revision  ChangesPath
  1.2   +1 -1  apachen/htdocs/manual/sections.html
  
  Index: sections.html
  ===
  RCS file: /home/cvs/apachen/htdocs/manual/sections.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- sections.html 1997/08/24 14:16:02 1.1
  +++ sections.html 1997/11/11 23:10:45 1.2
  @@ -17,7 +17,7 @@
   The sections a
   href=mod/core.html#directorycodelt;Directorygt;/code/a, a
   href=mod/core.html#locationcodelt;Locationgt;/code/a and a
  -href=mode/core.html#filescodelt;Filesgt;/code/a can contain
  +href=mod/core.html#filescodelt;Filesgt;/code/a can contain
   directives which only apply to specified directories, URLs or files
   respectively. Also htaccess files can be used inside a directory to
   apply directives to that directory. This document explains how these
  
  
  
  1.34  +1 -1  apachen/htdocs/manual/misc/known_bugs.html
  
  Index: known_bugs.html
  ===
  RCS file: /home/cvs/apachen/htdocs/manual/misc/known_bugs.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -u -r1.33 -r1.34
  --- known_bugs.html   1997/11/08 23:27:59 1.33
  +++ known_bugs.html   1997/11/11 23:11:10 1.34
  @@ -209,7 +209,7 @@
   Negotiation/A should pick the smallest variant if there
   are several that are equally acceptable. A bug in 1.2 means it no
   longer does this unless all the variants have character sets.
  -This A HREF=../../dist/contrib/patches/1.2/conneg-bug.patchpatch/A
  +This A 
HREF=http://www.apache.org/dist/contrib/patches/1.2/conneg-bug.patch;patch/A
   fixes this problem. It also fixes the problem which makes Apache
   pick the last equally acceptable variant instead of the first.
   This will be tracked as
  
  
  
  1.82  +1 -1  apachen/htdocs/manual/mod/core.html
  
  Index: core.html
  ===
  RCS file: /home/cvs/apachen/htdocs/manual/mod/core.html,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -u -r1.81 -r1.82
  --- core.html 1997/10/25 22:35:13 1.81
  +++ core.html 1997/11/11 23:11:11 1.82
  @@ -873,7 +873,7 @@
   href=#portPort/a/code directive./p
   
   ttListen/tt can be used instead of tta
  -href=bindaddressBindAddress/a/tt and ttPort/tt. It tells
  +href=#bindaddressBindAddress/a/tt and ttPort/tt. It tells
   the server to accept incoming requests on the specified port or
   address-and-port combination. If the first format is used, with a port
   number only, the server listens to the given port on all interfaces,
  
  
  


cvs commit: apachen/htdocs/manual host.html vhosts-in-depth.html virtual-host.html

1997-11-11 Thread martin
martin  97/11/11 15:51:54

  Removed: htdocs/manual host.html vhosts-in-depth.html
virtual-host.html
  Log:
  Citing Lars again:
  I think the following files need to be removed manually (they've been
  moved to the new directory):
  
   htdocs/manual/host.html
   htdocs/manual/vhosts-in-depth.html
   htdocs/manual/virtual-host.html
  
  Submitted by: Lars Eilebrecht  [EMAIL PROTECTED]
  Reviewed by:Martin Kraemer