]> granicus.if.org Git - apache/log
apache
24 years agoUse the new command-handler initializer macros in prefork;
Jeff Trawick [Mon, 19 Jun 2000 00:24:24 +0000 (00:24 +0000)]
Use the new command-handler initializer macros in prefork;
clean up the resulting warnings.

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

24 years agoUse the new command-handler initializer macros in mod_access;
Jeff Trawick [Sun, 18 Jun 2000 21:01:21 +0000 (21:01 +0000)]
Use the new command-handler initializer macros in mod_access;
clean up the resulting warnings.

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

24 years agoUse the new command-handler initializer macros in mod_actions;
Jeff Trawick [Sun, 18 Jun 2000 13:43:38 +0000 (13:43 +0000)]
Use the new command-handler initializer macros in mod_actions;
clean up the resulting warnings.

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

24 years agoUse the new command-handler initializer macros in mod_auth;
Jeff Trawick [Sun, 18 Jun 2000 13:33:29 +0000 (13:33 +0000)]
Use the new command-handler initializer macros in mod_auth;
clean up the resulting warnings.

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

24 years agoFirst pass at documentation for the debugging options in APR's
David Reid [Sun, 18 Jun 2000 10:41:32 +0000 (10:41 +0000)]
First pass at documentation for the debugging options in APR's
memory allocation.  Mainly just the comments from apr_pools.c.

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

24 years agoUse the new command-handler initializer macros in a few more modules,
Jeff Trawick [Sun, 18 Jun 2000 04:06:43 +0000 (04:06 +0000)]
Use the new command-handler initializer macros in a few more modules,
cleaning up the resulting warnings.

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

24 years agoMake unixd_config.user_name const char * instead of char * to avoid
Jeff Trawick [Sun, 18 Jun 2000 03:05:41 +0000 (03:05 +0000)]
Make unixd_config.user_name const char * instead of char * to avoid
a warning when the set-user-name command handler saves the address of
the arg from the config file.

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

24 years agoProvide some more missing initializer macros for when AP_DEBUG isn't
Jeff Trawick [Sun, 18 Jun 2000 03:01:30 +0000 (03:01 +0000)]
Provide some more missing initializer macros for when AP_DEBUG isn't
defined (no, I didn't miss these in my commit this a.m. :) ).

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

24 years agoMore command handlers.
Ben Laurie [Sat, 17 Jun 2000 21:37:05 +0000 (21:37 +0000)]
More command handlers.

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

24 years ago Time for these to be gone? I'd say it's long past :)
William A. Rowe Jr [Sat, 17 Jun 2000 21:06:24 +0000 (21:06 +0000)]
  Time for these to be gone?  I'd say it's long past :)

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Get Apache building on Win32
William A. Rowe Jr [Sat, 17 Jun 2000 21:05:30 +0000 (21:05 +0000)]
  Get Apache building on Win32

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Time to jump back into 2.0 again... here are yesterday's updates to
William A. Rowe Jr [Sat, 17 Jun 2000 20:44:46 +0000 (20:44 +0000)]
  Time to jump back into 2.0 again... here are yesterday's updates to
  the MSVC conversion scripts, since the old ones would occasional be
  whacked.  Again I ask, if you see better code here, please commit it.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoMore command handler updates.
Ben Laurie [Sat, 17 Jun 2000 16:53:50 +0000 (16:53 +0000)]
More command handler updates.

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

24 years agoMore consification, correct command initialisation.
Ben Laurie [Sat, 17 Jun 2000 16:29:53 +0000 (16:29 +0000)]
More consification, correct command initialisation.

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

24 years agoConstification.
Ben Laurie [Sat, 17 Jun 2000 12:36:54 +0000 (12:36 +0000)]
Constification.

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

24 years agoFix warnings.
Ben Laurie [Sat, 17 Jun 2000 12:33:30 +0000 (12:33 +0000)]
Fix warnings.

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

24 years agoFill in missing implementations of AP_INIT_whatever for when
Jeff Trawick [Sat, 17 Jun 2000 12:29:53 +0000 (12:29 +0000)]
Fill in missing implementations of AP_INIT_whatever for when
AP_DEBUG is not defined.  Apache now compiles for me on FreeBSD
3.4 when AP_DEBUG isn't defined (albeit with a few warnings).

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

24 years agoCommand handler revamp. Note that this makes the code produce a LOT of
Ben Laurie [Sat, 17 Jun 2000 11:13:05 +0000 (11:13 +0000)]
Command handler revamp. Note that this makes the code produce a LOT of
warnings!

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

24 years agoap_pool_join is a debugging function so remove it.
David Reid [Sat, 17 Jun 2000 11:00:57 +0000 (11:00 +0000)]
ap_pool_join is a debugging function so remove it.

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

24 years agoreduce some code redundancy / simplify.
Greg Stein [Sat, 17 Jun 2000 02:22:03 +0000 (02:22 +0000)]
reduce some code redundancy / simplify.
use a consistent var name for va_list

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

24 years agoap_bvputs() is a misnomer; introduce ap_bputstrs()
Greg Stein [Sat, 17 Jun 2000 01:29:29 +0000 (01:29 +0000)]
ap_bvputs() is a misnomer; introduce ap_bputstrs()
    [todo: proxy and file_cache code should be updated for new name]
add ap_vbputstrs()
use ap_vbputstrs() from http_protocol.
use EOF in a few places, rather than the magic "-1" constant

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

24 years agoBuffering for config file reads is now enabled.
Jeff Trawick [Fri, 16 Jun 2000 16:42:49 +0000 (16:42 +0000)]
Buffering for config file reads is now enabled.

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

24 years agoTurn on buffering for config file reads. This is dependent on ap_fgets()
Jeff Trawick [Fri, 16 Jun 2000 16:41:21 +0000 (16:41 +0000)]
Turn on buffering for config file reads.  This is dependent on ap_fgets()
doing the right thing.

Brian Havard implemented buffering for ap_fgets() on Win32 recently; OS/2 had
it already.  This provides it for Unix.

changes to ap_read(), ap_getc(), ap_fgets() for Unix:

1) this fixes a problem in where ap_open() where a lock is created for
   non-buffered files
2) this fixes problems setting rv correctly in the ap_read() buffered
   path
3) since ap_read() works as expected, it is possible to make ap_getc()
   and ap_fgets() even smaller
4) ap_fgets() no longer cares about '\r'

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

24 years agoFix segfault when reporting this type of syntax error:
Jeff Trawick [Fri, 16 Jun 2000 12:00:58 +0000 (12:00 +0000)]
Fix segfault when reporting this type of syntax error:
"</container> without matching <container> section", where
container is VirtualHost or Directory or whatever.

This was a path not covered by the fix in 2.0a4 to report
the proper line numbers (sorry!).

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

24 years agoRebuild Apache and APR configure scripts when lib/apr/hints.m4 changes.
Jeff Trawick [Thu, 15 Jun 2000 17:54:37 +0000 (17:54 +0000)]
Rebuild Apache and APR configure scripts when lib/apr/hints.m4 changes.

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

24 years agoInclude the proper header file (under X/Open, at least) for ntohs() in
Jeff Trawick [Thu, 15 Jun 2000 13:42:01 +0000 (13:42 +0000)]
Include the proper header file (under X/Open, at least) for ntohs() in
a couple of modules.  This lets us link-edit successfully again on OS/390.
(OS/390 only has the macro form of these functions.)

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

24 years agoPrevent the source code for CGIs from being revealed when using
Tony Finch [Thu, 15 Jun 2000 00:56:37 +0000 (00:56 +0000)]
Prevent the source code for CGIs from being revealed when using
mod_vhost_alias and the CGI directory is under the document root
and a user makes a request like http://www.example.com//cgi-bin/cgi
as reported in <news:960999105.344321@ernani.logica.co.uk>

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

24 years agoAdd support to ap_xlate_open() for an app to specify that the
Jeff Trawick [Wed, 14 Jun 2000 20:38:32 +0000 (20:38 +0000)]
Add support to ap_xlate_open() for an app to specify that the
charset of the locale is to be used for the source or target
charset.

At EBCDIC initialization, use the locale charset as one of the
pair when setting up the default translation handles for content.

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

24 years agoAdd sys/time.h to mpm_common to include define of timeval.
David Reid [Wed, 14 Jun 2000 13:50:40 +0000 (13:50 +0000)]
Add sys/time.h to mpm_common to include define of timeval.

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

24 years agoTidy up the beos mpm by
David Reid [Wed, 14 Jun 2000 00:17:21 +0000 (00:17 +0000)]
Tidy up the beos mpm by
- removing some unused variables
- correct a problem with pool allocations that killed the server
- add back the ap_lingering close call which I removed in error
  just before going on holiday.

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

24 years agoGet the ap_config.h cleanup working on FreeBSD by adding includes of
Jeff Trawick [Tue, 13 Jun 2000 21:36:18 +0000 (21:36 +0000)]
Get the ap_config.h cleanup working on FreeBSD by adding includes of
additional system headers.

A platform check in logresolve.c to determine whether or not we include
<arpa/inet.h> was converted to a feature check.

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

24 years agoAdd mpm.h to the src/modules/mpm/winnt directory (it's empty for now, but its presense
Bill Stoddard [Tue, 13 Jun 2000 14:09:22 +0000 (14:09 +0000)]
Add mpm.h to the src/modules/mpm/winnt directory (it's empty for now, but its presense
is required for http_core.c, et. al.).  Update ApacheCore.dsp to pick it up in the
include path.

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

24 years agofixups for remaining current warnings
Chuck Murcko [Tue, 13 Jun 2000 06:17:47 +0000 (06:17 +0000)]
fixups for remaining current warnings

Submitted by: Chuck Murcko

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

24 years agoOK, this builds and is autoconf safe about system headers, until it starts
Chuck Murcko [Tue, 13 Jun 2000 01:22:09 +0000 (01:22 +0000)]
OK, this builds and is autoconf safe about system headers, until it starts
using APR
PR:
Obtained from:
Submitted by: Chuck Murcko
Reviewed by:

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

24 years agoFix the configuration process. If no modules are specified in a given
Ryan Bloom [Tue, 13 Jun 2000 01:22:06 +0000 (01:22 +0000)]
Fix the configuration process.  If no modules are specified in a given
directory, then that directory is no longer added to the build process.
Also, I have added a .cvsignore to the file_cache directory and removed
a generated file from this directory.  Finally, I have removed
some unnecessary checks from the config.m4 files.

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

24 years agoStop checking for Shared Memory. This function is actually no longer
Ryan Bloom [Tue, 13 Jun 2000 01:08:20 +0000 (01:08 +0000)]
Stop checking for Shared Memory.  This function is actually no longer
defined by our autoconf setup, but I forgot to remove all of the calls
to it.

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

24 years agoRemove the check for EAGAIN. With APR handling the error codes, this is
Ryan Bloom [Mon, 12 Jun 2000 23:34:23 +0000 (23:34 +0000)]
Remove the check for EAGAIN.  With APR handling the error codes, this is
no longer an issue that Apache needs to deal with.

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

24 years agoProtect system header files with the appropriate macros.
Ryan Bloom [Mon, 12 Jun 2000 23:03:05 +0000 (23:03 +0000)]
Protect system header files with the appropriate macros.

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

24 years agoMod_proxy should not be a default module... yet. :-)
Ryan Bloom [Mon, 12 Jun 2000 22:49:53 +0000 (22:49 +0000)]
Mod_proxy should not be a default module... yet.  :-)

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

24 years agoresolved conflicts (2) in PASV handling from original commit
Chuck Murcko [Mon, 12 Jun 2000 22:13:08 +0000 (22:13 +0000)]
resolved conflicts (2) in PASV handling from original commit

PR:
Obtained from:
Submitted by: Chuck Murcko
Reviewed by:

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

24 years agoClean up a big chunk of ap_config.h. This basically stops ap_config.h from
Ryan Bloom [Mon, 12 Jun 2000 21:47:17 +0000 (21:47 +0000)]
Clean up a big chunk of ap_config.h.  This basically stops ap_config.h from
including any files.  Because of this change, other files must include
their own headers.  I also cleaned up a couple of other bugs in some
modules because I had to compile them all.

I expect this to break multiple platforms, but this will be fixed over time.
The massive configure cleanup is almost done.  I will go through the files
one more time after this commit.

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

24 years agoNew mod_proxy/mod_cache (file cache) for 2.0. This uses a caching API so
Chuck Murcko [Mon, 12 Jun 2000 21:41:58 +0000 (21:41 +0000)]
New mod_proxy/mod_cache (file cache) for 2.0. This uses a caching API so
that shared mem, LDAP servers, DBs, etc. can also be used for proxy
caching. The caching API is very young, and subject to change as APR changes.

proxy_cache.c from the proxy subdir is no longer used.

Build with --enable-modules=proxy,cache

Lightly tested on Linux, no warranties expressed or implied yet.

Still to do:

strerror(), waitpid(), stat() cleanups
address issues marked by @@@FIXME
add HTTP/1.1

This should be considered a *reference* proxy implementation for 2.0. What
actually ends up shipping with 2.0 is likely going to be rather different as
the redesign evolves. This may end up being the 2.0 backwards compatibility
workalike.

Modified to work with today's conf/build/layout scheme

PR:
Obtained from:
Submitted by: Sam Magnuson
Reviewed by: Chuck Murcko

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

24 years agoFix logging of errors creating the httpd.pid file.
Jeff Trawick [Mon, 12 Jun 2000 21:39:57 +0000 (21:39 +0000)]
Fix logging of errors creating the httpd.pid file.

perror() was converted to ap_log_error(), which will interpret the
specified APR error code properly.

The existing ap_log_error() call was changed so that the message is
formatted properly.  Note that this call is made from the mpm after
we detach from the foreground process, so it can only appear in the
log.

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

24 years agoBack out ap_set_default_perms(). Remove old logic to play with umask
Jeff Trawick [Mon, 12 Jun 2000 21:08:25 +0000 (21:08 +0000)]
Back out ap_set_default_perms().  Remove old logic to play with umask
around the creation of the httpd.pid file.  Pass explicit permissions to
ap_open(), omitting write-ability except by the owning user.  As always,
we end up with rw-r--r-- for the permissions unless the umask is something
unusual.

Note that the OS/2 and Win32 implementations of ap_open() ignore the
permissions parameter altogether.

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

24 years agoGet mod_cgid compiling again.
Jeff Trawick [Mon, 12 Jun 2000 20:42:11 +0000 (20:42 +0000)]
Get mod_cgid compiling again.

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

24 years agopcre.h is a permanent file now... don't .cvsignore it any longer
Jeff Trawick [Mon, 12 Jun 2000 20:40:05 +0000 (20:40 +0000)]
pcre.h is a permanent file now... don't .cvsignore it any longer

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

24 years agoAdd exports required by Jeff's recent changes.
Bill Stoddard [Mon, 12 Jun 2000 18:44:26 +0000 (18:44 +0000)]
Add exports required by Jeff's recent changes.

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

24 years agoAnother struct stat to ap_finfo_t change
Bill Stoddard [Mon, 12 Jun 2000 18:43:41 +0000 (18:43 +0000)]
Another struct stat to ap_finfo_t change

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

24 years agoClean up the stat commit. Basically there was one struct stat that I
Ryan Bloom [Mon, 12 Jun 2000 18:07:43 +0000 (18:07 +0000)]
Clean up the stat commit.  Basically there was one struct stat that I
missed converting to ap_finfo_t.

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

24 years agoFix Win32 compile break caused by Ryan's stat cleanup.
Bill Stoddard [Mon, 12 Jun 2000 18:07:31 +0000 (18:07 +0000)]
Fix Win32 compile break caused by Ryan's stat cleanup.

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

24 years agoIncluding apr_file_io.h is not necessary.
Sascha Schumann [Mon, 12 Jun 2000 17:41:14 +0000 (17:41 +0000)]
Including apr_file_io.h is not necessary.

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

24 years agoFix typos.
Sascha Schumann [Mon, 12 Jun 2000 17:40:00 +0000 (17:40 +0000)]
Fix typos.

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

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