cvs commit: apache-site/info how-to-mirror.html
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. You might want to call it using the following arguments: -rsync -avz --delete --exclude incoming -dev.apache.org::apache-site +rsync -rtvz --delete --exclude incoming +dev.apache.org::apache-site /local/path/to/mirror You can also just do a rsync dev.apache.org:: to get a list of rsync modules available.
cvs commit: apache-1.3/htdocs/manual/misc FAQ.html
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 @@ Apache Server Frequently Asked Questions - $Revision: 1.122 $ ($Date: 1998/07/09 22:02:54 $) + $Revision: 1.123 $ ($Date: 1998/07/10 00:25:35 $) The latest version of this FAQ is always available from the main @@ -909,6 +909,18 @@ how to do this is available in the performance hints page. There is a specific note for FreeBSD below. + +For Windows 95, try modifying your C:\CONFIG.SYS file to +include a line like + + + FILES=300 + + + +Remember that you'll need to reboot your Windows 95 system in order +for the new value to take effect. + "Don't do that" - try to run with fewer virtual hosts
cvs commit: apache-1.3/src/modules/standard mod_setenvif.c
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, + RS
cvs commit: apache-site/info how-to-mirror.html
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
cvs commit: apache-site/mirrors mirrors.list index.html
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/AT&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 @@ http://www.utt.ro/ftp/pub/packages/apache/";>ro - +http://apache.logicnet.ro/";>ro - + http://www.module.vympel.msk.ru/mirror/apache/";>ru - http://apache.inf.ru/";>ru - @@ -189,6 +191,8 @@ http://www.flirble.org/apache/";>co.uk - +http://www.apache.org.uk/";>uk - + http://www.rge.com/pub/infosystems/apache/";>us - http://apache.compuex.com/";>us - @@ -213,6 +217,12 @@ http://apache.dreamcatchers.net/";>us - +http://galileo.galilei.com/apache/";>us - + +http://www.maximpact.net/apache/";>us - + +http://apache.bot-shells.com/dist/";>us - + http://www.fon.bg.ac.yu/mirror/apache/";>yu - http://apache.is.co.za/";>za - @@ -326,6 +336,8 @@ ftp://ftp.kappa.ro/pub/mirrors/mirrors-1/ftp.apache.org/apache/";>ro - +ftp://apache.logicnet.ro/pub/www.apache.org/";>ro - + ftp://ftp.module.vympel.msk.ru/pub/www/apache_mirror/dist/";>ru - ftp://ftp.citycat.ru/pub/apache/dist/";>ru - @@ -366,9 +378,13 @@ ftp://www3.service.digital.com/apache/dist/";>us - +ftp://galileo.galilei.com/pub/apache/";>us - + ftp://ftp.is.co.za/internet/www/servers/apache/";>za - ftp://ftpza.co.za/mirrors/apache/";>za - + +ftp://ftp.saix.net/pub/apache/";>za -
cvs commit: apache-1.3/src/main http_core.c
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
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
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
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
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" >Context: server config, virtual host, directory, .htaccess Override: FileInfo +Status: Base
cvs commit: apache-1.3/src/os/unix os.c os.h
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