cvs commit: apache-site/info how-to-mirror.html

1998-07-10 Thread brian
brian   98/07/09 16:29:13

  Modified:info how-to-mirror.html
  Log:
  Updated with cvsup and rsync information.
  
  Revision  ChangesPath
  1.10  +91 -36apache-site/info/how-to-mirror.html
  
  Index: how-to-mirror.html
  ===
  RCS file: /export/home/cvs/apache-site/info/how-to-mirror.html,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- how-to-mirror.html1998/06/21 23:45:51 1.9
  +++ how-to-mirror.html1998/07/09 23:29:12 1.10
  @@ -11,44 +11,102 @@
ALINK=#FF
   
   DIV ALIGN=CENTER
  -IMG
  - SRC=../images/apache_sub.gif
  - ALT=[APACHE DOCUMENTATION]
  -
  +IMG SRC=../images/apache_sub.gif ALT=[APACHE DOCUMENTATION]
   /DIV
   
   H1 ALIGN=CENTERHow to Become a Mirror of the Apache Web Site/H1
   
  +Apache has over 150 different mirror sites around the world.  If you
  +are in a part of the world which seems poory served by any existing
  +mirror, we would encourage you to set up a local mirror of the
  +www.apache.org web site for you and others in your part of the world to
  +use.  So that others may find it, we'll list it on our mirrors web
  +page, too.
  +
   H2Requirements/H2
   
  -It is easy to become a mirror.  There are only a couple of 
  -requirements:
  +We have a few requirements for those wishing to run a mirror:
   
   UL
  -  LIYou must carry the complete site.
  +  LIYou must carry the complete site, with no local changes.
 LIYou must do an update-check at least twice a week.
 LIYou must subscribe to the mailing list for mirror maintainers.
  +  LISet the configuration CODEDocumentIndex index.html/CODE.
  +  LIEnable server-side includes, i.e. CODEOptions Includes/CODE or
  +  CODEOptions IncludesNoExec/CODE.
   /UL
   
  -Note that the site, as of this writing (June 1998) is approximately 65 
megabytes.
  +Note that the site, as of this writing (June 1998) is approximately 65
  +megabytes.
   
   P
   
  -More requirements may be placed at some point in the future, but for now 
that's all there is.  There are a couple things which are highly recommended:
  +More requirements may be placed at some point in the future, but for
  +now that's all there is.  There are a couple things which are highly
  +recommended:
   
   UL
 LIRun your mirroring software between midnight and 4am Pacific Standard 
Time
 (8am-noon GMT) when traffic to www.apache.org is at its lowest.
  -  LIConsider setting up both a web site and FTP site, at least for the 
/dist
  -  directory.
  +  LIConsider also making the dist subdirectory available via FTP.  It is 
not
  +  particularly helpful to mirror the complete web site for FTP, since 
many
  +  pages use server-side includes, and directories get listed rather than 
  +  serving up index.html.
   /UL
   
  +H2Mirroring Techniques/H2
  +
  +There are a couple different ways to mirror the Apache web site.  Here
  +is the list of ways we make available, in order of decreasing preference:
  +
  +OL 
  +
  +LIUse the CVSup package.  This is a package which uses the
  +versioning scheme in CVS to determine exactly which parts of which
  +files changed between accesses, and is thus by far the most efficient
  +mechanism for transferring files.  The best place to find out more
  +about CVSup is at the CVSup FAQ, at A
  +HREF=http://www.polstra.com/projects/freeware/CVSup/faq.html;
  +http://www.polstra.com/projects/freeware/CVSup/faq.html/A.  There
  +are binaries for Linux, *BSD, Solaris, SunOS, Alpha/OSF-1, HPPA-10.20,
  +and Irix 6.
  +
  +PAfter you've set up the client binary, use the following as a supfile:
  +
  +BLOCKQUOTEPRE
  +*default host=dev.apache.org
  +*default base=(wherever you want)
  +*default prefix=(wherever you want)
  +apache-site
  +/BLOCKQUOTE/PRE
  +
  +P
  +
  +Of course, you can also fetch the Apache 1.2 and 1.3 CVS trees
  +(CODEapache-1.2/CODE or CODEapache-1.3/CODE), just the docs
  +for each of those (CODEapache-1.2-docs/CODE or
  +CODEapache-1.3-docs/CODE), the binary distributions
  +(CODEapache-dist/CODE) and even the mod_perl CVS tree
  +(CODEmodperl/CODE).  
  +
  +P
  +
  +LIUse the rsync 2.0 anonymous access option.  Rsync is similar to
  +cvsup, but (in theory) more widely ported, and uses hashes rather than
  +CVS versions to watch for differences.  You can find details on rsync
  +at A HREF=http:///samba.anu.edu.au/rsync;
  +http:///samba.anu.edu.au/rsync/A and A
  +HREF=http://sunsite.auc.dk/SunSITE/rsync;
  +http://sunsite.auc.dk/SunSITE/rsync/A.  You might want to call it
  +using the following arguments:
   
  -H2Strategy/H2
  +PULCODErsync -avz --delete --exclude incoming
  +dev.apache.org::apache-site/CODE/UL
   
  -There are a couple different ways to mirror a remote web site:
  +PYou can also just do a CODErsync dev.apache.org::/CODE to get a
  +list of rsync modules available.
   
  -UL 
  +P
   
   LIUse the A
   

cvs commit: apache-site/info how-to-mirror.html

1998-07-10 Thread dgaudet
dgaudet 98/07/09 16:36:10

  Modified:info how-to-mirror.html
  Log:
  typos
  
  Revision  ChangesPath
  1.11  +2 -2  apache-site/info/how-to-mirror.html
  
  Index: how-to-mirror.html
  ===
  RCS file: /export/home/cvs/apache-site/info/how-to-mirror.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- how-to-mirror.html1998/07/09 23:29:12 1.10
  +++ how-to-mirror.html1998/07/09 23:36:09 1.11
  @@ -94,8 +94,8 @@
   LIUse the rsync 2.0 anonymous access option.  Rsync is similar to
   cvsup, but (in theory) more widely ported, and uses hashes rather than
   CVS versions to watch for differences.  You can find details on rsync
  -at A HREF=http:///samba.anu.edu.au/rsync;
  -http:///samba.anu.edu.au/rsync/A and A
  +at A HREF=http://samba.anu.edu.au/rsync;
  +http://samba.anu.edu.au/rsync/A and A
   HREF=http://sunsite.auc.dk/SunSITE/rsync;
   http://sunsite.auc.dk/SunSITE/rsync/A.  You might want to call it
   using the following arguments:
  
  
  


cvs commit: apache-site/info how-to-mirror.html

1998-07-10 Thread dgaudet
dgaudet 98/07/09 17:11:32

  Modified:info how-to-mirror.html
  Log:
  -a is unsafe, use -rt... and include the path
  
  Revision  ChangesPath
  1.12  +2 -2  apache-site/info/how-to-mirror.html
  
  Index: how-to-mirror.html
  ===
  RCS file: /export/home/cvs/apache-site/info/how-to-mirror.html,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- how-to-mirror.html1998/07/09 23:36:09 1.11
  +++ how-to-mirror.html1998/07/10 00:11:31 1.12
  @@ -100,8 +100,8 @@
   http://sunsite.auc.dk/SunSITE/rsync/A.  You might want to call it
   using the following arguments:
   
  -PULCODErsync -avz --delete --exclude incoming
  -dev.apache.org::apache-site/CODE/UL
  +PULCODErsync -rtvz --delete --exclude incoming
  +dev.apache.org::apache-site /local/path/to/mirror/CODE/UL
   
   PYou can also just do a CODErsync dev.apache.org::/CODE to get a
   list of rsync modules available.
  
  
  


cvs commit: apache-1.3/htdocs/manual/misc FAQ.html

1998-07-10 Thread coar
coar98/07/09 17:25:36

  Modified:htdocs/manual/misc FAQ.html
  Log:
Add a note to the FAQ about increasing file descriptor limits [sic]
on Win95.  Does this have any effect on WinNT?
  
  Submitted by: The Smiths [EMAIL PROTECTED]
  Reviewed by:  Ken Coar
  
  Revision  ChangesPath
  1.123 +13 -1 apache-1.3/htdocs/manual/misc/FAQ.html
  
  Index: FAQ.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/misc/FAQ.html,v
  retrieving revision 1.122
  retrieving revision 1.123
  diff -u -r1.122 -r1.123
  --- FAQ.html  1998/07/09 22:02:54 1.122
  +++ FAQ.html  1998/07/10 00:25:35 1.123
  @@ -14,7 +14,7 @@
 !--#include virtual=header.html --
 H1 ALIGN=CENTERApache Server Frequently Asked Questions/H1
 P
  -  $Revision: 1.122 $ ($Date: 1998/07/09 22:02:54 $)
  +  $Revision: 1.123 $ ($Date: 1998/07/10 00:25:35 $)
 /P
 P
 The latest version of this FAQ is always available from the main
  @@ -909,6 +909,18 @@
   how to do this is available in the
   A HREF=perf.htmlperformance hints/A page.  There is a specific
   note for A HREF=#freebsd-setsizeFreeBSD/A below.
  +P
  +For Windows 95, try modifying your SAMPC:\CONFIG.SYS/SAMP file to
  +include a line like
  +/P
  +DL
  + DDCODEFILES=300/CODE
  + /DD
  +/DL
  +P
  +Remember that you'll need to reboot your Windows 95 system in order
  +for the new value to take effect.
  +/P
  /LI
  LIquot;Don't do thatquot; - try to run with fewer virtual hosts
  /LI
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_setenvif.c

1998-07-10 Thread coar
coar98/07/09 17:54:18

  Modified:src/modules/standard mod_setenvif.c
  Log:
Yes, I know this is style-guide/indent stuff, but I'm tracking down
a possible bug and want to have a clean basis for any changes.  I.e.,
I'm not just being capricious..
  
  Revision  ChangesPath
  1.24  +31 -27apache-1.3/src/modules/standard/mod_setenvif.c
  
  Index: mod_setenvif.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_setenvif.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- mod_setenvif.c1998/06/27 18:09:33 1.23
  +++ mod_setenvif.c1998/07/10 00:54:17 1.24
  @@ -158,21 +158,21 @@
   sei_cfg_rec *base = basev, *overrides = overridesv;
   
   a-conditionals = ap_append_arrays(p, base-conditionals,
  -overrides-conditionals);
  +overrides-conditionals);
   return a;
   }
   
  -/* any non-NULL magic constant will do... used to indicate if REG_ICASE 
should be
  - * used */
  +/* any non-NULL magic constant will do... used to indicate if REG_ICASE 
should
  + * be used */
   #define ICASE_MAGIC  ((void *)(setenvif_module))
   
   static const char *add_setenvif_core(cmd_parms *cmd, void *mconfig,
  -char *fname, const char *args)
  +  char *fname, const char *args)
   {
   char *regex;
   const char *feature;
   sei_cfg_rec *sconf = ap_get_module_config(cmd-server-module_config,
  -   setenvif_module);
  +   setenvif_module);
   sei_entry *new, *entries = (sei_entry *) sconf-conditionals-elts;
   char *var;
   int i;
  @@ -183,7 +183,7 @@
   regex = ap_getword_conf(cmd-pool, args);
   if (!*regex) {
   return ap_pstrcat(cmd-pool, Missing regular expression for ,
  -cmd-cmd-name, NULL);
  +   cmd-cmd-name, NULL);
   }
   
   /*
  @@ -217,11 +217,11 @@
new-regex = regex;
new-icase = icase;
new-preg = ap_pregcomp(cmd-pool, regex,
  - (REG_EXTENDED | REG_NOSUB
  - | (icase ? REG_ICASE : 0)));
  + (REG_EXTENDED | REG_NOSUB
  +  | (icase ? REG_ICASE : 0)));
if (new-preg == NULL) {
return ap_pstrcat(cmd-pool, cmd-cmd-name,
  -  regex could not be compiled., NULL);
  +regex could not be compiled., NULL);
}
new-features = ap_make_table(cmd-pool, 2);
   
  @@ -248,10 +248,11 @@
new = entries[i];
   }
   
  -for (;;) {
  +for ( ; ; ) {
feature = ap_getword_conf(cmd-pool, args);
  - if(!*feature)
  + if (!*feature) {
break;
  + }
   beenhere++;
   
   var = ap_getword(cmd-pool, feature, '=');
  @@ -268,13 +269,14 @@
   
   if (!beenhere) {
   return ap_pstrcat(cmd-pool, Missing envariable expression for ,
  -cmd-cmd-name, NULL);
  +   cmd-cmd-name, NULL);
   }
   
   return NULL;
   }
   
  -static const char *add_setenvif(cmd_parms *cmd, void *mconfig, const char 
*args)
  +static const char *add_setenvif(cmd_parms *cmd, void *mconfig,
  + const char *args)
   {
   char *fname;
   
  @@ -282,7 +284,7 @@
   fname = ap_getword_conf(cmd-pool, args);
   if (!*fname) {
   return ap_pstrcat(cmd-pool, Missing header-field name for ,
  -cmd-cmd-name, NULL);
  +   cmd-cmd-name, NULL);
   }
   return add_setenvif_core(cmd, mconfig, fname, args);
   }
  @@ -299,28 +301,30 @@
   
   static const command_rec setenvif_module_cmds[] =
   {
  -{SetEnvIf, add_setenvif, NULL,
  - RSRC_CONF, RAW_ARGS, A header-name, regex and a list of variables.},
  -{SetEnvIfNoCase, add_setenvif, ICASE_MAGIC,
  - RSRC_CONF, RAW_ARGS, a header-name, regex and a list of variables.},
  -{BrowserMatch, add_browser, NULL,
  - RSRC_CONF, RAW_ARGS, A browser regex and a list of variables.},
  -{BrowserMatchNoCase, add_browser, ICASE_MAGIC,
  - RSRC_CONF, RAW_ARGS, A browser regex and a list of variables.},
  -{NULL},
  +{ SetEnvIf, add_setenvif, NULL,
  +  RSRC_CONF, RAW_ARGS, A header-name, regex and a list of variables. },
  +{ SetEnvIfNoCase, add_setenvif, ICASE_MAGIC,
  +  RSRC_CONF, RAW_ARGS, a header-name, regex and a list of variables. },
  +{ BrowserMatch, add_browser, NULL,
  +  RSRC_CONF, RAW_ARGS, A browser regex and a list of variables. },
  +{ BrowserMatchNoCase, add_browser, ICASE_MAGIC,
  +  RSRC_CONF, RAW_ARGS, A browser regex and a list of variables. },
  +{ NULL },
   

cvs commit: apache-site/info how-to-mirror.html

1998-07-10 Thread brian
brian   98/07/09 18:19:18

  Modified:info how-to-mirror.html
  Log:
  1) forgot a line in the default config file
  2) define a new cvsup module, which includes everything on the web site;
 the module apache-site didn't have the documentation tree or the dist/
 directory.
  
  Revision  ChangesPath
  1.13  +2 -1  apache-site/info/how-to-mirror.html
  
  Index: how-to-mirror.html
  ===
  RCS file: /export/home/cvs/apache-site/info/how-to-mirror.html,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- how-to-mirror.html1998/07/10 00:11:31 1.12
  +++ how-to-mirror.html1998/07/10 01:19:14 1.13
  @@ -77,7 +77,8 @@
   *default host=dev.apache.org
   *default base=(wherever you want)
   *default prefix=(wherever you want)
  -apache-site
  +*default release=cvs
  +apache-fullsite
   /BLOCKQUOTE/PRE
   
   P
  
  
  


cvs commit: apache-site/mirrors mirrors.list index.html

1998-07-10 Thread brian
brian   98/07/09 20:17:04

  Modified:mirrors  mirrors.list index.html
  Log:
  More mirrors.  I think 179 is enough now, don't you?  :)
  
  Revision  ChangesPath
  1.53  +8 -0  apache-site/mirrors/mirrors.list
  
  Index: mirrors.list
  ===
  RCS file: /export/home/cvs/apache-site/mirrors/mirrors.list,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- mirrors.list  1998/07/07 22:57:09 1.52
  +++ mirrors.list  1998/07/10 03:17:03 1.53
  @@ -58,6 +58,7 @@
   http pt  http://ftp.dei.uc.pt/apache/[EMAIL PROTECTED]
   http pt  http://linux.ispgaya.pt/apache/ [EMAIL PROTECTED]
   http ro  http://www.utt.ro/ftp/pub/packages/apache/  [EMAIL 
PROTECTED]
  +http ro  http://apache.logicnet.ro/  [EMAIL PROTECTED]
   http ru  http://www.module.vympel.msk.ru/mirror/apache/  [EMAIL 
PROTECTED]
   http ru  http://apache.inf.ru/   [EMAIL PROTECTED]
   http ru  http://apache.nobreak.com/  [EMAIL PROTECTED]
  @@ -81,6 +82,7 @@
   http co.uk   http://www.domino.org/apache/   ?
   http co.uk   http://www.gbnet.net/apache/[EMAIL PROTECTED]
   http co.uk   http://www.flirble.org/apache/  [EMAIL PROTECTED]
  +http uk  http://www.apache.org.uk/   [EMAIL PROTECTED]
   http us  http://www.rge.com/pub/infosystems/apache/  [EMAIL 
PROTECTED]
   http us  http://apache.compuex.com/  [EMAIL PROTECTED]
   http us  http://apache.arctic.org/   [EMAIL PROTECTED]   San 
Francisco [BBN/ATamp;T, MCI, Sprint]
  @@ -93,6 +95,9 @@
   http us  http://apache.raver.net/[EMAIL PROTECTED]
   http us  http://www3.service.digital.com/apache/ [EMAIL PROTECTED]
   http us  http://apache.dreamcatchers.net/[EMAIL PROTECTED]   
Boston [UUNet]
  +http us  http://galileo.galilei.com/apache/
  +http us  http://www.maximpact.net/apache/[EMAIL PROTECTED]
  +http us  http://apache.bot-shells.com/dist/  [EMAIL PROTECTED]
   http yu  http://www.fon.bg.ac.yu/mirror/apache/  [EMAIL PROTECTED]
   http za  http://apache.is.co.za/ [EMAIL PROTECTED]
   ftp  ar  ftp://ftp.infoap.com.ar/pub/apache/dist/
  @@ -147,6 +152,7 @@
   ftp  ro  ftp://ftp.dntis.ro/pub/mirrors/www.apache.org/apache/dist/
   ftp  ro  ftp://ftp.utt.ro/pub/packages/apache/dist/
   ftp  ro  ftp://ftp.kappa.ro/pub/mirrors/mirrors-1/ftp.apache.org/apache/ 
[EMAIL PROTECTED]
  +ftp  ro  ftp://apache.logicnet.ro/pub/www.apache.org/
   ftp  ru  ftp://ftp.module.vympel.msk.ru/pub/www/apache_mirror/dist/
   ftp  ru  ftp://ftp.citycat.ru/pub/apache/dist/
   ftp  sk  ftp://sunsite.uakom.sk/pub/WWW/apache/dist/
  @@ -167,5 +173,7 @@
   ftp  us  ftp://apache.technomancer.com/mirrors/apache/dist/
   ftp  us  ftp://ftp.raver.net/pub/ftp.apache.org/dist/
   ftp  us  ftp://www3.service.digital.com/apache/dist/
  +ftp  us  ftp://galileo.galilei.com/pub/apache/
   ftp  za  ftp://ftp.is.co.za/internet/www/servers/apache/
   ftp  za  ftp://ftpza.co.za/mirrors/apache/
  +ftp  za  ftp://ftp.saix.net/pub/apache/
  
  
  
  1.41  +16 -0 apache-site/mirrors/index.html
  
  Index: index.html
  ===
  RCS file: /export/home/cvs/apache-site/mirrors/index.html,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- index.html1998/07/07 22:57:09 1.40
  +++ index.html1998/07/10 03:17:04 1.41
  @@ -143,6 +143,8 @@
   !-- [EMAIL PROTECTED] --
   A HREF=http://www.utt.ro/ftp/pub/packages/apache/;ro/A -
   !-- [EMAIL PROTECTED] --
  +A HREF=http://apache.logicnet.ro/;ro/A -
  +!-- [EMAIL PROTECTED] --
   A HREF=http://www.module.vympel.msk.ru/mirror/apache/;ru/A -
   !-- [EMAIL PROTECTED] --
   A HREF=http://apache.inf.ru/;ru/A -
  @@ -189,6 +191,8 @@
   !-- [EMAIL PROTECTED] --
   A HREF=http://www.flirble.org/apache/;co.uk/A -
   !-- [EMAIL PROTECTED] --
  +A HREF=http://www.apache.org.uk/;uk/A -
  +!-- [EMAIL PROTECTED] --
   A HREF=http://www.rge.com/pub/infosystems/apache/;us/A -
   !-- [EMAIL PROTECTED] --
   A HREF=http://apache.compuex.com/;us/A -
  @@ -213,6 +217,12 @@
   !-- [EMAIL PROTECTED] --
   A HREF=http://apache.dreamcatchers.net/;us/A -
   !-- [EMAIL PROTECTED] --
  +A HREF=http://galileo.galilei.com/apache/;us/A -
  +!--  --
  +A HREF=http://www.maximpact.net/apache/;us/A -
  +!-- [EMAIL PROTECTED] --
  +A HREF=http://apache.bot-shells.com/dist/;us/A -
  +!-- [EMAIL PROTECTED] --
   A HREF=http://www.fon.bg.ac.yu/mirror/apache/;yu/A -
   !-- [EMAIL PROTECTED] --
   A HREF=http://apache.is.co.za/;za/A -
  @@ -326,6 +336,8 @@
   !--  --
   A 
HREF=ftp://ftp.kappa.ro/pub/mirrors/mirrors-1/ftp.apache.org/apache/;ro/A -
   !-- [EMAIL PROTECTED] --
  +A 

cvs commit: apache-1.3/src/main http_core.c

1998-07-10 Thread marc
marc98/07/09 22:44:46

  Modified:src/main http_core.c
  Log:
  Warn that StartServers does nothing on Win32 instead of just ignoring
  it.
  
  Revision  ChangesPath
  1.210 +4 -0  apache-1.3/src/main/http_core.c
  
  Index: http_core.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/http_core.c,v
  retrieving revision 1.209
  retrieving revision 1.210
  diff -u -r1.209 -r1.210
  --- http_core.c   1998/07/07 04:06:21 1.209
  +++ http_core.c   1998/07/10 05:44:46 1.210
  @@ -1853,12 +1853,16 @@
   
   static const char *set_daemons_to_start(cmd_parms *cmd, void *dummy, char 
*arg) 
   {
  +#ifdef WIN32
  +fprintf(stderr, WARNING: StartServers has no effect on Win32\n);
  +#else
   const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
   if (err != NULL) {
   return err;
   }
   
   ap_daemons_to_start = atoi(arg);
  +#endif
   return NULL;
   }
   
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_auth.c

1998-07-10 Thread marc
marc98/07/09 23:33:25

  Modified:src/modules/standard mod_auth.c
  Log:
  Add a warning if a valid user that enters a proper password fails
  to get access to a directory because they aren't in the list of
  those allowed access.
  
  Revision  ChangesPath
  1.38  +6 -0  apache-1.3/src/modules/standard/mod_auth.c
  
  Index: mod_auth.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_auth.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- mod_auth.c1998/07/03 22:08:49 1.37
  +++ mod_auth.c1998/07/10 06:33:24 1.38
  @@ -292,6 +292,12 @@
   if (!(sec-auth_authoritative))
return DECLINED;
   
  +ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r-server,
  + access to %s failed for %s, reason: user %s not allowed access,
  + r-uri,
  + ap_get_remote_host(r-connection, r-per_dir_config, REMOTE_NAME),
  + user);
  + 
   ap_note_basic_auth_failure(r);
   return AUTH_REQUIRED;
   }
  
  
  


cvs commit: apache-1.3/src/main util_script.c

1998-07-10 Thread marc
marc98/07/10 01:33:36

  Modified:src/main util_script.c
  Log:
  Logging that scripts aren't executable on Win32 if we can't figure
  out how is good; telling people the most probable cause (ie. lack of
  #! in a script) is even better.
  
  Revision  ChangesPath
  1.122 +4 -2  apache-1.3/src/main/util_script.c
  
  Index: util_script.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/util_script.c,v
  retrieving revision 1.121
  retrieving revision 1.122
  diff -u -r1.121 -r1.122
  --- util_script.c 1998/07/08 17:47:06 1.121
  +++ util_script.c 1998/07/10 08:33:36 1.122
  @@ -853,8 +853,10 @@
* file this is by now..
*/
   if (!is_exe  !is_script  !is_binary) {
  -ap_log_error(APLOG_MARK, APLOG_ERR, r-server,
  -  %s is not executable, r-filename);
  +ap_log_error(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, r-server,
  + %s is not executable; ensure interpreted scripts have 
  + \#!\ first line, 
  + r-filename);
   return (pid);
}
   
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_setenvif.c

1998-07-10 Thread coar
coar98/07/10 05:58:56

  Modified:src  CHANGES
   src/modules/standard mod_setenvif.c
  Log:
Make mod_setenvif work like mod_rewrite - namely, let it use
^$ to match missing fields.
  
  Revision  ChangesPath
  1.957 +3 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.956
  retrieving revision 1.957
  diff -u -r1.956 -r1.957
  --- CHANGES   1998/07/09 20:37:12 1.956
  +++ CHANGES   1998/07/10 12:58:54 1.957
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3.1
   
  +  *) mod_setenvif (BrowserMatch* and friends) will now match a missing
  + field with ^$.  [Ken Coar]
  +
 *) Cache a proxied request in the event that the client cancels the
transfer, provided that the configured percentage of the file has
already been transfered. It works for http transfers only.  The 
  
  
  
  1.25  +10 -3 apache-1.3/src/modules/standard/mod_setenvif.c
  
  Index: mod_setenvif.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_setenvif.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- mod_setenvif.c1998/07/10 00:54:17 1.24
  +++ mod_setenvif.c1998/07/10 12:58:56 1.25
  @@ -163,7 +163,8 @@
   }
   
   /* any non-NULL magic constant will do... used to indicate if REG_ICASE 
should
  - * be used */
  + * be used
  + */
   #define ICASE_MAGIC  ((void *)(setenvif_module))
   
   static const char *add_setenvif_core(cmd_parms *cmd, void *mconfig,
  @@ -360,8 +361,14 @@
}
   }
   
  -if (!val) {
  -continue;
  + /*
  +  * A NULL value indicates that the header field or special entity
  +  * wasn't present or is undefined.  Represent that as an empty string
  +  * so that REs like ^$ will work and allow envariable setting
  +  * based on missing or empty field.
  +  */
  +if (val == NULL) {
  +val = ;
   }
   
   if (!regexec(b-preg, val, 0, NULL, 0)) {
  
  
  


cvs commit: apache-1.3/htdocs/manual/mod mod_mime.html

1998-07-10 Thread coar
coar98/07/10 06:33:10

  Modified:htdocs/manual/mod mod_mime.html
  Log:
Add a missing 'Override' clause.
  
  PR:   2582
  Submitted by: Andrew Gillespie [EMAIL PROTECTED]
  Reviewed by:  Ken Coar
  
  Revision  ChangesPath
  1.22  +4 -0  apache-1.3/htdocs/manual/mod/mod_mime.html
  
  Index: mod_mime.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/mod/mod_mime.html,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- mod_mime.html 1998/05/20 14:12:58 1.21
  +++ mod_mime.html 1998/07/10 13:33:09 1.22
  @@ -144,6 +144,10 @@
REL=Help
   STRONGContext:/STRONG/A server config, virtual host, directory, 
.htaccessBR
   A
  + HREF=directive-dict.html#Override
  + REL=Help
  +STRONGOverride:/STRONG/A FileInfoBR
  +A
HREF=directive-dict.html#Status
REL=Help
   STRONGStatus:/STRONG/A BaseBR
  
  
  


cvs commit: apache-1.3/src/os/unix os.c os.h

1998-07-10 Thread rasmus
rasmus  98/07/10 11:29:52

  Modified:src  CHANGES
   src/os/unix os.c os.h
  Log:
  Set the RTLD_GLOBAL dlopen mode parameter to allow dynamically loaded
  modules to load their own modules dynamically.  This improves mod_perl
  and mod_php3 when these modules are loaded dynamically into Apache.
  
  Revision  ChangesPath
  1.958 +5 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.957
  retrieving revision 1.958
  diff -u -r1.957 -r1.958
  --- CHANGES   1998/07/10 12:58:54 1.957
  +++ CHANGES   1998/07/10 18:29:45 1.958
  @@ -270,6 +270,11 @@
log the current cache usage percentage at LogLevel debug
[Martin Kraemer, based on discussion between Dean Gaudet  Dirk 
vanGulik]
   
  +  *) Set the RTLD_GLOBAL dlopen mode parameter to allow dynamically loaded
  + modules to load their own modules dynamically.  This improves mod_perl
  + and mod_php3 when these modules are loaded dynamically into Apache.
  + [Rasmus Lerdorf]
  +
   Changes with Apache 1.3.0
   
 *) Using a type map file as a custom error document was not possible.
  
  
  
  1.12  +2 -2  apache-1.3/src/os/unix/os.c
  
  Index: os.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/os/unix/os.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- os.c  1998/04/28 08:42:11 1.11
  +++ os.c  1998/07/10 18:29:50 1.12
  @@ -35,9 +35,9 @@
   #else
   #if defined(OSF1) ||\
   (defined(__FreeBSD_version)  (__FreeBSD_version = 22))
  -return dlopen((char *)path, RTLD_NOW);
  +return dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
   #else
  -return dlopen(path, RTLD_NOW);
  +return dlopen(path, RTLD_NOW | RTLD_GLOBAL);
   #endif
   #endif
   }
  
  
  
  1.26  +4 -0  apache-1.3/src/os/unix/os.h
  
  Index: os.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/os/unix/os.h,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- os.h  1998/07/06 11:54:30 1.25
  +++ os.h  1998/07/10 18:29:51 1.26
  @@ -120,6 +120,10 @@
   #define RTLD_NOW 1
   #endif
   
  +#ifndef RTLD_GLOBAL
  +#define RTLD_GLOBAL 0
  +#endif
  +
   #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
   #define DLSYM_NEEDS_UNDERSCORE
   #endif