]> granicus.if.org Git - apache/log
apache
24 years agoignore the intermediate build files.
Ryan Bloom [Thu, 27 Apr 2000 17:55:12 +0000 (17:55 +0000)]
ignore the intermediate build files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85058 13f79535-47bb-0310-9956-ffa450edef68

24 years agoEliminate redundant calls to initialize the Winsock.
Bill Stoddard [Thu, 27 Apr 2000 14:59:50 +0000 (14:59 +0000)]
Eliminate redundant calls to initialize the Winsock.

Submitted by: Tim Costello

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85057 13f79535-47bb-0310-9956-ffa450edef68

24 years agofix path to mm's configure.in
Jeff Trawick [Thu, 27 Apr 2000 11:30:35 +0000 (11:30 +0000)]
fix path to mm's configure.in
fix aclocal.m4's dependencies
Submitted by: Sascha Schumann <sascha@schumann.cx>
Reviewed by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85056 13f79535-47bb-0310-9956-ffa450edef68

24 years agoI have merged the two ab files together, the one from src/support and
Ryan Bloom [Thu, 27 Apr 2000 05:56:41 +0000 (05:56 +0000)]
I have merged the two ab files together, the one from src/support and
src/lib/apr/test.  This means that the ab program in the support
directory is now portable using APR.  This has only gone through the
barest of testing, and needs to be tested much better.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85055 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix some compile breaks in the support directory. These have not been
Ryan Bloom [Thu, 27 Apr 2000 04:22:57 +0000 (04:22 +0000)]
Fix some compile breaks in the support directory.  These have not been
tested, but they do compile at least.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85054 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd the support directory back into the build process.
Ryan Bloom [Thu, 27 Apr 2000 04:21:21 +0000 (04:21 +0000)]
Add the support directory back into the build process.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85053 13f79535-47bb-0310-9956-ffa450edef68

24 years agoreport dso_error if any
Doug MacEachern [Thu, 27 Apr 2000 04:15:48 +0000 (04:15 +0000)]
report dso_error if any

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85052 13f79535-47bb-0310-9956-ffa450edef68

24 years agoA bit of mod_file_cache cleanup. Eliminate mmap_static specific code, etc,
Bill Stoddard [Thu, 27 Apr 2000 03:55:57 +0000 (03:55 +0000)]
A bit of mod_file_cache cleanup. Eliminate mmap_static specific code, etc,

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85051 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix the progname stuff to work the same way the rest of the configure
Ryan Bloom [Wed, 26 Apr 2000 21:08:26 +0000 (21:08 +0000)]
Fix the progname stuff to work the same way the rest of the configure
scheme works.
Submitted by: Sascha Schumann
Reviewed by: Ryan Bloom

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85050 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSome windows tweaks to the default configuration, including providing
Bill Stoddard [Wed, 26 Apr 2000 20:02:11 +0000 (20:02 +0000)]
Some windows tweaks to the default configuration, including providing
a default ServerName of 127.0.0.1, including the new auth digest and
file cache module LoadModuleDirectives, et. al.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85049 13f79535-47bb-0310-9956-ffa450edef68

24 years agoIncrease the default NumSIG value from 32 to 33 on behalf of
Jeff Trawick [Wed, 26 Apr 2000 14:54:57 +0000 (14:54 +0000)]
Increase the default NumSIG value from 32 to 33 on behalf of
OS/390.  unix_siglist_init() will now blow up via ap_assert()
if NumSIG is too low.  (This is no fun to debug!)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85047 13f79535-47bb-0310-9956-ffa450edef68

24 years agoDefine HAVE_STRING_H, HAVE_STDLIB_H, HAVE_CTYPE_H, HAVE_LIMITS_H
Jeff Trawick [Wed, 26 Apr 2000 14:50:33 +0000 (14:50 +0000)]
Define HAVE_STRING_H, HAVE_STDLIB_H, HAVE_CTYPE_H, HAVE_LIMITS_H
at configure time.  Some of the modules use these.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85046 13f79535-47bb-0310-9956-ffa450edef68

24 years agoadd AP_ prefix to *HOOK* macros
Doug MacEachern [Wed, 26 Apr 2000 07:14:39 +0000 (07:14 +0000)]
add AP_ prefix to *HOOK* macros

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85045 13f79535-47bb-0310-9956-ffa450edef68

24 years agoGet rid of ap_pool_t argument on ap_strerror
Bill Stoddard [Wed, 26 Apr 2000 02:36:38 +0000 (02:36 +0000)]
Get rid of ap_pool_t argument on ap_strerror

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85044 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32: Graceful restart is working again, and better than before.
Bill Stoddard [Wed, 26 Apr 2000 00:36:49 +0000 (00:36 +0000)]
Win32: Graceful restart is working again, and better than before.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85042 13f79535-47bb-0310-9956-ffa450edef68

24 years agoIf a developer uses --with-program-name=foo, the config files are renamed
Ryan Bloom [Tue, 25 Apr 2000 23:20:36 +0000 (23:20 +0000)]
If a developer uses --with-program-name=foo, the config files are renamed
to match the name of the executable.  In this example, httpd.conf will be
renamed to foo.conf.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85041 13f79535-47bb-0310-9956-ffa450edef68

24 years agoPort a 1.3 EBCDIC fix to 2.0:
Jeff Trawick [Tue, 25 Apr 2000 23:19:15 +0000 (23:19 +0000)]
Port a 1.3 EBCDIC fix to 2.0:

This is a port of my 1.3 patch which allows error response strings to be
translated from ebcdic to ascii.  This bug is triggered by trying to
access a non-existant .gif for example.  The content type starts out
being image/gif but is switched by error processing to text/html.
Without this patch, ap_checkconv() is called too early (before the error
processing), so the ebcdic conversion flag gets turned off and the
eventual "404 Not Found" error response is sent to the browser still in
ebcdic.  Not very pretty.

Submitted by: Greg Ames
Reviewed by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85040 13f79535-47bb-0310-9956-ffa450edef68

24 years agoTell APR to truncate the httpd.pid file if it exists. Fix a bug in the
Bill Stoddard [Tue, 25 Apr 2000 23:15:46 +0000 (23:15 +0000)]
Tell APR to truncate the httpd.pid file if it exists. Fix a bug in the
Windows side of APR to correctly handle this flag. Also fix related bug
in ap_write.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85039 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMore win32 shotgunary to the windows project files and to
Bill Stoddard [Tue, 25 Apr 2000 22:33:43 +0000 (22:33 +0000)]
More win32 shotgunary to the windows project files and to
eliminate compile warnings.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85038 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32: Add htdigest
Bill Stoddard [Tue, 25 Apr 2000 22:13:16 +0000 (22:13 +0000)]
Win32: Add htdigest

Submitted by: William Rowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85037 13f79535-47bb-0310-9956-ffa450edef68

24 years agoUpdate logresolve.dsp and add to Makefile.win
Bill Stoddard [Tue, 25 Apr 2000 22:08:23 +0000 (22:08 +0000)]
Update logresolve.dsp and add to Makefile.win

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85036 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAllow the Apache-2.0 executable name to be specified with the
Ryan Bloom [Tue, 25 Apr 2000 21:29:27 +0000 (21:29 +0000)]
Allow the Apache-2.0 executable name to be specified with the
--with-program-name command line argument to configure.  This does not
change the name of the config files or anything else, yet.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85035 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSome Windows tweaks from William Rowe...
Bill Stoddard [Tue, 25 Apr 2000 21:18:04 +0000 (21:18 +0000)]
Some Windows tweaks from William Rowe...

Submitted by: William Rowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85034 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd the logresolve Windows project file
Bill Stoddard [Tue, 25 Apr 2000 19:43:57 +0000 (19:43 +0000)]
Add the logresolve Windows project file

Submitted by: William Rowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85032 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWe should be checking for apr_private.h.in and updating it from now on.
Ryan Bloom [Tue, 25 Apr 2000 19:16:36 +0000 (19:16 +0000)]
We should be checking for apr_private.h.in and updating it from now on.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85031 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32: First cut at new shutdown/restart logic. The key new feature here is
Bill Stoddard [Mon, 24 Apr 2000 22:44:21 +0000 (22:44 +0000)]
Win32: First cut at new shutdown/restart logic. The key new feature here is
the use of CancelIo on the listen socket. Threads can only cancel
their own I/O. To enable use of this nifty feature, I needed to make
sure only one thread ever initiated async I/O. So, if the workers
detect that they need more completion contexts (async AcceptExes),
they set the maintenance_event, which directs the control thread to
do the work on behalf of the workers. Most of the other changes are
to support this end.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85030 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRemove ServerType from the Windows config file
Ryan Bloom [Mon, 24 Apr 2000 20:13:35 +0000 (20:13 +0000)]
Remove ServerType from the Windows config file

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85029 13f79535-47bb-0310-9956-ffa450edef68

24 years agoChange names of strnatcmp & strnatcasecmp to cpmply with APR naming
Bill Stoddard [Mon, 24 Apr 2000 14:57:54 +0000 (14:57 +0000)]
Change names of strnatcmp & strnatcasecmp to cpmply with APR naming
conventions

Submitted by: William Rowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85028 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix compile break
Bill Stoddard [Mon, 24 Apr 2000 14:31:50 +0000 (14:31 +0000)]
Fix compile break

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85027 13f79535-47bb-0310-9956-ffa450edef68

24 years agoInclude apr_md5.h rather than the deprecated ap_md5.h. Fixes compile break.
Bill Stoddard [Mon, 24 Apr 2000 14:14:02 +0000 (14:14 +0000)]
Include apr_md5.h rather than the deprecated ap_md5.h. Fixes compile break.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85026 13f79535-47bb-0310-9956-ffa450edef68

24 years agodrop the "container" param from ap_walk_config(). callers should simply
Greg Stein [Mon, 24 Apr 2000 12:27:02 +0000 (12:27 +0000)]
drop the "container" param from ap_walk_config(). callers should simply
    pass the first child, rather than expecting the walker to do it.
remove the nasty "static" variable inside ap_walk_config(). it now walks the
    tree provided with no worries about bumping up/down levels.
minor refactor between ap_walk_config() and ap_walk_config_sub() to clean up
    some logic and clarify the code.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85025 13f79535-47bb-0310-9956-ffa450edef68

24 years agoclean up cmd_parms: config_file is no longer valid; end_token is bogus;
Greg Stein [Mon, 24 Apr 2000 12:00:43 +0000 (12:00 +0000)]
clean up cmd_parms: config_file is no longer valid; end_token is bogus;
    add directive.
move configfile_t and functions from httpd.h to http_config.h
new signature for ap_build_config() (since config_file removed from cmd_parms)
add "data" to ap_directive_t for future use by modules. add filename.
syntax checking for section-close directives: a section-open must exist,
    the section-close must be </FOO>, and the open/close must match.
    the file as a whole must be properly balanced (issue errors for each
    unmatched section-open).
</FOO> command_rec structures are obsolete. Remove from http_core.c.
do not store </FOO> directives in the config tree.
clean out section-close logic from http_core.c (and old, related comments)
<Limit> and <LimitExcept> must walk their children.
new mechanism in ap_check_cmd_context() for testing enclosure in a
    Directory/Location/File: find_parent()
<IfModule> and <IfDefine> must pass cmd->context when walking the children
several places: we had a walk followed by ap_get_module_config(). that
    assumed the walk would create a config that we could fetch, which is not
    true -- it is possible that the children are all from other modules
    (e.g. the <Files> section in httpd.conf-dist has no "core" directives).
    using ap_set_config_vectors() ensures we get a structure, and it returns
    it to us.
    [ note: when we had </Directory> (and friends) in the tree, the config
      would get created; removing the directive removed the config; this
      was a bitch to track down :-) ]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85024 13f79535-47bb-0310-9956-ffa450edef68

24 years agohandle error messages during building and processing of the configuration.
Greg Stein [Mon, 24 Apr 2000 08:35:56 +0000 (08:35 +0000)]
handle error messages during building and processing of the configuration.
add missing return statements, wrap some lines, remove unused vars.
move syntax error reporting and exit(1) back to the right place (to be
    fixed in a future pass; the exit() is inappropriate for parsing
    .htaccess files).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85023 13f79535-47bb-0310-9956-ffa450edef68

24 years agoChange strncasecmp() definition to match Bill's prototype. Fixes compile
Brian Havard [Mon, 24 Apr 2000 06:51:22 +0000 (06:51 +0000)]
Change strncasecmp() definition to match Bill's prototype. Fixes compile
break on OS/2.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85022 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd `IndexOptions +VersionSort', to nicely sort filenames
dgaudet [Mon, 24 Apr 2000 04:03:39 +0000 (04:03 +0000)]
Add `IndexOptions +VersionSort', to nicely sort filenames
containing version numbers.

Submitted by: Martin Pool <mbp@linuxcare.com.au>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85021 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFirst cut at a file handle cache. It serves on Windows and should work on
Bill Stoddard [Sun, 23 Apr 2000 17:42:22 +0000 (17:42 +0000)]
First cut at a file handle cache. It serves on Windows and should work on
Unix systems that implement sendfile.

It is still very rough around the edges (compile warnings, does an unnecessary
stat, not completely Unix friendly, leftover mod_mmap_static code, etc.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85020 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix some problems on systems where EAGAIN != EWOULDBLOCK (e.g., OS/390).
Jeff Trawick [Sun, 23 Apr 2000 13:22:08 +0000 (13:22 +0000)]
Fix some problems on systems where EAGAIN != EWOULDBLOCK (e.g., OS/390).
ap_canonical_errror() for Unix now maps EWOULDBLOCK to EAGAIN/APR_EAGAIN
when appropriate so that the changes here (as well as bjh's changes from a
few days ago) to call ap_canonical_error() before comparing with EWOULDBLOCK
will work on Unix as well.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85019 13f79535-47bb-0310-9956-ffa450edef68

24 years agoap_open(..,APR_OS_DEFAULT,..) uses perms 0666 instead of 0777 on
Jeff Trawick [Sun, 23 Apr 2000 12:24:10 +0000 (12:24 +0000)]
ap_open(..,APR_OS_DEFAULT,..) uses perms 0666 instead of 0777 on
Unix; access_log and error_log now created with these perms; non-
Unix is unaffected

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85018 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFinished move of ap_md5 routines to apr_md5. Removed ap_md5.h.
Roy T. Fielding [Sun, 23 Apr 2000 02:32:58 +0000 (02:32 +0000)]
Finished move of ap_md5 routines to apr_md5.  Removed ap_md5.h.
Replaced more magic numbers with MD5_DIGESTSIZE.  Yuck.

Submitted by: William Rowe, Roy Fielding

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85017 13f79535-47bb-0310-9956-ffa450edef68

24 years agoding, dong, ServerType is dead
Tony Finch [Sat, 22 Apr 2000 23:45:10 +0000 (23:45 +0000)]
ding, dong, ServerType is dead

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85016 13f79535-47bb-0310-9956-ffa450edef68

24 years agoParse the config tree, instead of the config file. This is a first step there
Ryan Bloom [Sat, 22 Apr 2000 22:54:30 +0000 (22:54 +0000)]
Parse the config tree, instead of the config file.  This is a first step there
are some big improvements to be made to this code, but this works now, and
it is a first step.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85015 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd ApacheModAuthDigest to apache.dsw. Get rid of compile warnings.
Bill Stoddard [Sat, 22 Apr 2000 15:44:57 +0000 (15:44 +0000)]
Add ApacheModAuthDigest to apache.dsw. Get rid of compile warnings.

Submitted by: William Rowe
Reviewed by: Bill Stoddard

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85014 13f79535-47bb-0310-9956-ffa450edef68

24 years agoServer Type is not recognized by any of the current MPMs. I am removing it
Ryan Bloom [Sat, 22 Apr 2000 00:51:02 +0000 (00:51 +0000)]
Server Type is not recognized by any of the current MPMs.  I am removing it
from the sample httpd.conf.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85013 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32: Get mod_auth_digest compiling and added to the Windows
Bill Stoddard [Fri, 21 Apr 2000 22:12:43 +0000 (22:12 +0000)]
Win32: Get mod_auth_digest compiling and added to the Windows
build environment. Not tested and I'd be suprised if it
actually works.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85012 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRemove mod_digest. Its being replaced by mod_auth_digest
Bill Stoddard [Fri, 21 Apr 2000 20:51:39 +0000 (20:51 +0000)]
Remove mod_digest. Its being replaced by mod_auth_digest

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85011 13f79535-47bb-0310-9956-ffa450edef68

24 years agoEliminate compile warning on Windows
Bill Stoddard [Fri, 21 Apr 2000 19:52:34 +0000 (19:52 +0000)]
Eliminate compile warning on Windows

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85010 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32: Update docs to reflect new build environment.
Bill Stoddard [Fri, 21 Apr 2000 13:57:43 +0000 (13:57 +0000)]
Win32: Update docs to reflect new build environment.

Submitted by: William Rowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85009 13f79535-47bb-0310-9956-ffa450edef68

24 years agofix buglet in example
dgaudet [Fri, 21 Apr 2000 03:54:38 +0000 (03:54 +0000)]
fix buglet in example

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85007 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRevamp the Win32 make environment. Makefiles have been removed and
Bill Stoddard [Thu, 20 Apr 2000 19:28:08 +0000 (19:28 +0000)]
Revamp the Win32 make environment. Makefiles have been removed and
Apache.dsw created to bring together all the pieces. Create new file
os/win32/BaseAddr.ref to define module base addresses (to prevent
dll relocation at start-up).

Submitted by: William Rowe
Reviewed by: Bill Stoddard

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85004 13f79535-47bb-0310-9956-ffa450edef68

24 years agoOS/2: EXTRA_LDFLAGS is required when linking the table generation programs.
Brian Havard [Thu, 20 Apr 2000 17:01:11 +0000 (17:01 +0000)]
OS/2: EXTRA_LDFLAGS is required when linking the table generation programs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85003 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd support for pool to log_error_core. Also add ap_log_perror to allow
Ryan Bloom [Thu, 20 Apr 2000 16:25:40 +0000 (16:25 +0000)]
Add support for pool to log_error_core.  Also add ap_log_perror to allow
logging without either a request or server _rec.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85002 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAnother required ap_canonical_error().
Brian Havard [Thu, 20 Apr 2000 16:08:07 +0000 (16:08 +0000)]
Another required ap_canonical_error().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85001 13f79535-47bb-0310-9956-ffa450edef68

24 years agoUse ap_canonical_error() where appropriate.
Brian Havard [Thu, 20 Apr 2000 15:20:33 +0000 (15:20 +0000)]
Use ap_canonical_error() where appropriate.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85000 13f79535-47bb-0310-9956-ffa450edef68

24 years agoOS/2: Clean up spmt_os2 mpm to get shutdowns working cleanly.
Brian Havard [Thu, 20 Apr 2000 14:56:36 +0000 (14:56 +0000)]
OS/2: Clean up spmt_os2 mpm to get shutdowns working cleanly.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84999 13f79535-47bb-0310-9956-ffa450edef68

24 years ago[EBCDIC] Port Paul Gilmartin's CRLF patch from 1.3. This replaces most
Jeff Trawick [Thu, 20 Apr 2000 14:36:01 +0000 (14:36 +0000)]
[EBCDIC] Port Paul Gilmartin's CRLF patch from 1.3.  This replaces most
of the \015, \012, and \015\012 constants with macros.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84998 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32: More winnt MPM cleanup. Moved code to queue acceptex completion
Bill Stoddard [Wed, 19 Apr 2000 22:35:45 +0000 (22:35 +0000)]
Win32: More winnt MPM cleanup. Moved code to queue acceptex completion
contexts to after the worker thread pool is created. Sometime over that
last month or so, we checked something in that tanked performance about 15%.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84997 13f79535-47bb-0310-9956-ffa450edef68

24 years agoProvide prototypes for the provided strcasecmp & strncasecmp.
Brian Havard [Wed, 19 Apr 2000 16:20:07 +0000 (16:20 +0000)]
Provide prototypes for the provided strcasecmp & strncasecmp.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84996 13f79535-47bb-0310-9956-ffa450edef68

24 years ago Propagate the 1.3 FAQ fixes over here..
Ken Coar [Tue, 18 Apr 2000 20:54:03 +0000 (20:54 +0000)]
Propagate the 1.3 FAQ fixes over here..

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84995 13f79535-47bb-0310-9956-ffa450edef68

24 years agothis is California. what to _you_ think the weather is?
Greg Stein [Tue, 18 Apr 2000 18:47:52 +0000 (18:47 +0000)]
this is California. what to _you_ think the weather is?

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84992 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMore FAQs and answers from comp.infosystems.www.servers.unix.
Tony Finch [Tue, 18 Apr 2000 17:52:32 +0000 (17:52 +0000)]
More FAQs and answers from comp.infosystems.www.servers.unix.
Submitted by: Joshua Slive <slive@finance.commerce.ubc.ca>
Reviewed by: Tony Finch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84991 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32: Change message type to INFO
Bill Stoddard [Tue, 18 Apr 2000 13:20:37 +0000 (13:20 +0000)]
Win32: Change message type to INFO

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84989 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWatching for tornadoes tonite
Bill Stoddard [Tue, 18 Apr 2000 03:37:20 +0000 (03:37 +0000)]
Watching for tornadoes tonite

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84988 13f79535-47bb-0310-9956-ffa450edef68

24 years agoBegin some long overdue clean-up fo winnt.c
Bill Stoddard [Tue, 18 Apr 2000 03:21:23 +0000 (03:21 +0000)]
Begin some long overdue clean-up fo winnt.c

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84987 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd logic to timeout CGI scripts properly. This requires that APR pipes
Ryan Bloom [Tue, 18 Apr 2000 00:08:30 +0000 (00:08 +0000)]
Add logic to timeout CGI scripts properly.  This requires that APR pipes
can be timed out.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84986 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd a pool to dupfile. There is no reason that when we duplicate a file, we...
Ryan Bloom [Mon, 17 Apr 2000 19:57:30 +0000 (19:57 +0000)]
Add a pool to dupfile.  There is no reason that when we duplicate a file,       we would want to use the same pool for the duplicated file as we used for
the original file.  This should solve a problem we were having with
dieing quietly on startup, because we are no longer closing stderr in the
original process and then opening the config file as file descriptor 2.

The original problem report can be found in the message
<20000311232812.A1066@sanguine.linuxcare.com.au>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84985 13f79535-47bb-0310-9956-ffa450edef68

24 years agoHey, wow! Some of the sky is blue!
Tony Finch [Mon, 17 Apr 2000 19:17:20 +0000 (19:17 +0000)]
Hey, wow! Some of the sky is blue!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84984 13f79535-47bb-0310-9956-ffa450edef68

24 years agolinkwin20.diffs Resolves:
Bill Stoddard [Mon, 17 Apr 2000 13:56:41 +0000 (13:56 +0000)]
linkwin20.diffs Resolves:

1) Explicit /base: addresses by the following table...

  Required sizes are for debug builds.  It is assumed that
  as we increase the size of aprlib, we will be trimming
  the size of ApacheCore, and the 278A0000 base can move down.

  ApacheCore.dll            27800000  80000 required

  aprlib.dll                278A0000  40000 required

  ApacheModuleAuthAnon.dsp  27900000
  ApacheModuleCERNMeta.dsp  27910000
  ApacheModuleDigest.dsp    27920000
  ApacheModuleExpires.dsp   27930000
  ApacheModuleHeaders.dsp   27940000
  ApacheModuleInfo.dll      27950000
  ApacheModuleRewrite.dsp   27960000  20000 required

  ApacheModuleSpeling.dsp   27980000
  ApacheModuleStatus.dsp    27990000
  ApacheModuleUserTrack.dsp 279A0000
  ApacheModuleProxy.dsp     279B0000  20000 anticipated

  3 slots still available   279C0000

2) Make APR consistent with the rest of the API and
   not build septypes for debugging (in other words,
   roll in the debug symbols as every other module does.)

   If we decide we LIKE /pdbtype:septypes... then we
   should be using them throughout.

3) Slide the current path specs into /libpath: options
   so the library list is more ledgible.

4) Drop all the gui crud from the library list.  Everything
   listed is referenced, with the following exceptions:

   *) don't do anything with msvcrtd/oldnames today.
   *) aprlib and ApacheCore have the same list, since functions
      may still be moving between them.
   *) apache.exe looses networking (it doesn't), while it keeps
      advapi, which I don't think it needs, but it could later.
   *) add aprlib to ApacheModuleProxy, since it will need it.
   *) hang mswsock whereever ws2_32 is invoked.  I believe
      the most special case was ApacheModuleProxy, which may
      become entirely APR.  But for today we hang onto both.

5) MAP, MAP, MAP, everything gets a map.  I for one have an
   untold number of installed OS's and boot mappings, and the
   debugger isn't installed to all of them.  We gotta be able
   to track down those renegade GP faults.  (What faults...
   I know, it's clean, but I am overly cautious that way.)

6) Set the DEFAULT linkage to be this linkage.  Because
   "it's a vc thing" the defaults were not all that
   useful as a starting point (take, for example, the
   joke of linking to the OLE libraries).

Submitted by: William Rowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84982 13f79535-47bb-0310-9956-ffa450edef68

24 years agoUpdates Makefile.win
Bill Stoddard [Mon, 17 Apr 2000 13:45:42 +0000 (13:45 +0000)]
Updates Makefile.win
1) offers a single execution list, regardless of the CTARGET.
   Sans CTARGET, it builds the default (the .exe or .dll).
   With CTARGET=CLEAN, it cleans back up.

2) To eliminate the _clean block needed to move the delete
   generated headers out of that block.  They now get wiped only
   on a full NMAKE -f makefile.win clean

3) Also threw in the _installdll cleanup with the full
   NMAKE -f makefile.win clean.

4) Added RECURSE=0, the REAL reason this patch is absolutely
   necessary.  As we start tweaking individual .dsp project files,
   we will need to prevent the makefile.win from going nuts.

5) Added a commented-out logresolve make item.

Submitted by: William Rowe
Reviewed by: Bill Stoddard

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84981 13f79535-47bb-0310-9956-ffa450edef68

24 years agoUpdate Apache on Windows documentation. Add new document
Bill Stoddard [Mon, 17 Apr 2000 13:38:13 +0000 (13:38 +0000)]
Update Apache on Windows documentation. Add new document
describing how to compile Apache on Windows.

Submitted by: William Rowe <wrowe@lnd.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84980 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd back in logic to put the ending container directive in the tree. This
Ryan Bloom [Sun, 16 Apr 2000 23:28:52 +0000 (23:28 +0000)]
Add back in logic to put the ending container directive in the tree.  This
needs to be there until we have a validating tree.  Without this, it is
possible for a config file to read:

<Ifmodule mod_foo.c>
    some directive
</Limit>

and still be read correctly.  When the tree building functions can validate
for us, this should be removed, and there is a comment that says so.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84979 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd some todos, remove some vague comments, remove items completed
Bill Stoddard [Sat, 15 Apr 2000 19:30:25 +0000 (19:30 +0000)]
Add some todos, remove some vague comments, remove items completed

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84977 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32: First cut at getting mod_isapi working under 2.0
Bill Stoddard [Sat, 15 Apr 2000 19:23:08 +0000 (19:23 +0000)]
Win32: First cut at getting mod_isapi working under 2.0

Submitted by: William Rowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84976 13f79535-47bb-0310-9956-ffa450edef68

24 years agoHere's my first stab at getting mod_auth_digest working under 2.0
Bill Stoddard [Sat, 15 Apr 2000 19:05:13 +0000 (19:05 +0000)]
Here's my first stab at getting mod_auth_digest working under 2.0

quick change summary:

 - moved the random byte generation into APR
   This patch adds ap_generate_random_bytes()
 - now uses ap_time_t
 - compiles and runs on linux
 - tested with amaya

still to do:

 - test win32 (This will have to be someone with a windows box :-)
   I think I did everything correctly.  APR_HAS_RANDOM should be defined
   on windows and there is a lib/apr/misc/win32/rand.c which is basically
   a copy of what mod_auth_digest used to use.
 - error handling cleanup
   Since there is not currently a usable ap_strerror it is commented out.
   win32 error handling is virtually non-existant.  I just don't know enough
   about win32 to touch this stuff.

Brian

Submitted by: Brian Martin
Reviewed by: Bill Stoddard (very quick review, moving in right direction)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84975 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32:
Bill Stoddard [Sat, 15 Apr 2000 17:48:16 +0000 (17:48 +0000)]
Win32:
1. Move the space stripping of physical service names
fix up from Apache 1.3.
2. #include'ing "ap_mpm.h" fixes up an unresolved symbol.
3. Add dependency checking to the CreateService call to ensure TCPIP and
AFP (winsock) is started before Apache.

Submitted by: William Rowe
Reviewed by: Bill Stoddard

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84973 13f79535-47bb-0310-9956-ffa450edef68

24 years agocleaned up a comment
Roy T. Fielding [Sat, 15 Apr 2000 01:16:44 +0000 (01:16 +0000)]
cleaned up a comment

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84971 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSomebody needs to check the labels on their medicine.
Roy T. Fielding [Sat, 15 Apr 2000 01:09:32 +0000 (01:09 +0000)]
Somebody needs to check the labels on their medicine.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84970 13f79535-47bb-0310-9956-ffa450edef68

24 years agoshades of a bad global replace --- fixed comment
Roy T. Fielding [Sat, 15 Apr 2000 00:58:18 +0000 (00:58 +0000)]
shades of a bad global replace --- fixed comment

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84969 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd buffered I/O back into APR's file I/O on unix. This code comes from
Ryan Bloom [Fri, 14 Apr 2000 23:36:12 +0000 (23:36 +0000)]
Add buffered I/O back into APR's file I/O on unix.  This code comes from
the OS/2 code, and has been munged to make it compile.  This has not been
tested, but unbuffered I/O still works.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84968 13f79535-47bb-0310-9956-ffa450edef68

24 years agoapr_config.h is a private include file, and shouldn't be used by any
Ryan Bloom [Fri, 14 Apr 2000 20:54:25 +0000 (20:54 +0000)]
apr_config.h is a private include file, and shouldn't be used by any
C files outside of APR.  ap_signal has been moved to apr.h, so this
include is no longer needed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84967 13f79535-47bb-0310-9956-ffa450edef68

24 years agoBrians' mod_auth_digest patch
Bill Stoddard [Fri, 14 Apr 2000 18:08:05 +0000 (18:08 +0000)]
Brians' mod_auth_digest patch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84966 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAllow for the possibility of receiving data regardless of the pipe
Bill Stoddard [Fri, 14 Apr 2000 17:38:14 +0000 (17:38 +0000)]
Allow for the possibility of receiving data regardless of the pipe
error condition or receiving EOF on the pipe read. This patch
assumes that a read returning APR_SUCCESS with 0 bytes read is equivalent
to an EOF.

Submitted by: Dean Gaudet
Reviewed by: Bill Stoddard

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84965 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWin32: Protect another chunk of code unique to Windows NT with an
Bill Stoddard [Fri, 14 Apr 2000 16:48:45 +0000 (16:48 +0000)]
Win32: Protect another chunk of code unique to Windows NT with an
ap_oslevel check.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84964 13f79535-47bb-0310-9956-ffa450edef68

24 years agoChange ap_context_t to ap_pool_t. This compiles, runs, and serves pages
Ryan Bloom [Fri, 14 Apr 2000 15:59:20 +0000 (15:59 +0000)]
Change ap_context_t to ap_pool_t.  This compiles, runs, and serves pages
on Linux, but probably breaks somewhere.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84963 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix minor configuration & platform dependencies
Martin Kraemer [Fri, 14 Apr 2000 14:32:20 +0000 (14:32 +0000)]
Fix minor configuration & platform dependencies

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84962 13f79535-47bb-0310-9956-ffa450edef68

24 years agomore namespace cleanup
dgaudet [Fri, 14 Apr 2000 02:39:08 +0000 (02:39 +0000)]
more namespace cleanup

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84961 13f79535-47bb-0310-9956-ffa450edef68

24 years agoGet mod_rewrite to compile with no warnings on OS/390
Jeff Trawick [Fri, 14 Apr 2000 01:36:59 +0000 (01:36 +0000)]
Get mod_rewrite to compile with no warnings on OS/390
(cc) and Linux (gcc -Wall).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84960 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSunny outside today.
Ryan Bloom [Thu, 13 Apr 2000 20:44:09 +0000 (20:44 +0000)]
Sunny outside today.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84958 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAlternately wet and sunny.
Tony Finch [Thu, 13 Apr 2000 14:38:55 +0000 (14:38 +0000)]
Alternately wet and sunny.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84956 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd util_cfgtreee.c to the win32 build
Bill Stoddard [Thu, 13 Apr 2000 13:47:23 +0000 (13:47 +0000)]
Add util_cfgtreee.c to the win32 build

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84955 13f79535-47bb-0310-9956-ffa450edef68

24 years agoOn all the systems I could get hold of (Solaris, ReliantUNIX, BS2000, SINIX),
Martin Kraemer [Thu, 13 Apr 2000 11:03:20 +0000 (11:03 +0000)]
On all the systems I could get hold of (Solaris, ReliantUNIX, BS2000, SINIX),
SHM_R was always 0400, never 0x400. My assumption is that is usually (always) is.
Feel free to change it to an OS test like this (if your OS differs):
case `uname -s` in
  SunOS | POSIX-BC | SINIX-* | ReliantUNIX-* ) # BS2000
    AC_DEFINE(SHM_R, 0400, [ ])
    AC_DEFINE(SHM_W, 0200, [ ])
    ;;
  *)
    AC_DEFINE(SHM_R, 0x400, [ ])
    AC_DEFINE(SHM_W, 0x200, [ ])
    ;;
esac

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84953 13f79535-47bb-0310-9956-ffa450edef68

24 years agoremove "fix lingering close"
Jeff Trawick [Thu, 13 Apr 2000 00:38:55 +0000 (00:38 +0000)]
remove "fix lingering close"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84952 13f79535-47bb-0310-9956-ffa450edef68

24 years agoGet lingering_close() working again.
Jeff Trawick [Thu, 13 Apr 2000 00:37:55 +0000 (00:37 +0000)]
Get lingering_close() working again.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84951 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix a small bug in ap_add_node. We need to set the child's parent pointer
Ryan Bloom [Wed, 12 Apr 2000 23:17:51 +0000 (23:17 +0000)]
Fix a small bug in ap_add_node.  We need to set the child's parent pointer
correctly.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84950 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFirst step to getting configuration modules working. This step creates
Ryan Bloom [Wed, 12 Apr 2000 21:57:48 +0000 (21:57 +0000)]
First step to getting configuration modules working.  This step creates
a tree, but does not use the tree for anything.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84949 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSome status update.
Bill Stoddard [Wed, 12 Apr 2000 20:20:01 +0000 (20:20 +0000)]
Some status update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84948 13f79535-47bb-0310-9956-ffa450edef68

24 years agolooks sunny out there
dgaudet [Tue, 11 Apr 2000 16:35:27 +0000 (16:35 +0000)]
looks sunny out there

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84945 13f79535-47bb-0310-9956-ffa450edef68

24 years agoIn my libnsl, there's gethostname but not gethostbyname
Martin Kraemer [Tue, 11 Apr 2000 13:47:20 +0000 (13:47 +0000)]
In my libnsl, there's gethostname but not gethostbyname

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84944 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRemove bogus application/rtf (keep standard text/rtf)
Roy T. Fielding [Mon, 10 Apr 2000 23:12:47 +0000 (23:12 +0000)]
Remove bogus application/rtf (keep standard text/rtf)

Submitted by: Jamie Winquist <winquist@cybernet.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84943 13f79535-47bb-0310-9956-ffa450edef68

24 years agoupdate about saferead
dgaudet [Mon, 10 Apr 2000 22:26:32 +0000 (22:26 +0000)]
update about saferead

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84941 13f79535-47bb-0310-9956-ffa450edef68

24 years agoCGIs work again on UNIX because ap_create_process() works again on UNIX.
Jeff Trawick [Mon, 10 Apr 2000 19:28:29 +0000 (19:28 +0000)]
CGIs work again on UNIX because ap_create_process() works again on UNIX.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84940 13f79535-47bb-0310-9956-ffa450edef68