]> granicus.if.org Git - apache/log
apache
24 years agoUpdate Windows ap_filedup() call to recognise when it is asked to dup2
Bill Stoddard [Thu, 17 Feb 2000 19:03:52 +0000 (19:03 +0000)]
Update Windows ap_filedup() call to recognise when it is asked to dup2
a standard i/o handle. Return error if the dup2 handle is not one of the
standard i/o handles (because Windows does not support a dup2 style function
to operate on native file handles)

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

24 years agoFix FreeBSD build break caused by my last commit to the file. Doh!
Bill Stoddard [Thu, 17 Feb 2000 13:39:15 +0000 (13:39 +0000)]
Fix FreeBSD build break caused by my last commit to the file. Doh!

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

24 years agoMake sure mod_mime always has a chance to run before mod_mime_magic.
Bill Stoddard [Wed, 16 Feb 2000 21:21:51 +0000 (21:21 +0000)]
Make sure mod_mime always has a chance to run before mod_mime_magic.
Submitted by: Paul Reder <rederpj@raleigh.ibm.com>
Reviewed by: Bill Stoddard <stoddard@raleigh.ibm.com>

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

24 years agoMore stuff to do.
Bill Stoddard [Wed, 16 Feb 2000 18:29:20 +0000 (18:29 +0000)]
More stuff to do.

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

24 years agoAdd rotatelogs to the Windows port
Bill Stoddard [Wed, 16 Feb 2000 18:00:22 +0000 (18:00 +0000)]
Add rotatelogs to the Windows port

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

24 years agomake a note that the encoding="..." attribute
Martin Kraemer [Wed, 16 Feb 2000 17:22:15 +0000 (17:22 +0000)]
make a note that the encoding="..." attribute
must always PRECEDE the var="..." attribute

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

24 years agoSome status updates
Bill Stoddard [Wed, 16 Feb 2000 16:48:32 +0000 (16:48 +0000)]
Some status updates

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

24 years agoLogs have already been opened by http_main.c. Don't need to do it here again.
Bill Stoddard [Wed, 16 Feb 2000 16:30:36 +0000 (16:30 +0000)]
Logs have already been opened by http_main.c. Don't need to do it here again.
--------------------------------------------------------

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

24 years agoTemporary hack to fix WIN32 compiles until the autoconf induced include
Bill Stoddard [Wed, 16 Feb 2000 15:08:45 +0000 (15:08 +0000)]
Temporary hack to fix WIN32 compiles until the autoconf induced include
file mess is fixed.

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

24 years agoFix the make clean rules. We must delete *.slo files or we are leaving stale
Ryan Bloom [Wed, 16 Feb 2000 00:55:51 +0000 (00:55 +0000)]
Fix the make clean rules.  We must delete *.slo files or we are leaving stale
libraries in the modules/standard directory when configured for dynamic
modules.

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

24 years agoap_dupfile (specifically dup2) is not available in a general form under Windows.
Bill Stoddard [Tue, 15 Feb 2000 22:51:23 +0000 (22:51 +0000)]
ap_dupfile (specifically dup2) is not available in a general form under Windows.
So use SetStdHandle directly. A single call to ap_dup2stderr() (or similar) could
replace the entire chunk of code in the #ifdef #else #endif block.  Ryan didn't
want to put this speciality function into APR, but we could put it into os.c
if folks are interested.

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

24 years agoDon't close the duplicated AcceptEx completion port handle in the parent.
Bill Stoddard [Tue, 15 Feb 2000 21:20:39 +0000 (21:20 +0000)]
Don't close the duplicated AcceptEx completion port handle in the parent.
Check the return code when duplicating the acceptex completion port.
Get rid of the event routine wrappers.

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

24 years agoFirst step to get piped logs working on Windows (and Unix as well).
Bill Stoddard [Tue, 15 Feb 2000 00:54:06 +0000 (00:54 +0000)]
First step to get piped logs working on Windows (and Unix as well).
There are still all kinds of problems in http_log.c. This patch just
barely scratches the surface.

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

24 years agoPort the scoreboard from the mpmt_pthread MPM to use APR's shared memory.
Ryan Bloom [Mon, 14 Feb 2000 22:20:34 +0000 (22:20 +0000)]
Port the scoreboard from the mpmt_pthread MPM to use APR's shared memory.
Tested on Linux, but it could use testing on other platforms.

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

24 years agoRework the code to handle apache -k shutdown|restart. The fundamental problem
Bill Stoddard [Mon, 14 Feb 2000 22:01:08 +0000 (22:01 +0000)]
Rework the code to handle apache -k shutdown|restart. The fundamental problem
being solved here is determining the best way to discover the Apache
parent process PID (stored in the location specified by the PidFile directive).
This patch attempts to read the config file directly to determine the
pidfile and avoids going through the motions of calling all the module initialization
routines.

This patch will not work if the pidfile directive is in a file pointed to by
an include directive. Not sure is this is a common case or not on Windows.
If it is, it is easy enough to add a bit more code to follow include
directives. An interesting modification would be to detect the presence of a \
-C directive containing a pointer to the pidfile: E.g.,
apache -k restart -C "pidfile d:/mypidfile". Let's keep it simple for now and
see what happens.

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

24 years agoEnable Windows MPM to run in single process mode
Bill Stoddard [Mon, 14 Feb 2000 14:28:16 +0000 (14:28 +0000)]
Enable Windows MPM to run in single process mode
Submitted by: Allan Edwards
Reviewed by: Bill Stoddard

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

24 years agoSet up return codes correctly in the failure case.
Bill Stoddard [Sun, 13 Feb 2000 00:39:04 +0000 (00:39 +0000)]
Set up return codes correctly in the failure case.

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

24 years agoRemove dead code.
Bill Stoddard [Sun, 13 Feb 2000 00:13:32 +0000 (00:13 +0000)]
Remove dead code.

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

24 years ago Add another module capable of doing footers.
Ken Coar [Fri, 11 Feb 2000 22:11:33 +0000 (22:11 +0000)]
Add another module capable of doing footers.

Submitted by: Brian Aker <brian@tangent.org>
Reviewed by: Ken Coar

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

24 years agoFix compile breaks on Windows. Projects need to know where to find os.h.
Bill Stoddard [Fri, 11 Feb 2000 18:52:30 +0000 (18:52 +0000)]
Fix compile breaks on Windows. Projects need to know where to find os.h.

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

24 years agoChange </a> to </A> to be consistent with remaining layout.
Ralf S. Engelschall [Fri, 11 Feb 2000 08:58:28 +0000 (08:58 +0000)]
Change </a> to </A> to be consistent with remaining layout.
Thanks to Martin for hint.

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

24 years agoMake the prefork MPM use APR shared memory for it's scoreboard.
Ryan Bloom [Thu, 10 Feb 2000 23:46:33 +0000 (23:46 +0000)]
Make the prefork MPM use APR shared memory for it's scoreboard.

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

24 years agoOne more fix. Thanks to Eric Cholet <cholet@logilune.com>
Ralf S. Engelschall [Thu, 10 Feb 2000 16:53:00 +0000 (16:53 +0000)]
One more fix. Thanks to Eric Cholet <cholet@logilune.com>

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

24 years agoMake sure we don't receive another PR where a user tried to take the
Ralf S. Engelschall [Thu, 10 Feb 2000 16:43:57 +0000 (16:43 +0000)]
Make sure we don't receive another PR where a user tried to take the
solutions exactly as written down without noticing that they usually
always have to be adjusted for local contexts.

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

24 years agoUpdate old net.sw entry to avoid confusion by the reader.
Ralf S. Engelschall [Thu, 10 Feb 2000 16:38:57 +0000 (16:38 +0000)]
Update old net.sw entry to avoid confusion by the reader.

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

24 years agoCleanup my old physical HTML markup into a logical one to
Ralf S. Engelschall [Thu, 10 Feb 2000 16:35:48 +0000 (16:35 +0000)]
Cleanup my old physical HTML markup into a logical one to
fit better into the Apache documentation.

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

24 years agoFix typos.
Ralf S. Engelschall [Thu, 10 Feb 2000 16:24:26 +0000 (16:24 +0000)]
Fix typos.

Submitted by: Howard Jones <howie@thingy.com>
PR: 5733

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

24 years agoSmall changes to remove some compiler complaints.
David Reid [Thu, 10 Feb 2000 13:24:13 +0000 (13:24 +0000)]
Small changes to remove some compiler complaints.

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

24 years agoAdd the rest of the files to allow BeOS to use the buildconf stuff.
David Reid [Thu, 10 Feb 2000 13:20:33 +0000 (13:20 +0000)]
Add the rest of the files to allow BeOS to use the buildconf stuff.
Forgot to add these last time.

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

24 years agoFix some bugs with running Apache as a service
Bill Stoddard [Wed, 9 Feb 2000 22:16:17 +0000 (22:16 +0000)]
Fix some bugs with running Apache as a service
Submitted by: Allan Edwards <ake@raleigh.ibm.com>
Reviewed by: Bill Stoddard <stoddard@raleigh.ibm.com>

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

24 years agoFix prefix handling. Before this patch, when using --prefix on the
Ryan Bloom [Wed, 9 Feb 2000 01:33:24 +0000 (01:33 +0000)]
Fix prefix handling.  Before this patch, when using --prefix on the
configure line, the binary ignored it when setting HTTPD_ROOT.  This
patch fixes that problem.

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

24 years agoWork done, bugs found.
Bill Stoddard [Tue, 8 Feb 2000 14:19:59 +0000 (14:19 +0000)]
Work done, bugs found.

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

24 years agoThis changes build.mk to use the PrintPath utility in helpers to
David Reid [Mon, 7 Feb 2000 17:16:57 +0000 (17:16 +0000)]
This changes build.mk to use the PrintPath utility in helpers to
try and keep as much portability as possible.

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

24 years agoThese changes allow the MPM to be selected based on platform. At present it
David Reid [Mon, 7 Feb 2000 12:05:22 +0000 (12:05 +0000)]
These changes allow the MPM to be selected based on platform.  At present it
works for BeOS but adding others shouldn't be hard.  Also added the OS2
MPM to the list.

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

24 years agoThese changes allow BeOS to use the new buildconf configuration.
David Reid [Mon, 7 Feb 2000 12:02:59 +0000 (12:02 +0000)]
These changes allow BeOS to use the new buildconf configuration.

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

24 years agoFix description of regex quantifiers.
Ralf S. Engelschall [Sat, 5 Feb 2000 11:44:06 +0000 (11:44 +0000)]
Fix description of regex quantifiers.

Submitted by: Carl van Tast <CvT@netway.at>
Reviewed by: Ralf S. Engelschall
PR: 5614

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

24 years agoMake clear that there are more directives which
Ralf S. Engelschall [Sat, 5 Feb 2000 11:39:54 +0000 (11:39 +0000)]
Make clear that there are more directives which
are actually not allowed in <VirtualHost> sections.

Submitted by: sehh <sehh@altered.com
PR: 5596

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

24 years agoEnhance AddCharset description.
Ralf S. Engelschall [Sat, 5 Feb 2000 11:34:36 +0000 (11:34 +0000)]
Enhance AddCharset description.

Submitted by: Youichirou Koga <y-koga@isoternet.org>
PR: 5554

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

24 years agoTry to reduce confusion over multiple and possible "conflicting"
Jim Jagielski [Sat, 5 Feb 2000 00:33:18 +0000 (00:33 +0000)]
Try to reduce confusion over multiple and possible "conflicting"
versions of the term "default" by changing AddDefaultCharset to
be of the mode Off | On | charset
PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoAPR requires that ap_initialize is called as one of the first functions.
Ryan Bloom [Thu, 3 Feb 2000 19:38:08 +0000 (19:38 +0000)]
APR requires that ap_initialize is called as one of the first functions.
It sets up the rest of the APR types.  This was causing lockups whenever
we tried to us an APR lock.

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

24 years agoStreamline the AddDefaultCharset directive. Now this one directive
Jim Jagielski [Thu, 3 Feb 2000 14:22:26 +0000 (14:22 +0000)]
Streamline the AddDefaultCharset directive. Now this one directive
controls the entire 'charset' specification setup. If there is
heartburn, I have no trouble with backing this out, but it makes
live easier for those not using the "default" charset, and reduces
directive bloat a bit :)

PR:
Obtained from:
Submitted by:
Reviewed by: Martin

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

24 years agoAdd missing references (they *WERE* in marc's first patch?!?!)
Martin Kraemer [Thu, 3 Feb 2000 11:54:28 +0000 (11:54 +0000)]
Add missing references (they *WERE* in marc's first patch?!?!)

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

24 years agoMarc's CSS patch!
Jim Jagielski [Wed, 2 Feb 2000 20:43:16 +0000 (20:43 +0000)]
Marc's CSS patch!

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

24 years agoThis patch is sure to break someone!
Bill Stoddard [Tue, 1 Feb 2000 21:05:45 +0000 (21:05 +0000)]
This patch is sure to break someone!
We need to define MODULE_VAR_EXPORT, API_EXPORT, API_VAR_EXPORT, et. al.
in an os specific way and the definitions need to be done as soon as possible
in the include file chain. I choose to use os.h as the preferred mechanism
for doing this (for now anyway) since this is they way it was done for
Apache 1.3. win32/os.h and unix/os.h probably have some Apache private macro
definitions that are being exposed publicly because of this patch. The solution
to this problem is to remove the private definitions from os.h.

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

24 years agoFinally, back working on the MPM... Eliminate DOS hole. I can see no easy way
Bill Stoddard [Tue, 1 Feb 2000 00:34:05 +0000 (00:34 +0000)]
Finally, back working on the MPM... Eliminate DOS hole. I can see no easy way
to time out AcceptEx (a.k.a., accept_and_receive) when a connection is received
but no data is sent. So, make AcceptEx just do an accept and leave the receive
to the other Apache code.

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

24 years agoThe 'canonical' name for this #define (as of Configure, ap_config_auto.h) is USE_HSREGEX
Martin Kraemer [Tue, 1 Feb 2000 00:06:14 +0000 (00:06 +0000)]
The 'canonical' name for this #define (as of Configure, ap_config_auto.h) is USE_HSREGEX

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

24 years agoEnforce a sensible permission on the httpd.pid file.
Martin Kraemer [Mon, 31 Jan 2000 23:14:41 +0000 (23:14 +0000)]
Enforce a sensible permission on the httpd.pid file.
Submitted by: Frank Miller <frankm@system-associates.com>
Reviewed by: Martin Kraemer

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

24 years agoAdd missing AddCharset directive.
Marc Slemko [Mon, 31 Jan 2000 22:56:48 +0000 (22:56 +0000)]
Add missing AddCharset directive.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoSet timeouts to sendfile operation in http_protocol.c. Fix bugs in Win32
Bill Stoddard [Mon, 31 Jan 2000 19:21:37 +0000 (19:21 +0000)]
Set timeouts to sendfile operation in http_protocol.c. Fix bugs in Win32
sendfile implementation.

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

24 years ago This really *is* a FAQ..
Ken Coar [Sun, 30 Jan 2000 15:47:42 +0000 (15:47 +0000)]
This really *is* a FAQ..

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

24 years agoremove one space...
Lars Eilebrecht [Sun, 30 Jan 2000 00:36:55 +0000 (00:36 +0000)]
remove one space...

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

24 years agoInclude ap_config.h before httpd.h, this ensures that AP_USE_HSREGEX is
Ryan Bloom [Fri, 28 Jan 2000 18:02:29 +0000 (18:02 +0000)]
Include ap_config.h before httpd.h, this ensures that AP_USE_HSREGEX is
defined correctly in all C files.

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

24 years agoMore sendfile work. Use new sendfile API in Apache, update Windows MPM
Bill Stoddard [Thu, 27 Jan 2000 05:58:00 +0000 (05:58 +0000)]
More sendfile work. Use new sendfile API in Apache, update Windows MPM
to begin using APR socket API.
Note:
sendfile on Unix side is broken. Need to detect for NULL hdtr. I'll do
it later this week if no one else steps up.

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

24 years agoGet OS/2 working with new configure system. Yay! :)
Brian Havard [Wed, 26 Jan 2000 07:51:45 +0000 (07:51 +0000)]
Get OS/2 working with new configure system. Yay! :)

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

24 years agoOnly check for pthreads for mpms that actually need it rather than assuming
Brian Havard [Wed, 26 Jan 2000 07:47:34 +0000 (07:47 +0000)]
Only check for pthreads for mpms that actually need it rather than assuming
everything except prefork needs it. Clarify threads != pthreads.

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

24 years agoOS/2 doesn't have groups, don't try to mess with them.
Brian Havard [Wed, 26 Jan 2000 07:40:11 +0000 (07:40 +0000)]
OS/2 doesn't have groups, don't try to mess with them.

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

24 years agoQuiet some warnings.
Brian Havard [Wed, 26 Jan 2000 07:07:49 +0000 (07:07 +0000)]
Quiet some warnings.
- 1 'suggest parentheses around assignment used as truth value'
- a few "subscript has type `char'"

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

24 years agoFix compile breaks on Windows.
Bill Stoddard [Sun, 23 Jan 2000 16:37:46 +0000 (16:37 +0000)]
Fix compile breaks on Windows.

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

24 years agoNote that module ordering is now done per-hook.
Manoj Kasichainula [Sat, 22 Jan 2000 04:23:56 +0000 (04:23 +0000)]
Note that module ordering is now done per-hook.
Suggested by: Ben Laurie.

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

24 years agoFix Windows compile breakage.
Bill Stoddard [Fri, 21 Jan 2000 19:24:46 +0000 (19:24 +0000)]
Fix Windows compile breakage.

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

24 years agoLet ap_config.h figure out whether netdb.h should be included or not.
Bill Stoddard [Fri, 21 Jan 2000 19:13:24 +0000 (19:13 +0000)]
Let ap_config.h figure out whether netdb.h should be included or not.
This fixes a compile problem on platforms that do not have netdb.h.

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

24 years agoAdd back the script_interpreter_source code.
Bill Stoddard [Fri, 21 Jan 2000 18:42:45 +0000 (18:42 +0000)]
Add back the script_interpreter_source code.

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

24 years agoBack out most of the last commit. Keep APR macros seperate from Apache
Bill Stoddard [Fri, 21 Jan 2000 01:25:25 +0000 (01:25 +0000)]
Back out most of the last commit. Keep APR macros seperate from Apache
macros.

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

24 years agoConvert HAVE_NETINET... to the APR mac
Bill Stoddard [Thu, 20 Jan 2000 22:14:15 +0000 (22:14 +0000)]
Convert HAVE_NETINET... to the APR mac

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

24 years agoManoj has been pushing for this for a while, but I've been too dense
Ryan Bloom [Wed, 19 Jan 2000 02:42:17 +0000 (02:42 +0000)]
Manoj has been pushing for this for a while, but I've been too dense
to understand that he was right.  :-)  Basically, this makes the modules
use ap_config to test for header file inclusion.  This method is not to
be used for larger modules that run autoconf theirselves.  Including
ap_config is only valid for modules which rely on Apache to do their
configuration.  Currently, this is only the core modules.

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

24 years agoCleanup a few things with the compile. There were also a few macro name
Ryan Bloom [Wed, 19 Jan 2000 02:09:03 +0000 (02:09 +0000)]
Cleanup a few things with the compile.  There were also a few macro name
changes I missed earlier.

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

24 years agoFix Windows compile break. Gotta find a better way to fix this.
Bill Stoddard [Wed, 19 Jan 2000 01:33:16 +0000 (01:33 +0000)]
Fix Windows compile break. Gotta find a better way to fix this.

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

24 years agoFix compile break on Windows and update to use ap_stat()
Bill Stoddard [Wed, 19 Jan 2000 01:28:37 +0000 (01:28 +0000)]
Fix compile break on Windows and update to use ap_stat()

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

24 years agoFinish the commits for the change in the header files. Basically, this hides
Ryan Bloom [Wed, 19 Jan 2000 01:16:31 +0000 (01:16 +0000)]
Finish the commits for the change in the header files.  Basically, this hides
all of the Apache macros that modules don't need access to.  This should
have been committed with the modules, but I wasn't paying attention to the
directory I was in when I ran the commit.
Submitted by: Manoj Kasichainula and Ryan Bloom

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

24 years agoThis is a huge change to the configure system. Basically, this name space
Ryan Bloom [Tue, 18 Jan 2000 23:41:56 +0000 (23:41 +0000)]
This is a huge change to the configure system.  Basically, this name space
protects most, if not all, of the Apache macros.   This has been tested on
Linux using all of the Unix MPM's.  The biggest push was that Apache's
httpd.h header file can no longer include the ap_config.h file.  Most of the
other files include this themselves now.
Submitted by: Ryan Bloom and Manoj Kasichainula

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

24 years agoDocumentation for the Netware port
Bill Stoddard [Tue, 18 Jan 2000 19:32:49 +0000 (19:32 +0000)]
Documentation for the Netware port
Submitted by: Mike Gardiner

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

24 years agoThe start of a 2.0 changes document. This will be a basis for Manoj's
Manoj Kasichainula [Mon, 17 Jan 2000 21:03:08 +0000 (21:03 +0000)]
The start of a 2.0 changes document. This will be a basis for Manoj's
ApacheCon 2000 presentation, so please add to this. :)

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

24 years agoRemove vestiges of automake.
Manoj Kasichainula [Mon, 17 Jan 2000 20:34:44 +0000 (20:34 +0000)]
Remove vestiges of automake.

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

24 years agoUpdate Windows port to new file_io and time specs
Bill Stoddard [Mon, 17 Jan 2000 19:37:55 +0000 (19:37 +0000)]
Update Windows port to new file_io and time specs

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

24 years agoAt least add a pointer to Andrew Ford's cronolog utility, now that it's
Martin Kraemer [Sun, 16 Jan 2000 20:52:30 +0000 (20:52 +0000)]
At least add a pointer to Andrew Ford's cronolog utility, now that it's
under the Ap.License

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

24 years agoMove threads/reentrancy m4 macros into threads.m4. All results are now
Sascha Schumann [Sun, 16 Jan 2000 20:00:51 +0000 (20:00 +0000)]
Move threads/reentrancy m4 macros into threads.m4. All results are now
cached and can be made easily available to Apache and APR.

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

24 years agoRewrite pthreads check to be more tool-independent, and propagate flags
Sascha Schumann [Sun, 16 Jan 2000 18:24:39 +0000 (18:24 +0000)]
Rewrite pthreads check to be more tool-independent, and propagate flags
to APR.

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

24 years agoRemove config.cache, if configure is rebuilt
Sascha Schumann [Sun, 16 Jan 2000 18:20:17 +0000 (18:20 +0000)]
Remove config.cache, if configure is rebuilt

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

24 years agoRemove dependency on automake's aclocal. We continue to use acinclude.m4,
Sascha Schumann [Sun, 16 Jan 2000 17:18:13 +0000 (17:18 +0000)]
Remove dependency on automake's aclocal. We continue to use acinclude.m4,
because aclocal.m4 needs to contain libtool's m4 macros.

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

24 years agoMissed this file! So here it is...
David Reid [Sat, 15 Jan 2000 20:15:08 +0000 (20:15 +0000)]
Missed this file!  So here it is...

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

24 years agoThe remaining files for the new documentation.
David Reid [Sat, 15 Jan 2000 20:13:50 +0000 (20:13 +0000)]
The remaining files for the new documentation.

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

24 years agoAnother file for the documentation.
David Reid [Sat, 15 Jan 2000 18:35:04 +0000 (18:35 +0000)]
Another file for the documentation.

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

24 years agoThis attempts to make more sense of the documentation along the lines of my
David Reid [Sat, 15 Jan 2000 18:34:14 +0000 (18:34 +0000)]
This attempts to make more sense of the documentation along the lines of my
suggestion about a week ago.  Now when I figure out how to move files...

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

24 years agoWe're building Apache, not PHP.
Ben Laurie [Sat, 15 Jan 2000 15:37:52 +0000 (15:37 +0000)]
We're building Apache, not PHP.

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

24 years agoFix OS/390 binbuild break
Bill Stoddard [Thu, 13 Jan 2000 16:02:09 +0000 (16:02 +0000)]
Fix OS/390 binbuild break
Submitted by: Greg Ames

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

24 years agogcc on AIX takes -mthreads. I wonder what they smoked during creating
Sascha Schumann [Wed, 12 Jan 2000 20:41:57 +0000 (20:41 +0000)]
gcc on AIX takes -mthreads. I wonder what they smoked during creating
all those wonderful flags.

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

24 years agoFix some remaining problems with SSI's and Windows. Basically, the
Ryan Bloom [Wed, 12 Jan 2000 18:20:43 +0000 (18:20 +0000)]
Fix some remaining problems with SSI's and Windows.  Basically, the
sendfile stuff doesn't work properly with chuncked data.
Submitted by: Allan Edwards
Reviewed by: Ryan Bloom

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

24 years ago`-follow' is a GNU extension, remove it.
Sascha Schumann [Wed, 12 Jan 2000 16:55:58 +0000 (16:55 +0000)]
`-follow' is a GNU extension, remove it.

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

24 years agoRevert the scoreboard change because Jim doesn't like it.
Tony Finch [Wed, 12 Jan 2000 15:54:46 +0000 (15:54 +0000)]
Revert the scoreboard change because Jim doesn't like it.

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

24 years agoBe more explicit about the performance of UseCanonicalName DNS
Tony Finch [Wed, 12 Jan 2000 01:18:07 +0000 (01:18 +0000)]
Be more explicit about the performance of UseCanonicalName DNS
after the scoreboard change.

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

24 years agoMake OS selection work for non-UNIX cases
Sascha Schumann [Tue, 11 Jan 2000 17:28:28 +0000 (17:28 +0000)]
Make OS selection work for non-UNIX cases

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

24 years agoThese changes are committed together, because they depend on each other.
Sascha Schumann [Tue, 11 Jan 2000 13:11:13 +0000 (13:11 +0000)]
These changes are committed together, because they depend on each other.

    -   shared modules can be built in the tree
    -   added support for --with-layout, uses APACI's config.layout
    -   working 'make install'
    -   working 'make depend'
    -   working Pthreads checks
    -   buildconf replaced

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

24 years agoUpdate .cvsignore files
Sascha Schumann [Tue, 11 Jan 2000 13:04:01 +0000 (13:04 +0000)]
Update .cvsignore files

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

24 years agoRework ap_finfo_t to split the file type out of the protection field.
Brian Havard [Mon, 10 Jan 2000 15:35:51 +0000 (15:35 +0000)]
Rework ap_finfo_t to split the file type out of the protection field.
I've taken a stab at the unix implementation but tested only on OS/2.

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

24 years agotime overhaul:
dgaudet [Sun, 9 Jan 2000 05:18:31 +0000 (05:18 +0000)]
time overhaul:

- ap_time_t is a 64-bit scalar, microseconds since epoch
- ap_exploded_time_t corresponds to struct tm with a few extras

probably broken on anything except linux.

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

24 years agoadd missing compatiblity info
Lars Eilebrecht [Sat, 8 Jan 2000 19:57:29 +0000 (19:57 +0000)]
add missing compatiblity info

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

24 years agoMake our nitpicking and complaining guys happy:
Ralf S. Engelschall [Sat, 8 Jan 2000 14:50:14 +0000 (14:50 +0000)]
Make our nitpicking and complaining guys happy:

Added the mod_rewrite `URL Rewriting Guide' to the online documentation
(htdocs/manual/misc/rewriteguide.html). This paper provides a large
collection of practical solutions to URL based problems a webmaster is
often confronted with.

This version of the text was translated from my WML source on my website
and my old official version is now discarded. So, as it was requested,
this can be treated as an official donation of this text to the ASF.
This way the ASF is now the official owner of this text.

                               - - -

<IRONIC>
Be happy and give Ken and Jim the credit for achieving this by being
such sensitive and friendly to other developers like me and always
reminding us that it is such contemptuous to implicitly promote ones
name by writing free software and contributing to projects like Apache.
Sorry that I have forgotten to donate this piece of text to the ASF in
the past and instead added such a contemptible hyperlink directing to a
page on www.engelschall.com. I hope this is now fixed and the closed and
holy ASF world is rescued again.
</IRONIC>

<PERSONAL>
I think, I don't have to say that I'm more than angry and disappointed
how developers like me are constantly bashed in the ASF... we can go for
it also in the future, but we should stop looking astonished all the
time if we find out that too less people contribute to the ASF and old
developers like me no longer have a warm feeling here, please. It's our
own fault in thinking that contributions are for free and anonymous just
because our project is a group effort.

IMHO we already have forgotten the golden rule of Open Source
development: if one wants happy and long-term contributing developers
one especially has to make sure they receive the requested credit.
There is an upper limit a project can accept to give, of course. But
credit always has to depend on the amount, quality _and_ duration of
contribution and IMHO cannot be judged by stating that just all people
are equal and so some contributors can be bashed for the fact that their
name occurs more often.

It is correct that my name occurs more often caused by the fact that I
always try to bring in my stuff to the project. But keep in mind that
this is because I _HAVE_ stuff to bring in which I've created _OUTSIDE_
the project. So I think its unfair to bash me just because I try harder
to bring in my additional stuff. If a developer has not much externally
created stuff, he cannot bring it in to the project, of course. But just
because one has more externally created stuff and tries to bring it in,
is IMHO no reason and excuse to bash him for this. It's not my fault
that I write in my freetime more Open Source packages like most of you.

So if you dislike stuff developers want to bring in, decide on the
contribution based on fair technical arguments (pros and cons). But
don't judge the contributions all the time just because you think this
way you "promote" someone (be it RSE, GNU or whoever else). Hell, an
Open Source project is not a group of people to rule their own closed
world and be celebrated in the press for this. It's still an effort to
create the best piece of _software_ money can't buy. So you should stop
thinking about contributors as our enemy. They are the main driving
force of every project, although some people seem to not understand
this at all. And whatever you think about my personal opinion, but
IMHO it's not bad for a project if someone's name is "promoted" with
it, too. What is actually bad are those complains and discussions
which make developers angry and the fact that they result in even less
contributions.
</PERSONAL>

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

24 years agoMove some modules over to using ap_time_t instead of struct tm.
Ryan Bloom [Fri, 7 Jan 2000 20:38:06 +0000 (20:38 +0000)]
Move some modules over to using ap_time_t instead of struct tm.

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

24 years agoit's -> its
Martin Kraemer [Fri, 7 Jan 2000 16:38:08 +0000 (16:38 +0000)]
it's -> its

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

24 years agoFix the rest of the modules to work with the new APR stat structure.
Ryan Bloom [Fri, 7 Jan 2000 15:52:21 +0000 (15:52 +0000)]
Fix the rest of the modules to work with the new APR stat structure.

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