]> granicus.if.org Git - apache/log
apache
23 years agoAvoid using sscanf to determine the HTTP protocol number in
Bill Stoddard [Fri, 16 Mar 2001 04:17:38 +0000 (04:17 +0000)]
Avoid using sscanf to determine the HTTP protocol number in
the common case because sscanf is a performance hog. From
Mike Abbot's Accelerating Apache patch number 6.

Submitted by: Mike Abbot <mja@trudge.engr.sgi.com>
Reviewed by: Bill Stoddard

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

23 years ago Fix a security exposure in mod_access. Previously when IPv6
Jeff Trawick [Thu, 15 Mar 2001 22:09:27 +0000 (22:09 +0000)]
 Fix a security exposure in mod_access.  Previously when IPv6
listening sockets were used, allow/deny-from-IPv4-address rules
were not evaluated properly (PR #7407).  Also, add the ability to
specify IPv6 address strings with optional prefix length on Allow
and Deny.

Note: A bit more of PR #7407 remains dealing with a problem with
double-reverse lookups when an IPv6 listening socket is used.

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

23 years agoInclude some newly-generated files in .cvsignore.
Jeff Trawick [Thu, 15 Mar 2001 12:07:29 +0000 (12:07 +0000)]
Include some newly-generated files in .cvsignore.

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

23 years agoPull in the Connection handling part of the v1.3 patch for HTTP/1.1.
Graham Leggett [Wed, 14 Mar 2001 21:16:41 +0000 (21:16 +0000)]
Pull in the Connection handling part of the v1.3 patch for HTTP/1.1.
Some preliminary HTTP/1.1 work
Some comments and fixes
PR:
Obtained from:
Reviewed by:

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

23 years agodbmmanage, log_server_status, et al are now generated files; get them
Jeff Trawick [Wed, 14 Mar 2001 12:17:41 +0000 (12:17 +0000)]
dbmmanage, log_server_status, et al are now generated files; get them
out of CVS

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

23 years agofix a sprintf() format string; use APR_OFF_T_FMT for apr_off_t as %ld
Jeff Trawick [Wed, 14 Mar 2001 02:32:03 +0000 (02:32 +0000)]
fix a sprintf() format string; use APR_OFF_T_FMT for apr_off_t as %ld
doesn't work everywhere (e.g., FreeBSD)

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

23 years agoinclude string.h for the strstr() prototype
Jeff Trawick [Wed, 14 Mar 2001 02:28:23 +0000 (02:28 +0000)]
include string.h for the strstr() prototype

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

23 years agoCheck in not-quite-working hooks groupings.
Ben Laurie [Tue, 13 Mar 2001 22:20:55 +0000 (22:20 +0000)]
Check in not-quite-working hooks groupings.

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

23 years agosmall updates on daedalus
Greg Ames [Tue, 13 Mar 2001 22:09:32 +0000 (22:09 +0000)]
small updates on daedalus

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

23 years ago Enhance customisability of rotatelogs: strftime(3)
Ken Coar [Tue, 13 Mar 2001 21:25:28 +0000 (21:25 +0000)]
Enhance customisability of rotatelogs: strftime(3)
formatting of filename and offset from UTC.

Reviewed by: Greg Stein, David Reid, OtherBill

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

23 years ago*) mod_dav.c: allow PUT to a WORKING resource (this actually the only valid
Greg Stein [Tue, 13 Mar 2001 02:13:55 +0000 (02:13 +0000)]
*) mod_dav.c: allow PUT to a WORKING resource (this actually the only valid
   place to do a PUT(!))

*) util.c: add a comment. allow validation to proceed without a lock
   database (the rest of the code supported it; one erroneous check disabled
   that work)

*) util_lock.c: allow dav_unlock() to be a no-op when a lock provide isn't
   present; this allows DELETE to work.

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

23 years agoConsolidate ap_max_requests_per_child and max_requests_per_child vars. Move
Bill Stoddard [Mon, 12 Mar 2001 18:10:49 +0000 (18:10 +0000)]
Consolidate ap_max_requests_per_child and max_requests_per_child vars. Move
some vars closer to where they are used (listenfds, et, al)

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

23 years agoSome mpm_winnt module clean-up to make it more readable.
Bill Stoddard [Mon, 12 Mar 2001 18:01:23 +0000 (18:01 +0000)]
Some mpm_winnt module clean-up to make it more readable.

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

23 years agoGet rid of useless function call overhead.
Bill Stoddard [Mon, 12 Mar 2001 17:37:02 +0000 (17:37 +0000)]
Get rid of useless function call overhead.

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

23 years ago *) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling
Bill Stoddard [Mon, 12 Mar 2001 17:29:02 +0000 (17:29 +0000)]
  *) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling
     DuplicateHandle on an IOCompletionPort (a practice which
     MS "discourages"). The new model does not rely on associating
     the completion port with the listening sockets, thus the
     completion port can be completely managed within the child
     process.  A dedicated thread accepts connections off the network,
     then calls PostQueuedCompletionStatus() to wake up worker
     threads blocked on the completion port.
     [Bill Stoddard]

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

23 years ago Bring the other Perl scripts into the autoconf-edited
Ken Coar [Sun, 11 Mar 2001 23:40:47 +0000 (23:40 +0000)]
Bring the other Perl scripts into the autoconf-edited
find-the-interpreter fold, like apxs and apachectl.

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

23 years agoMore doxygenation.
Ben Laurie [Sun, 11 Mar 2001 23:24:56 +0000 (23:24 +0000)]
More doxygenation.

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

23 years ago Bring forward the suexec umask setting option from 1.3, and
Ken Coar [Sun, 11 Mar 2001 23:22:32 +0000 (23:22 +0000)]
Bring forward the suexec umask setting option from 1.3, and
also fix some configure.in bits that would define macros
that needed to be numbers as strings instead.

Obtained from: Apache HTTP Server 1.3

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

23 years agoMake emacs indent top-level comments in headers correctly.
Ben Laurie [Sun, 11 Mar 2001 20:49:37 +0000 (20:49 +0000)]
Make emacs indent top-level comments in headers correctly.

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

23 years agoOtherBill told me last night that I never bumped for 2.0.15. Whoops.
Ryan Bloom [Sun, 11 Mar 2001 15:01:18 +0000 (15:01 +0000)]
OtherBill told me last night that I never bumped for 2.0.15.  Whoops.

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

23 years agoFirst step in doxygen conversion.
Ben Laurie [Sun, 11 Mar 2001 14:54:13 +0000 (14:54 +0000)]
First step in doxygen conversion.

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

23 years agoactually dump the cache code
Chuck Murcko [Sun, 11 Mar 2001 11:55:33 +0000 (11:55 +0000)]
actually dump the cache code
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoremove ProxyNoCache and ProxyCacheForceCompletion config directives,
Chuck Murcko [Sun, 11 Mar 2001 11:08:22 +0000 (11:08 +0000)]
remove ProxyNoCache and ProxyCacheForceCompletion config directives,
since we no longer directly cache from this module
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoCache removed, with other spooge
Chuck Murcko [Sun, 11 Mar 2001 10:42:14 +0000 (10:42 +0000)]
Cache removed, with other spooge
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoVirtual host config file fix backported from v1.3
Graham Leggett [Sat, 10 Mar 2001 21:19:21 +0000 (21:19 +0000)]
Virtual host config file fix backported from v1.3
PR:
Obtained from:
Reviewed by:

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

23 years agotweak ap_get_remote_host() so that the caller can find out if she got
Jeff Trawick [Fri, 9 Mar 2001 20:30:34 +0000 (20:30 +0000)]
tweak ap_get_remote_host() so that the caller can find out if she got
back an IP address

mod_access needed to know this, but the old code didn't handle IPv6

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

23 years ago Bring forward the -V option for suexec from 1.3.20-dev. It looks
Ken Coar [Fri, 9 Mar 2001 20:20:31 +0000 (20:20 +0000)]
Bring forward the -V option for suexec from 1.3.20-dev.  It looks
like the umask() option needs to be brought forward, as well.
Is this still 2.0.14-dev?

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

23 years agoFix a Windows seg fault on startup when multiple listen directives are being used.
Bill Stoddard [Fri, 9 Mar 2001 18:28:55 +0000 (18:28 +0000)]
Fix a Windows seg fault on startup when multiple listen directives are being used.

The pool pointer in the local address field in apr_sock_t is not initialized until a
request is received.  in general, we should not rely on the addressed in apr_sock_t
when doing work on the listen_recs.

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

23 years agodon't try to install expat, since it isn't there anymore.
Ryan Bloom [Fri, 9 Mar 2001 04:36:48 +0000 (04:36 +0000)]
don't try to install expat, since it isn't there anymore.

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

23 years agoAlways clear the C-L if we are going to try to parse the file. It is
Ryan Bloom [Thu, 8 Mar 2001 20:03:37 +0000 (20:03 +0000)]
Always clear the C-L if we are going to try to parse the file.  It is
impossible for us to determine if there is going to be an SSI tag in the
file until we have actually scanned it all.  By that time, it is likely
that the first chunk of data, and the headers have been sent to the client,
and it is too late to clear the C-L.  If we are parsing the file, we have
to just assume we are going to change the content.

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

23 years agoGet us closer to building on Unix. Not perfect yet, but we no longer
Ryan Bloom [Thu, 8 Mar 2001 18:20:25 +0000 (18:20 +0000)]
Get us closer to building on Unix.  Not perfect yet, but we no longer
should look for expat in srclib.

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

23 years ago Goodbye srclib/expat ... completes the build for srclib/apr-util/xml/expat
William A. Rowe Jr [Thu, 8 Mar 2001 16:12:34 +0000 (16:12 +0000)]
  Goodbye srclib/expat ... completes the build for srclib/apr-util/xml/expat

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

23 years ago Refreshing the .mak files. Dang... should have done this in the a.m.
William A. Rowe Jr [Thu, 8 Mar 2001 05:38:17 +0000 (05:38 +0000)]
  Refreshing the .mak files.  Dang... should have done this in the a.m.

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

23 years ago A one line snafu becomes a big one... sorry, forgot to transpose this.
William A. Rowe Jr [Thu, 8 Mar 2001 05:19:47 +0000 (05:19 +0000)]
  A one line snafu becomes a big one... sorry, forgot to transpose this.

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

23 years ago Minor snafu - wrong intermediate build path
William A. Rowe Jr [Thu, 8 Mar 2001 05:05:06 +0000 (05:05 +0000)]
  Minor snafu - wrong intermediate build path

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

23 years agoUpdate the STATUS for the current situation
Ryan Bloom [Thu, 8 Mar 2001 04:42:46 +0000 (04:42 +0000)]
Update the STATUS for the current situation

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

23 years agoturn on setuid permissions when installing suexec
Greg Ames [Wed, 7 Mar 2001 23:13:55 +0000 (23:13 +0000)]
turn on setuid permissions when installing suexec

Submitted by: Ken Coar

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

23 years agoWhat ever happened to that blizzard we were supposed to get?
Cliff Woolley [Wed, 7 Mar 2001 20:11:50 +0000 (20:11 +0000)]
What ever happened to that blizzard we were supposed to get?

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

23 years agoBump for version 2.0.14
Ryan Bloom [Wed, 7 Mar 2001 19:13:37 +0000 (19:13 +0000)]
Bump for version 2.0.14

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

23 years agoFix content-length computation. We ONLY compute a content-length if
Ryan Bloom [Wed, 7 Mar 2001 17:01:28 +0000 (17:01 +0000)]
Fix content-length computation.  We ONLY compute a content-length if
We are not in a 1.1 request and we cannot chunk, and this is a keepalive
or we already have all the data.

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

23 years agoA little more information on the problems seen on Daedalus with 2.0,
Cliff Woolley [Wed, 7 Mar 2001 00:10:19 +0000 (00:10 +0000)]
A little more information on the problems seen on Daedalus with 2.0,
plus a note about another problem that apparently fell through the cracks.

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

23 years agolog our unresolved problems from daedalus in a visible place.
Greg Ames [Tue, 6 Mar 2001 23:12:10 +0000 (23:12 +0000)]
log our unresolved problems from daedalus in a visible place.

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

23 years agoReport unbounded containers in the config file. Previously, a typo
Jeff Trawick [Tue, 6 Mar 2001 21:46:12 +0000 (21:46 +0000)]
Report unbounded containers in the config file.  Previously, a typo
in the </container> directive could result in the rest of the config
file being silently ignored, with undesired defaults used.

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

23 years agoFix a screw up of my own invention. I must be getting senile.
Victor J. Orlikowski [Tue, 6 Mar 2001 02:41:47 +0000 (02:41 +0000)]
Fix a screw up of my own invention. I must be getting senile.

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

23 years agoUpdates to the symbol file, in an attempt to finally repair DSOs on AIX.
Victor J. Orlikowski [Tue, 6 Mar 2001 02:31:16 +0000 (02:31 +0000)]
Updates to the symbol file, in an attempt to finally repair DSOs on AIX.

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

23 years agoRely on APR to determine whether or not we have netinet/tcp.h. This test
Jeff Trawick [Mon, 5 Mar 2001 20:15:15 +0000 (20:15 +0000)]
Rely on APR to determine whether or not we have netinet/tcp.h.  This test
requires a special work-around for IRIX 6.5, which will be in APR soon.
There is no need for it in Apache.

The include of netinet/tcp.h was removed from perchild.c and threaded.c.
They no longer seem to be needed there.

PR: 6459

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

23 years agoMake the old_write filter use the ap_f* functions for buffering the data.
Ryan Bloom [Mon, 5 Mar 2001 06:16:28 +0000 (06:16 +0000)]
Make the old_write filter use the ap_f* functions for buffering the data.
This has been tested with a couple of directory listings, but it could
probably use a bit more testing before being declared stable.

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

23 years agoAnother chunk of code from http to core. This should continue to build
Ryan Bloom [Mon, 5 Mar 2001 04:43:56 +0000 (04:43 +0000)]
Another chunk of code from http to core.  This should continue to build
on all platforms.  The next job is to shuffle functions back and forth
so that the server builds without mod_http.

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

23 years ago Win32 goodness for the core/http split.
William A. Rowe Jr [Sun, 4 Mar 2001 22:41:41 +0000 (22:41 +0000)]
  Win32 goodness for the core/http split.

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

23 years agoGet the beos mpm building again following the recent addition of the
David Reid [Sun, 4 Mar 2001 18:13:32 +0000 (18:13 +0000)]
Get the beos mpm building again following the recent addition of the
MPM query API.

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

23 years agoThe ap_r* vote is now over. The decision was decidedly for the OLD_WRITE
Ryan Bloom [Sun, 4 Mar 2001 17:44:07 +0000 (17:44 +0000)]
The ap_r* vote is now over.  The decision was decidedly for the OLD_WRITE
filter.  This adds a note in the STATUS file to ensure that it gets
modified to use the correct functions before we release.

For completeness, the vote was:

macros: rbb wrowe
old_write: gstein stoddard coar ben jwoolley

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

23 years agoMove more code from the http module into the core server. This
Ryan Bloom [Sun, 4 Mar 2001 06:27:27 +0000 (06:27 +0000)]
Move more code from the http module into the core server.  This
is core code, basically the default handler, the default input
and output filters, and all of the core configuration directives.
All of this code is required in order for the server to work, with or
without HTTP.  The server is closer to working without the HTTP
module, although there is still more to do.

I tried to fix Windows, but somebody should probably make sure I did
it correctly.

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

23 years agomention the changes to Apache for PR #6980
Jeff Trawick [Sat, 3 Mar 2001 02:29:40 +0000 (02:29 +0000)]
mention the changes to Apache for PR #6980

PR: 6980

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

23 years agoUse a proper prototype for ap_show_directives() and ap_show_modules() so
Jeff Trawick [Sat, 3 Mar 2001 02:13:49 +0000 (02:13 +0000)]
Use a proper prototype for ap_show_directives() and ap_show_modules() so
that they match their prototypes in http_config.h.

PR: 6980

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

23 years agoGet rid of unnecessary apr_status_t variables in a couple of functions.
Jeff Trawick [Sat, 3 Mar 2001 02:01:30 +0000 (02:01 +0000)]
Get rid of unnecessary apr_status_t variables in a couple of functions.

In load_file(), use apr_dso_error() instead of apr_strerror() to build
an error message after a apr_dso_load() failure.

PR: 6980

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

23 years agoFix some APR-ization issues:
Jeff Trawick [Sat, 3 Mar 2001 01:46:16 +0000 (01:46 +0000)]
Fix some APR-ization issues:

1) we're using an apr_time_t file mtime, but trying to fit it in
   a time_t entry in the cache and in parameters to the cache
   access routines; use apr_time_t everywhere

2) we need to use apr_fileperms_t instead of mode_t for APR
   file permissions

PR: 6980

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

23 years agopurple, yellow, and aqua.
Greg Stein [Sat, 3 Mar 2001 01:07:00 +0000 (01:07 +0000)]
purple, yellow, and aqua.

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

23 years agoAllow modules to query the MPM about it's execution profile. This
Ryan Bloom [Fri, 2 Mar 2001 22:46:33 +0000 (22:46 +0000)]
Allow modules to query the MPM about it's execution profile.  This
query API can and should be extended in the future, but for now,
max_daemons, and threading or forking is a very good start.

Non-Unix MPM's do have the MPM query function, although there is no
garauntee that the information is perfect, please check.

Submitted by: Jon Travis <jtravis@covalent.net>

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

23 years agoIn ap_method_in_list(), fix a typo which inadvertently cleared
Jeff Trawick [Fri, 2 Mar 2001 22:05:39 +0000 (22:05 +0000)]
In ap_method_in_list(), fix a typo which inadvertently cleared
l->method_list.

PR: 6980

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

23 years agoget rid of unused parameter filename to function get_req()
Jeff Trawick [Fri, 2 Mar 2001 22:00:30 +0000 (22:00 +0000)]
get rid of unused parameter filename to function get_req()

PR: 6980

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

23 years agono need to calculate the config file name in display_info() since we
Jeff Trawick [Fri, 2 Mar 2001 21:51:00 +0000 (21:51 +0000)]
no need to calculate the config file name in display_info() since we
don't have to read it

PR: 6980

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

23 years agoget rid of unused variable b_copy in function handle_echo()
Jeff Trawick [Fri, 2 Mar 2001 21:44:14 +0000 (21:44 +0000)]
get rid of unused variable b_copy in function handle_echo()

PR: 6980

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

23 years agoBack out an unintended commit from a minute ago. Ouch!
Jeff Trawick [Fri, 2 Mar 2001 21:38:29 +0000 (21:38 +0000)]
Back out an unintended commit from a minute ago.  Ouch!

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

23 years agoUse the proper enum for the block/non-block parameter to apr_bucket_read().
Jeff Trawick [Fri, 2 Mar 2001 21:36:21 +0000 (21:36 +0000)]
Use the proper enum for the block/non-block parameter to apr_bucket_read().
A couple of these changed in meaning (e.g., 1->APR_BLOCK_READ).

PR: 6980

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

23 years agoin rfc1413_query():
Jeff Trawick [Fri, 2 Mar 2001 19:46:08 +0000 (19:46 +0000)]
in rfc1413_query():
  use the buflen variable even on ASCII machines to get rid of a
  warning from the SGI compiler as well as to make it go a wee
  bit faster

PR: 6980

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

23 years agofix the type of ap_my_pid and make it static since it is used
Jeff Trawick [Fri, 2 Mar 2001 18:52:23 +0000 (18:52 +0000)]
fix the type of ap_my_pid and make it static since it is used
in only one file per build (prefork.c or threaded.c)
PR: 6980

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

23 years agofix make install so that suexec is installed where the server expects to
Greg Ames [Fri, 2 Mar 2001 15:46:14 +0000 (15:46 +0000)]
fix make install so that suexec is installed where the server expects to
find it ( <prefix>/sbin by default).

also enable ./configure --sbindir=DIR to work as advertised.

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

23 years agoModify mod_include to send blocks of data no larger than 9k.
Ryan Bloom [Fri, 2 Mar 2001 06:58:00 +0000 (06:58 +0000)]
Modify mod_include to send blocks of data no larger than 9k.
Without this, mod_include will wait until the whole file is parsed,
or the first tag is found to send any data to the client.
Submitted by:   Paul J. Reder <rederpj@raleigh.ibm.com>

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

23 years agoFix mod_info, so that <Directory> and <Location> directives are
Ryan Bloom [Fri, 2 Mar 2001 05:50:05 +0000 (05:50 +0000)]
Fix mod_info, so that <Directory> and <Location> directives are
not displayed twice when displaying the current configuration.

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

23 years agoDon't directly include ap_config_auto.h directly. It isn't available on
Greg Stein [Thu, 1 Mar 2001 00:55:03 +0000 (00:55 +0000)]
Don't directly include ap_config_auto.h directly. It isn't available on
Windows platforms. Including ap_config.h will pick it up, or it will grab
the appropriate Windows header/defines.

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

23 years agoFix a problem displaying status when a threaded MPM is used.
Jeff Trawick [Wed, 28 Feb 2001 18:41:44 +0000 (18:41 +0000)]
Fix a problem displaying status when a threaded MPM is used.

The line

   int indx = (i * HARD_THREAD_LIMIT) + j;

in the vicinity of the change was bad; k needed to be added
instead of j.

I swapped the use of j and k in this section so that i and j
had the same meaning as in an earlier nested loop.  I suspect
that the difference in meaning is what led to the bug.

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

23 years agoPass the correct worker thread id to worker_thread() when the initial
Jeff Trawick [Wed, 28 Feb 2001 18:23:37 +0000 (18:23 +0000)]
Pass the correct worker thread id to worker_thread() when the initial
thread of the child process becomes a worker thread.

Prior to this, perchild segfaulted over and over at startup.

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

23 years ago More crufty stuff
William A. Rowe Jr [Wed, 28 Feb 2001 16:28:52 +0000 (16:28 +0000)]
  More crufty stuff

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

23 years ago Crufty stuff now gone [Ben indicated this was a first hack that was
William A. Rowe Jr [Wed, 28 Feb 2001 16:19:47 +0000 (16:19 +0000)]
  Crufty stuff now gone [Ben indicated this was a first hack that was
  never pursued.]

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

23 years ago Moved to modules/arch/win32/
William A. Rowe Jr [Wed, 28 Feb 2001 16:10:00 +0000 (16:10 +0000)]
  Moved to modules/arch/win32/

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

23 years ago Hmmm... missed one. There has to be a better home for this.
William A. Rowe Jr [Wed, 28 Feb 2001 15:31:29 +0000 (15:31 +0000)]
  Hmmm... missed one.  There has to be a better home for this.

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

23 years ago Goodbye ap_send_http_header
William A. Rowe Jr [Wed, 28 Feb 2001 15:24:09 +0000 (15:24 +0000)]
  Goodbye ap_send_http_header

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

23 years ago Another missing AP_DECLARE mismatch
William A. Rowe Jr [Wed, 28 Feb 2001 15:13:30 +0000 (15:13 +0000)]
  Another missing AP_DECLARE mismatch

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

23 years agouse ISO-8859-1
Eric Cholet [Wed, 28 Feb 2001 10:57:26 +0000 (10:57 +0000)]
use ISO-8859-1
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agocore_pre_config isn't needed
Greg Stein [Wed, 28 Feb 2001 07:43:12 +0000 (07:43 +0000)]
core_pre_config isn't needed

Submitted by: Cliff Woolley

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

23 years agoRemove references to apr_bucket_init_types() and
Cliff Woolley [Wed, 28 Feb 2001 04:48:44 +0000 (04:48 +0000)]
Remove references to apr_bucket_init_types() and
apr_bucket_insert_type().  I imagine that core_pre_config() could
go away completely, but I'll leave that to someone who knows
more about hooks than I do.

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

23 years agoAdjusted links for files being moved into platform/ (were ./, now ../).
Chris Pepper [Wed, 28 Feb 2001 04:41:24 +0000 (04:41 +0000)]
Adjusted links for files being moved into platform/ (were ./, now ../).
Matched up <p></p> & <pre></pre>.
Fixed misspellings.
Fixed links to ../install-tpf.html & ebcdic.html (which should probably be
moved down into platform/).
Changed links to windows.html#test to windows.html@cmdline.
Entities encoded.
Changed bogus <emp> tags to <em>.

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

23 years agoMore entity quoting.
Chris Pepper [Wed, 28 Feb 2001 03:40:40 +0000 (03:40 +0000)]
More entity quoting.
<p></p> & <a></a> cleanup.
Removed link to mod_cookies.html (missing in 2.0).
Fixed <a name="#.
Fixed link to fragment removed from mod_proxy.html.

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

23 years agoSome cleanup on the 2.0 FAQ carried over from 1.3. May be irrelevant soon,
Chris Pepper [Wed, 28 Feb 2001 03:36:00 +0000 (03:36 +0000)]
Some cleanup on the 2.0 FAQ carried over from 1.3. May be irrelevant soon,
or it may give us a better starting point for 2.0 improvements.
Fixed a bunch of <p>...</p> matches.
Removed 1.3 upgrade recommendation.
Fixed some entity encodings.
Updated a bunch of links that moved from core.html to mpm_common.html.
Fixed a few bad/stale links.
Fixed a decrement that was interfering with comment.

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

23 years agoMove link on httpd command line documentation. Add link to
Joshua Slive [Tue, 27 Feb 2001 21:45:02 +0000 (21:45 +0000)]
Move link on httpd command line documentation.  Add link to
scoreboardfile directive documentation.

Submitted by: Herve Dumont <hdumont@club-internet.fr>

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

23 years agoSome details on mod_rewrite variables.
Joshua Slive [Tue, 27 Feb 2001 21:36:14 +0000 (21:36 +0000)]
Some details on mod_rewrite variables.

Submitted by: Miguel Cruz <mnc@un.u.nu>

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

23 years agoUpdate to reflect the absence of the apr_bucket_shared
Cliff Woolley [Tue, 27 Feb 2001 21:02:15 +0000 (21:02 +0000)]
Update to reflect the absence of the apr_bucket_shared
struct and the newly-added start field of the apr_bucket struct

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

23 years agoFix Windows compile breaks caused by mod_core.h foobar
Bill Stoddard [Tue, 27 Feb 2001 18:58:59 +0000 (18:58 +0000)]
Fix Windows compile breaks caused by mod_core.h foobar

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

23 years agotrap a couple of initialization errors related to the signal thread
Jeff Trawick [Tue, 27 Feb 2001 18:46:05 +0000 (18:46 +0000)]
trap a couple of initialization errors related to the signal thread

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

23 years agoApplied patch from 1.3 tree - added link back from AllowOverride to
Rich Bowen [Tue, 27 Feb 2001 12:28:17 +0000 (12:28 +0000)]
Applied patch from 1.3 tree - added link back from AllowOverride to
AccessFileName

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

23 years agoum. hello?! doesn't the work "private" mean anything? :-)
Greg Stein [Tue, 27 Feb 2001 01:39:25 +0000 (01:39 +0000)]
um. hello?! doesn't the work "private" mean anything? :-)

Apache should not be involved with building APR's apr_private.h.in. It
should only call APR's buildconf.sh script.

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

23 years agofinally figured out why that word looked funny - can't spell
Greg Ames [Mon, 26 Feb 2001 22:43:15 +0000 (22:43 +0000)]
finally figured out why that word looked funny - can't spell

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

23 years agoinsure that canned error msgs are translated to ascii before leaving
Greg Ames [Mon, 26 Feb 2001 22:07:00 +0000 (22:07 +0000)]
insure that canned error msgs are translated to ascii before leaving
an ebcdic server in worst case scenarios.

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

23 years agoAdd config directives to override the DEFAULT_ERROR_MSG and
Ryan Bloom [Mon, 26 Feb 2001 06:26:24 +0000 (06:26 +0000)]
Add config directives to override the DEFAULT_ERROR_MSG and
DEFAULT_TIME_FORMAT.
PR: 6193
Submitted by: Dan Rench <drench@xnet.com>
Reviewed by: Ryan Bloom

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

23 years agoGet mod_cgi building again after moving a bunch of code from the HTTP
Ryan Bloom [Mon, 26 Feb 2001 06:24:44 +0000 (06:24 +0000)]
Get mod_cgi building again after moving a bunch of code from the HTTP
module to the core.

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

23 years ago Comment out some bogosity, and prepare for substitution by an .msi
William A. Rowe Jr [Mon, 26 Feb 2001 05:23:24 +0000 (05:23 +0000)]
  Comment out some bogosity, and prepare for substitution by an .msi
  installation package.

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

23 years ago cold and damp in Chicago tonight, turning colder and frozen.
William A. Rowe Jr [Mon, 26 Feb 2001 04:56:08 +0000 (04:56 +0000)]
  cold and damp in Chicago tonight, turning colder and frozen.

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

23 years ago All but proxy_module can be loaded and shut down without gp faulting :-)
William A. Rowe Jr [Mon, 26 Feb 2001 04:52:04 +0000 (04:52 +0000)]
  All but proxy_module can be loaded and shut down without gp faulting :-)
  Can't decide what to do with the proxy_module section... so I'm leaving
  it alone for now.  mod_info and mod_status both work, although the access
  control appears broken.

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

23 years agoBegin to move functions from the http module to the core. The goal is to
Ryan Bloom [Mon, 26 Feb 2001 04:38:22 +0000 (04:38 +0000)]
Begin to move functions from the http module to the core.  The goal is to
have only functions that are HTTP specific in the http directory.

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

23 years ago Hmmm... ap_release.h is a good file to list in the IDE.
William A. Rowe Jr [Mon, 26 Feb 2001 03:07:31 +0000 (03:07 +0000)]
  Hmmm... ap_release.h is a good file to list in the IDE.

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