]> granicus.if.org Git - apache/log
apache
24 years agoadd note about building MM library
Sascha Schumann [Mon, 12 Jun 2000 17:28:48 +0000 (17:28 +0000)]
add note about building MM library

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

24 years agoFinish the switch to light-wheight pcre.
Sascha Schumann [Mon, 12 Jun 2000 17:24:09 +0000 (17:24 +0000)]
Finish the switch to light-wheight pcre.

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

24 years agoAll of Apache uses APR for shared memory, so Apache doesn't need to check
Ryan Bloom [Mon, 12 Jun 2000 17:04:39 +0000 (17:04 +0000)]
All of Apache uses APR for shared memory, so Apache doesn't need to check
for SHM_[RW].

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

24 years agoApache doesn't use struct tm anymore, Remove a check that defines a
Ryan Bloom [Mon, 12 Jun 2000 16:31:54 +0000 (16:31 +0000)]
Apache doesn't use struct tm anymore, Remove a check that defines a
macro that we never use.

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

24 years agoAdd a new function ap_set_default_fperms. This allows people to set the
Ryan Bloom [Mon, 12 Jun 2000 16:00:33 +0000 (16:00 +0000)]
Add a new function ap_set_default_fperms.  This allows people to set the
umask to be used when creating files.  This should change the permissions
of files created using APR_DEFAULT_OS.  Also removed a warning introduced
with the sys/stat.h changes.

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

24 years agoMissed one sys/stat.h in mod_rewrite.h. Removing it now.
Ryan Bloom [Mon, 12 Jun 2000 15:43:10 +0000 (15:43 +0000)]
Missed one sys/stat.h in mod_rewrite.h.  Removing it now.

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

24 years agoRemove the final vestiges of stat.h from Apache 2.0. All calls are now to
Ryan Bloom [Mon, 12 Jun 2000 15:29:09 +0000 (15:29 +0000)]
Remove the final vestiges of stat.h from Apache 2.0.  All calls are now to
ap_stat.  This also adds the new function ap_lstat().  This function is
analogous to lstat.

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

24 years agoDont' add -ldl for BeOS.
David Reid [Mon, 12 Jun 2000 13:58:49 +0000 (13:58 +0000)]
Dont' add -ldl for BeOS.

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

24 years agoDon't add -ldl for OS/2.
Brian Havard [Mon, 12 Jun 2000 13:07:08 +0000 (13:07 +0000)]
Don't add -ldl for OS/2.

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

24 years agoMake this build again...
David Reid [Mon, 12 Jun 2000 12:58:12 +0000 (12:58 +0000)]
Make this build again...

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

24 years agoyaabbos? gravity?
Greg Stein [Mon, 12 Jun 2000 10:46:50 +0000 (10:46 +0000)]
yaabbos? gravity?

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

24 years agoRemove reference to dftables.lo from CLEANFILES. *.lo is automatically
Sascha Schumann [Mon, 12 Jun 2000 06:46:04 +0000 (06:46 +0000)]
Remove reference to dftables.lo from CLEANFILES. *.lo is automatically
unlinked.

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

24 years agoBuild only needed parts of libpcre. This is more light-wheight than
Sascha Schumann [Mon, 12 Jun 2000 06:44:26 +0000 (06:44 +0000)]
Build only needed parts of libpcre. This is more light-wheight than
having a complete build-subsystem for PCRE.

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

24 years agoNothing in Apache should be calling stat anymore, so we can remove
Ryan Bloom [Mon, 12 Jun 2000 04:17:45 +0000 (04:17 +0000)]
Nothing in Apache should be calling stat anymore, so we can remove
the check for sys/stat.h and all references to the resulting macro.

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

24 years agoApache doesn't need to check for inline or pid's, because APR provides
Ryan Bloom [Mon, 12 Jun 2000 03:35:13 +0000 (03:35 +0000)]
Apache doesn't need to check for inline or pid's, because APR provides
both ap_inline and ap_proc_t.

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

24 years agoadd some items that Jeff has noted.
Greg Stein [Sun, 11 Jun 2000 22:35:20 +0000 (22:35 +0000)]
add some items that Jeff has noted.
other misc tweaks

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

24 years agoFix a couple of problems with the pre/post config processing changes:
Jeff Trawick [Sun, 11 Jun 2000 22:06:57 +0000 (22:06 +0000)]
Fix a couple of problems with the pre/post config processing changes:

1) symptom: on system with bad/no DNS setup, ServerName isn't
   processed so init fails

cause:

  ap_fini_vhost_config() called before ap_process_config_tree(), so
  ServerName was never stored in the config structure

2) symptom: on system with virtual hosts configured, SIGSEGV in
   open_multi_logs()

cause:

   the module configs for the virtual hosts haven't been merged in
   yet, and open_multi_logs() gets NULL for the mod_log_config
   configuration

This stuff needs to be cleaned up further, exploring the use of a
post-config hook for fixup_virtual_hosts(), ap_fini_vhost_config(),
and ap_sort_hooks(), getting a lot of logic out of main(), and
processing the config tree only once.

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

24 years agoMake dependencies work.
Ben Laurie [Sun, 11 Jun 2000 15:40:18 +0000 (15:40 +0000)]
Make dependencies work.

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

24 years agoUpdate dependencies.
Ben Laurie [Sun, 11 Jun 2000 14:12:03 +0000 (14:12 +0000)]
Update dependencies.

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

24 years agoMake "make depend" work - pending a real fix, that is. I did attempt to do this
Ben Laurie [Sun, 11 Jun 2000 14:08:16 +0000 (14:08 +0000)]
Make "make depend" work - pending a real fix, that is. I did attempt to do this
properly, but that means some radical autoconf shit that is, once more, beyond
me.

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

24 years agoDo printf formatting properly.
Ben Laurie [Sun, 11 Jun 2000 14:04:52 +0000 (14:04 +0000)]
Do printf formatting properly.

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

24 years agoEliminate spurious tab.
Ben Laurie [Sun, 11 Jun 2000 13:17:37 +0000 (13:17 +0000)]
Eliminate spurious tab.

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

24 years agoSplit generating Makefiles and creating config_vars.mk.
Sascha Schumann [Sun, 11 Jun 2000 11:44:50 +0000 (11:44 +0000)]
Split generating Makefiles and creating config_vars.mk.

The Makefiles are now rebuilt, when you run config.status.

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

24 years agoAvoid second invocation of cat.
Sascha Schumann [Sun, 11 Jun 2000 11:43:45 +0000 (11:43 +0000)]
Avoid second invocation of cat.

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

24 years agoFix dependencies for util_uri.lo and util.lo.
Sascha Schumann [Sun, 11 Jun 2000 11:20:58 +0000 (11:20 +0000)]
Fix dependencies for util_uri.lo and util.lo.

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

24 years agoFix path for helpers/PrintPath which is in $srcdir.
Sascha Schumann [Sun, 11 Jun 2000 10:46:59 +0000 (10:46 +0000)]
Fix path for helpers/PrintPath which is in $srcdir.

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

24 years ago A little more cleanup of win_service and windows .html docs.
William A. Rowe Jr [Sat, 10 Jun 2000 19:19:34 +0000 (19:19 +0000)]
  A little more cleanup of win_service and windows .html docs.

  Covered the Log On As... option just a little better, with some hints.

  Dire warnings about Win95/98 at the end of the services section.

  Roll back Win95/98 services directives, and just point out differences.

  Get rid of the silly word 'signalling' - which means squat to your
  typical Win32 user!

  Anything else anyone can think of to cover?

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agocast ap_snprintf() argument to the type expected by the format string
Jeff Trawick [Sat, 10 Jun 2000 18:51:24 +0000 (18:51 +0000)]
cast ap_snprintf() argument to the type expected by the format string
(to fix gcc warning on FreeBSD)

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

24 years agoGet FreeBSD 3.4 building again. It doesn't have lib dl, so the build
Jeff Trawick [Sat, 10 Jun 2000 18:20:35 +0000 (18:20 +0000)]
Get FreeBSD 3.4 building again.  It doesn't have lib dl, so the build
was broken as of the time we started always sticking in -ldl.

src/modules/standard/config.m4:

. don't add "-ldl" to LIBS for FreeBSD either
. back out previous change regarding LTFLAGS; it should be o.k.
  to add it for any platform, because libtool knows what to do with
  it (no, Greg A., I haven't added support for it to OS/390 libtool
  yet :) )

src/lib/apr/configure.in:

. if dlopen() isn't found in lib dl, don't fret (yet); try to find
  it in the default libraries;

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

24 years agohi Toto!
Greg Stein [Sat, 10 Jun 2000 17:21:46 +0000 (17:21 +0000)]
hi Toto!

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

24 years agoperfect blue sky. Ain't CA wonderful?
Ryan Bloom [Sat, 10 Jun 2000 17:12:01 +0000 (17:12 +0000)]
perfect blue sky.  Ain't CA wonderful?

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

24 years agoclouds? what are those?
Greg Stein [Sat, 10 Jun 2000 17:07:30 +0000 (17:07 +0000)]
clouds? what are those?

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

24 years agoCleanup more of the Apache configuration. This removes all of the shared
Ryan Bloom [Sat, 10 Jun 2000 16:15:08 +0000 (16:15 +0000)]
Cleanup more of the Apache configuration.  This removes all of the shared
memory checks, because Apache relies completely on APR for shared memory
support.  In doing this, we also need to know how APR/MM are providing
our shared memory (ie file or memory) that requires the change made to
APR's configure script that was just committed.

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

24 years agoGet FreeBSD building again with the resource limiting changes (FreeBSD
Jeff Trawick [Sat, 10 Jun 2000 12:02:29 +0000 (12:02 +0000)]
Get FreeBSD building again with the resource limiting changes (FreeBSD
3.4, at least).

rlim_t is defined in <sys/types.h>, so we usually need that.

Some stuff in <sys/resource.h> needs <sys/time.h> for timeval just to
be able to compile :(

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

24 years agohttpd -V now displays APR's selection of the lock mechanism instead of the
Jeff Trawick [Sat, 10 Jun 2000 11:46:37 +0000 (11:46 +0000)]
httpd -V now displays APR's selection of the lock mechanism instead of the
symbols previously respected by prefork.

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

24 years agoFix a Solaris compilation problem with mod_cgid:
Jeff Trawick [Sat, 10 Jun 2000 11:25:26 +0000 (11:25 +0000)]
Fix a Solaris compilation problem with mod_cgid:
Use <sys/un.h> to get sockaddr_un.  Previously we declared it ourselves
for unknown reasons.  I am now able to compile on Linux (RH6.1), Solaris
8, and FreeBSD 3.4.  Also, I don't see a mention in UNP V1 (2e) of the
need to play tricks to get sockaddr_un.

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

24 years agofix nagle
dgaudet [Sat, 10 Jun 2000 02:22:15 +0000 (02:22 +0000)]
fix nagle

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

24 years agoanother iteration on the saferead/bhalfduplex stuff ... there was a
dgaudet [Sat, 10 Jun 2000 02:06:02 +0000 (02:06 +0000)]
another iteration on the saferead/bhalfduplex stuff ... there was a
commented out bhalfduplex call which ryan missed; and which was a bit
more troublesome to solve with the iol interface.

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

24 years agoUpdate the Dexter MPM to use APR for shared memory. This removes a lot
Ryan Bloom [Sat, 10 Jun 2000 01:35:59 +0000 (01:35 +0000)]
Update the Dexter MPM to use APR for shared memory.  This removes a lot
of duplicate code and allows me to clean up some config stuff in a few
minutes.

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

24 years agoLooking good outside.
Ryan Bloom [Sat, 10 Jun 2000 01:32:35 +0000 (01:32 +0000)]
Looking good outside.

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

24 years agofix dependencies. (what is a .lo anyway? i tried making the .o depend
dgaudet [Sat, 10 Jun 2000 01:10:10 +0000 (01:10 +0000)]
fix dependencies.  (what is a .lo anyway?  i tried making the .o depend
on the .h which is how dependencies usually work, but the other rules
didn't work out right unless i used a .lo ... i suppose this only matters
to folks building with -j N)

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

24 years agoWe don't ever actually use HAVE_CRYPT, so stop defining it.
Ryan Bloom [Fri, 9 Jun 2000 22:37:50 +0000 (22:37 +0000)]
We don't ever actually use HAVE_CRYPT, so stop defining it.

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

24 years agoRemove waitpid from the config checks and all calls to waitpid from the
Ryan Bloom [Fri, 9 Jun 2000 22:05:36 +0000 (22:05 +0000)]
Remove waitpid from the config checks and all calls to waitpid from the
server.

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

24 years agoRemove a bunch of string functions from Apache. These are basically
Ryan Bloom [Fri, 9 Jun 2000 21:19:52 +0000 (21:19 +0000)]
Remove a bunch of string functions from Apache.  These are basically
standard string functions like strstr, strcasecmp, etc that Apache used
to define for platforms that don't have them.  These functions and the
feature tests have moved down to APR where they really belong.  In doing
this, I am also able to remove a bunch of tests from the Apache configure
process.

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

24 years agoRemove all occurances of strerror from Apache. ap_strerror works just
Ryan Bloom [Fri, 9 Jun 2000 18:57:16 +0000 (18:57 +0000)]
Remove all occurances of strerror from Apache.  ap_strerror works just
fine with standard errno values, and it is more portable.  This also allows
me to remove the check for strerror from Apache's configure script.

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

24 years agoPR:
William A. Rowe Jr [Fri, 9 Jun 2000 18:33:02 +0000 (18:33 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Andrew Braund's very complete review of the Win32 documentation!
  These should have a profound effect on the number of Win32 inquiries
  and problem reports.

  I will have some minor notes on running as another user, and
  using the perl .dsp conversion scripts to add as a seperate
  commit later today.

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

24 years agomention date of 2.0a4 release; mention a mod_cgid bug
Jeff Trawick [Fri, 9 Jun 2000 15:22:12 +0000 (15:22 +0000)]
mention date of 2.0a4 release; mention a mod_cgid bug

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

24 years agoWhen mod_cgid is started as root, the cgi daemon now switches
Jeff Trawick [Fri, 9 Jun 2000 15:20:13 +0000 (15:20 +0000)]
When mod_cgid is started as root, the cgi daemon now switches
to the configured User/Group (like other httpd processes)
instead of continuing as root.

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

24 years agoThe prefork MPM now uses an APR lock for the accept() mutex.
Jeff Trawick [Fri, 9 Jun 2000 14:48:58 +0000 (14:48 +0000)]
The prefork MPM now uses an APR lock for the accept() mutex.
It has not been getting a lock at all recently.

Note: The TPF and SGI folks need to each APR how to get the most
efficient lock on those platforms.  (For SGI it depends on whether
or not we're building for SMP.)

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

24 years agofix typo in AC_TYPE_RLIM_T
Doug MacEachern [Thu, 8 Jun 2000 23:12:22 +0000 (23:12 +0000)]
fix typo in AC_TYPE_RLIM_T

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

24 years agoFix the check for rlim_t correctly. I wish I had known that we had
Ryan Bloom [Thu, 8 Jun 2000 21:32:13 +0000 (21:32 +0000)]
Fix the check for rlim_t correctly.  I wish I had known that we had
created an rlim_t check in acinclude.m4.  :-)
Submitted by: Jeff Trawick

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

24 years agoARGH! resource.h lives in sys.
Ryan Bloom [Thu, 8 Jun 2000 20:30:58 +0000 (20:30 +0000)]
ARGH!  resource.h lives in sys.
Submitted by: Doug M.

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

24 years agoInclude a definition of rlim_t if the platform doesn't have it natively.
Ryan Bloom [Thu, 8 Jun 2000 20:21:35 +0000 (20:21 +0000)]
Include a definition of rlim_t if the platform doesn't have it natively.

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

24 years agoCleanup APR header files a bit. Basically, this splits ap_table_t related
Ryan Bloom [Thu, 8 Jun 2000 19:29:40 +0000 (19:29 +0000)]
Cleanup APR header files a bit.  Basically, this splits ap_table_t related
functions into their own header file, away from apr_pools.h.  At the same
time as I was doing this, I removed a couple of definitions that aren't
used anywhere anymore, like ap_child_info_t.

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

24 years agoa couple of data type issues have a more generic solution
Tony Finch [Thu, 8 Jun 2000 04:15:47 +0000 (04:15 +0000)]
a couple of data type issues have a more generic solution

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

24 years agosleep until the next second, rather than sleep for <current-time> seconds.
Greg Stein [Thu, 8 Jun 2000 02:56:27 +0000 (02:56 +0000)]
sleep until the next second, rather than sleep for <current-time> seconds.
fix typo on symbol (prevented compilation)

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

24 years agoFix some problems with the time commit. I guess mod_unique_id isn't turned
Ryan Bloom [Thu, 8 Jun 2000 01:47:21 +0000 (01:47 +0000)]
Fix some problems with the time commit.  I guess mod_unique_id isn't turned
on by default, which is why my last build's didn't catch this.  I'll be
more careful in the future.
Submitted by: Greg Stein

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

24 years agoRemove all occurances of gettimeofday. Replace it with ap_now which
Ryan Bloom [Thu, 8 Jun 2000 00:28:35 +0000 (00:28 +0000)]
Remove all occurances of gettimeofday.  Replace it with ap_now which
provides the same function but works cross-paltform.

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

24 years agoFix Win32 bug when pathname length exactly equals MAX_PATH.
Allan K. Edwards [Wed, 7 Jun 2000 22:50:15 +0000 (22:50 +0000)]
Fix Win32 bug when pathname length exactly equals MAX_PATH.
This bug caused directory index to be displayed rather than
returning an error.

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

24 years agoRemove the check for difftime, we aren't actually using it anywhere.
Ryan Bloom [Wed, 7 Jun 2000 22:14:58 +0000 (22:14 +0000)]
Remove the check for difftime, we aren't actually using it anywhere.

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

24 years ago Forgot to include when I committed the code change..
Ken Coar [Wed, 7 Jun 2000 16:23:46 +0000 (16:23 +0000)]
Forgot to include when I committed the code change..

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

24 years agoGreg Ames' mod_mmap_static fixes have been applied, so remove the
Jeff Trawick [Wed, 7 Jun 2000 13:47:20 +0000 (13:47 +0000)]
Greg Ames' mod_mmap_static fixes have been applied, so remove the
corresponding entry.

Fix typo in Greg Stein's note about gethostbyname_r().

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

24 years agoChange the mmap() feature test to check only for existence.
Jeff Trawick [Wed, 7 Jun 2000 12:36:51 +0000 (12:36 +0000)]
Change the mmap() feature test to check only for existence.
The autoconf-provided check used previously fails when the
platform doesn't support MAP_FIXED.  Apache doesn't use that
mmap() feature, so we don't want to require it.
Submitted by: Greg Ames

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

24 years agoFix some bad (1.3 style) parmlists to ap_log_error() which were introduced
Jeff Trawick [Wed, 7 Jun 2000 11:51:49 +0000 (11:51 +0000)]
Fix some bad (1.3 style) parmlists to ap_log_error() which were introduced
with the reintroduction of resource limiting logic.

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

24 years agocombine two entries because they just *cannot* be separated...
Greg Stein [Wed, 7 Jun 2000 02:06:49 +0000 (02:06 +0000)]
combine two entries because they just *cannot* be separated...

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

24 years agoFix a couple of bugs in mod_cgid:
Jeff Trawick [Tue, 6 Jun 2000 22:22:52 +0000 (22:22 +0000)]
Fix a couple of bugs in mod_cgid:

The cgi arguments were sometimes mangled because no terminating '\0' was
added to the arg string passed to the cgi daemon.

The len parm to accept() was not initialized, leading sometimes to an
endless loop of failed accept() calls on OS/390 and anywhere else that
failed the call if the len was negative.

Tweaks: Add some traces for failed socket calls at cgi daemon setup time
(most of which I hit while playing around).

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

24 years agolittle wooden boy.
Greg Stein [Tue, 6 Jun 2000 21:46:40 +0000 (21:46 +0000)]
little wooden boy.

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

24 years agoAdd the resource limiting code back to Apache 2.0. This only works on
Ryan Bloom [Tue, 6 Jun 2000 21:45:16 +0000 (21:45 +0000)]
Add the resource limiting code back to Apache 2.0.  This only works on
Unix because I can't find any other platforms with rlimit.  If there are
other platforms that need this code, then some of the code needs to move.
This has just barely been tested, so it could probably use some good
testing.

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

24 years agoOS/390: avoid unconditional -ldl and -export-dynamic (other
Jeff Trawick [Tue, 6 Jun 2000 21:27:54 +0000 (21:27 +0000)]
OS/390: avoid unconditional -ldl and -export-dynamic (other
platforms can add related logic to the case statement)

This is a stop-gap measure until the need for certain libraries
can be determined automatically.

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

24 years ago Bring forward a change from 1.3 (the ability to use SetEnvIf*
Ken Coar [Tue, 6 Jun 2000 20:41:45 +0000 (20:41 +0000)]
Bring forward a change from 1.3 (the ability to use SetEnvIf*
and BrowserMatch* in .htaccess files).

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

24 years ago Bring forward a fix from 1.3.
Ken Coar [Tue, 6 Jun 2000 20:39:50 +0000 (20:39 +0000)]
Bring forward a fix from 1.3.

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

24 years agoIncrease the size of the buffer passed to ap_strerror(); I saw
Jeff Trawick [Tue, 6 Jun 2000 14:51:06 +0000 (14:51 +0000)]
Increase the size of the buffer passed to ap_strerror(); I saw
truncation of a particularly long message on OS/390, and useful
info was past char 100.

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

24 years agoFix zombie process problem with mod_cgi. This problem was introduced
Jeff Trawick [Tue, 6 Jun 2000 05:58:16 +0000 (05:58 +0000)]
Fix zombie process problem with mod_cgi.  This problem was introduced
as part of the "Convert ap_proc_t to a complete type." enhancement.

mod_cgi previously declared a ptr to an ap_proc_t, storage was allocated
by ap_create_process() from the request pool, and the ap_proc_t address
was passed to ap_note_subprocess().

With the "Convert ap_proc_t to a complete type." change, ap_proc_t
lived in autodata, but the address was still passed to
ap_note_subprocess().  When the pool was cleaned up, the ap_proc_t
in autodata had been used for something else, so the contents were
garbage, but pool cleanup needed the contents, especially the os
pid to pass to waidpid().  Since this was garbage, we never reaped
status from the cgi child and thus the cgi child remained a zombie.

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

24 years agoPR:
William A. Rowe Jr [Tue, 6 Jun 2000 05:00:49 +0000 (05:00 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Fix a silly oversight.

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

24 years agoPR:
William A. Rowe Jr [Tue, 6 Jun 2000 04:11:08 +0000 (04:11 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Hmmm... exporting a hook, very interesting :-)

  But the win32 build believes hooks are pretty uninteresting, mostly
  static __cdecl calls, so pound this declaration into NONSTD.

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

24 years agoPR:
William A. Rowe Jr [Tue, 6 Jun 2000 01:55:44 +0000 (01:55 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Just two quick fixes for the ApacheCore/ApacheCoreDll.dsp project split.

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

24 years agoPort mod_mmap_static to 2.0. Make it go faster.
Jeff Trawick [Tue, 6 Jun 2000 01:49:30 +0000 (01:49 +0000)]
Port mod_mmap_static to 2.0.  Make it go faster.

core: Export core_translate() as ap_core_translate() for use by
      mod_mmap_static.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick

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

24 years agoPR:
William A. Rowe Jr [Tue, 6 Jun 2000 01:20:04 +0000 (01:20 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Migrate the 'real' pre_config hook update from winnt.c to mpm_winnt.c
  and correct newly required symbols for http_main.c

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

24 years agoPR:
William A. Rowe Jr [Tue, 6 Jun 2000 01:15:05 +0000 (01:15 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Fixes 1) The htpasswd and ab binaries, by converting ApacheCore.dsp to
           a library MSVC project.

        2) Creates the ApacheCoreDll.dsp project to produce the dso
           version ApacheCore.dll

        3) Some misc fixups to the original http_main.c -> Apache.exe
           conversion that misses newly added symbols.

  Code fixes to follow in a seperate patch.

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

24 years agoFix typo in configure script when checking for mod_so. bash
Jeff Trawick [Tue, 6 Jun 2000 00:51:20 +0000 (00:51 +0000)]
Fix typo in configure script when checking for mod_so.  bash
doesn't seem to have a problem but /bin/sh on Solaris does.
Symptom: "./configure: test: unknown operator =="

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

24 years agoRemove some #ifdef'ed code that doesn't make much sense
Tony Finch [Mon, 5 Jun 2000 23:58:34 +0000 (23:58 +0000)]
Remove some #ifdef'ed code that doesn't make much sense
(what does the 2 signify?)

Reviewed by: Ryan Bloom

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

24 years agoRemove the ability to enable/disable DSO support in APR. The only current
Ryan Bloom [Mon, 5 Jun 2000 23:14:35 +0000 (23:14 +0000)]
Remove the ability to enable/disable DSO support in APR.  The only current
way to check for DSO support is to look for libdl.  Apache automatically
adds -ldl to it's LIBS flag from config.m4 in modules/standard.  Other
platforms will need to add the correct flag for their system.

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

24 years agoFix a warning and a bug from the server_token commit.
Ryan Bloom [Mon, 5 Jun 2000 22:57:20 +0000 (22:57 +0000)]
Fix a warning and a bug from the server_token commit.
Submitted by: Eric Cholet <cholet@logilune.com>

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

24 years agoPR:
William A. Rowe Jr [Mon, 5 Jun 2000 22:39:03 +0000 (22:39 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Unbind the old main_win32.c code and rebind to the new mpm logic
  in the modules/mpm/winnt directory.  Includes some simple cleanups.

  The old sources in os/win32 will disappear at the end of this week.

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

24 years agocleanup to cgid_init():
Jeff Trawick [Mon, 5 Jun 2000 22:28:07 +0000 (22:28 +0000)]
cleanup to cgid_init():
  axe unused var cgid_server_conf
  fix type of pid
  don't create the socket as a file here; it doesn't help anything

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

24 years agoMake the string in a log message unique so we know
Jeff Trawick [Mon, 5 Jun 2000 20:51:11 +0000 (20:51 +0000)]
Make the string in a log message unique so we know
what failed.  Before, "couldn't create child process: " was
used for a couple of different logs.

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

24 years agoMake a copy of getenv("PATH") before storing for later use. Some
Jeff Trawick [Mon, 5 Jun 2000 20:45:08 +0000 (20:45 +0000)]
Make a copy of getenv("PATH") before storing for later use.  Some
getenv() implementations use the same storage for successive calls.
CGIs on OS/390 had a bad PATH due to this.  (Believe it or not, ANSI
says getenv() can do this.)

Some similar getenv() usage was left alone as it was specific to a
certain platform, and I assume that getenv() doesn't have the "issue"
on those platforms.

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

24 years agoAdd server tokens back to 2.0. Also bring forward the change to allow
Ryan Bloom [Mon, 5 Jun 2000 19:44:02 +0000 (19:44 +0000)]
Add server tokens back to 2.0.  Also bring forward the change to allow
the PRODUCT_ONLY value for ServerTokens.  This is relatively clean,
all of the code lives in http_core, and when a module wants to add a token,
they just call ap_add_version_component from the post_config hook.  Actually
ap_add_version_component can be done anytime after the config has been
parsed, it just makes the most sense to do it in post_config IMHO.

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

24 years agoon a5 now.
Ask Bjørn Hansen [Mon, 5 Jun 2000 17:30:27 +0000 (17:30 +0000)]
on a5 now.

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

24 years ago2.0a4
Ask Bjørn Hansen [Mon, 5 Jun 2000 17:15:25 +0000 (17:15 +0000)]
2.0a4

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

24 years agoFix mod_so handling. Basically, if --enable-so or
Ryan Bloom [Mon, 5 Jun 2000 16:51:06 +0000 (16:51 +0000)]
Fix mod_so handling.  Basically, if --enable-so or
--enable-some-module=shared is specified on the ./configure line, then
mod_so is included in the build, -ldl is added to LIBS, and --enable-dso is
added to APR's configure line.  Otherwise, mod_so is turned off, -ldl is
not added, and APR is specifically told to build without DSO support.

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

24 years agoadd self
Ask Bjørn Hansen [Mon, 5 Jun 2000 15:46:05 +0000 (15:46 +0000)]
add self

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

24 years agocorrect some typos from the last commit.
Ask Bjørn Hansen [Mon, 5 Jun 2000 15:39:39 +0000 (15:39 +0000)]
correct some typos from the last commit.

add changes list

remove snippet about why the apache project was organized. I would think people
reading the annouement knows now.

try to remove a little more corporatespeak

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

24 years agoEBCDIC fixes:
Jeff Trawick [Mon, 5 Jun 2000 02:26:52 +0000 (02:26 +0000)]
EBCDIC fixes:
  getline(): pick up a couple of Martin's changes which were missed when
  the 1.3.x EBCDIC fixes to this funciton were merged into 2.0

  ap_setup_client_block(): fix the logic that, based on the mime type,
  can decide not to translate the request body

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

24 years agomod_cgid:
Jeff Trawick [Sun, 4 Jun 2000 19:46:22 +0000 (19:46 +0000)]
mod_cgid:

fix parmlist to ap_open() so that we can open the ScriptLog file o.k.

in log_script(), don't do anything with script_err parm if it is NULL
(for mod_cgid, it is always NULL; rather than simply ripping out such
logic I kept it in case somebody wants to factor out common parts of
mod_cgi.c and mod_cgid.c later)

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

24 years agomod_charset_lite:
Jeff Trawick [Sun, 4 Jun 2000 19:27:02 +0000 (19:27 +0000)]
mod_charset_lite:
  functional changes:
    setup input translation for PUT or POST
  other:
    bail out more quickly if our dir config says do nothing,
    tweak the debug trace,

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

24 years agoEBCDIC: Rearrange calls to ap_checkconv() so that most handlers
Jeff Trawick [Sat, 3 Jun 2000 22:41:01 +0000 (22:41 +0000)]
EBCDIC: Rearrange calls to ap_checkconv() so that most handlers
won't need to call it.
Submitted by: Greg Ames, Jeff Trawick

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

24 years agoa few changes that should be in the next announcement. I still think this is
Ask Bjørn Hansen [Sat, 3 Jun 2000 20:50:56 +0000 (20:50 +0000)]
a few changes that should be in the next announcement. I still think this is
waaaay too corporatespeakish and that we should add more information about
how to get involved  with development.

And is it true that we're still particularly less stable on Win32?

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

24 years agoBring mpmt_beos up to date and allow it play nice with mpm_common.
David Reid [Sat, 3 Jun 2000 16:58:08 +0000 (16:58 +0000)]
Bring mpmt_beos up to date and allow it play nice with mpm_common.

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

24 years agoModify the config order so that we read the config, process all EXEC_ON_READ
Ryan Bloom [Sat, 3 Jun 2000 16:27:03 +0000 (16:27 +0000)]
Modify the config order so that we read the config, process all EXEC_ON_READ
directives at the same time, run pre_config hook for all modules, and
then walk the tree.  This allows all modules to have a pre_config hook and
know that it will be called at a reasonable time.  I also made "Include"
an EXEC_ON_READ directive so that it is included in the tree properly.
This was required after the other changes that were made.

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