]> granicus.if.org Git - apache/log
apache
22 years ago Negotiation once allowed any file, of any filename extension, to be
William A. Rowe Jr [Wed, 10 Oct 2001 19:43:37 +0000 (19:43 +0000)]
  Negotiation once allowed any file, of any filename extension, to be
  served.  The original patch to mod_negotation eliminated all extensions
  that did not reflect filename extensions associated with negotiation
  variables, unless the user expressly specified the file name with those
  filename extensions.

  This patch [attributed to me] was vetoed at its inception, it was provided
  as an alternative for those who had to have the current behavior.

  There is now another alternative patch that would introduce the
  MultiviewsMatch directive to mod_mime, for consideration and discussion.

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

22 years agoYeah, let's just return this segment to how it was a few hours ago.
Justin Erenkrantz [Wed, 10 Oct 2001 19:19:16 +0000 (19:19 +0000)]
Yeah, let's just return this segment to how it was a few hours ago.

If the status code is anything other than SUCCESS for PEEK, it isn't
good.  Just return the value.

(I thought it should be this, but I wasn't 100% sure.  Peer review == good.)

Submitted by: Will Rowe

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

22 years agoFor some reason, I was thinking PEEK should read infinitely. Not.
Justin Erenkrantz [Wed, 10 Oct 2001 18:45:22 +0000 (18:45 +0000)]
For some reason, I was thinking PEEK should read infinitely.  Not.
Return with APR_EOF if we get EAGAIN.

(Whomever is calling this with PEEK should really be able to handle EOS
 bucket rather than relying on error codes.)

Thanks to Greg Ames for pointing out this fubar.

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

22 years ago Catch up to Martin's work for 2.0
William A. Rowe Jr [Wed, 10 Oct 2001 18:43:15 +0000 (18:43 +0000)]
  Catch up to Martin's work for 2.0

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

22 years ago Short of removing the headers filter, this is the best asis can do.
William A. Rowe Jr [Wed, 10 Oct 2001 18:37:35 +0000 (18:37 +0000)]
  Short of removing the headers filter, this is the best asis can do.
  Note that all body replies were entirely broken (thanks for helping
  me notice this, Greg :)

  Asis still needs patching for huge files.

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

22 years agoAllow the bucket reading code in the core to handle EAGAIN properly.
Justin Erenkrantz [Wed, 10 Oct 2001 15:34:35 +0000 (15:34 +0000)]
Allow the bucket reading code in the core to handle EAGAIN properly.

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

22 years agoprefork: Don't segfault when we are able to listen on some but
Jeff Trawick [Wed, 10 Oct 2001 15:12:12 +0000 (15:12 +0000)]
prefork: Don't segfault when we are able to listen on some but
not all of the configured ports.

Other points to ponder:

  why no log message for the segfault?

  similar change would seem to be needed in other MPMs...  we
  may be adding bogus entries to the poll set

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

22 years ago Too many args is a bad thing too, some days
William A. Rowe Jr [Wed, 10 Oct 2001 13:02:22 +0000 (13:02 +0000)]
  Too many args is a bad thing too, some days

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

22 years ago Rewrite of rotatelogs as an apr-ized app.
William A. Rowe Jr [Wed, 10 Oct 2001 12:48:09 +0000 (12:48 +0000)]
  Rewrite of rotatelogs as an apr-ized app.

  Mladen Turk <mturk@mappingsoft.com>, William Rowe

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

22 years ago Correct dependency for apr-ization of rotatelogs
William A. Rowe Jr [Wed, 10 Oct 2001 12:39:40 +0000 (12:39 +0000)]
  Correct dependency for apr-ization of rotatelogs

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

22 years agoFoo != Bar.
Justin Erenkrantz [Wed, 10 Oct 2001 05:08:06 +0000 (05:08 +0000)]
Foo != Bar.

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

22 years agoRemove ^M character. Someone thinks they are in DOS land.
Justin Erenkrantz [Wed, 10 Oct 2001 05:06:04 +0000 (05:06 +0000)]
Remove ^M character.  Someone thinks they are in DOS land.

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

22 years agoAllow mod_so to be enabled by default even if no shared libraries from the
Justin Erenkrantz [Wed, 10 Oct 2001 05:04:40 +0000 (05:04 +0000)]
Allow mod_so to be enabled by default even if no shared libraries from the
core are requested.

If you want to disable shared library support, pass --disable-so to
configure (as always).  This will enforce that your httpd can NOT use
shared libraries - which may be a good thing for you to do.

Justin added the APR_HAS_DSO check per discussion on-list between Aaron,
Ryan, Greg, and the rest of the peanut gallery.  This should allow us
to not build mod_so when it isn't supported.  However, the rest of the
configure scripts need to know that shared objects aren't supported and
complain accordingly.  (sharedobjs = yes, error out?)

Submitted by: Aaron Bannert <aaron@clove.org>
Reviewed by: Justin Erenkrantz

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

22 years agoSunny but chilly in Raleigh
Greg Ames [Tue, 9 Oct 2001 19:29:19 +0000 (19:29 +0000)]
Sunny but chilly in Raleigh

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

22 years agofixes heml to html to make example work
Joshua Slive [Tue, 9 Oct 2001 14:52:47 +0000 (14:52 +0000)]
fixes heml to html to make example work

Submitted by: Hartmut Obendorf <obendorf@informatik.uni-hamburg.de>

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

22 years ago Always helps to add the member
William A. Rowe Jr [Tue, 9 Oct 2001 03:15:05 +0000 (03:15 +0000)]
  Always helps to add the member

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

22 years ago Bring many things up-to-date. FirstBill, wasn't the child logging
William A. Rowe Jr [Tue, 9 Oct 2001 03:11:08 +0000 (03:11 +0000)]
  Bring many things up-to-date.  FirstBill, wasn't the child logging
  process stuff already fixed?

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

22 years ago Speed it up. While this optimization wasn't obvious for the two-pass
William A. Rowe Jr [Tue, 9 Oct 2001 02:41:47 +0000 (02:41 +0000)]
  Speed it up.  While this optimization wasn't obvious for the two-pass
  location_walk, it is significant for all subreq/redirects reusing the
  cached walk values.

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

22 years ago Uhmm... time for a note about this.
William A. Rowe Jr [Tue, 9 Oct 2001 02:40:56 +0000 (02:40 +0000)]
  Uhmm... time for a note about this.

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

22 years agoallow file extentions specified by AddHandler, AddInputFilter, and
Greg Ames [Tue, 9 Oct 2001 01:45:20 +0000 (01:45 +0000)]
allow file extentions specified by AddHandler, AddInputFilter, and
AddOutputFilter to be ignored when matching the URI.

Submitted by: Bill Rowe

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

22 years agoprevent near infinite subrequest recursion with mod_negotiation enabled.
Greg Ames [Tue, 9 Oct 2001 01:33:48 +0000 (01:33 +0000)]
prevent near infinite subrequest recursion with mod_negotiation enabled.
This can happen if there is a partial match between a bad URI and a
file with a variant extention.

ap_sub_req_lookup_dirent has apparently been generating bogus subrequest
URIs for ages, but they used to be ignored.  Once we started calling
ap_process_request_internal for all subrequests, they started causing
problems.  Make it explicit that rnew->uri is to be ignored for this type
of subrequest.

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

22 years agoGet rid of some byterange handling code; it doesn't apply in Apache 2.0.
Greg Stein [Tue, 9 Oct 2001 00:48:51 +0000 (00:48 +0000)]
Get rid of some byterange handling code; it doesn't apply in Apache 2.0.

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

22 years agoClean up the string passed to the error log hook. This removes the date,
Ryan Bloom [Mon, 8 Oct 2001 23:28:57 +0000 (23:28 +0000)]
Clean up the string passed to the error log hook. This removes the date,
time, error level, etc strings.  The only information in the string is
the actual error.
Submitted by: Jon Travis <jtravis@covalent.net>

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

22 years agoDon't set r->status_line. Apache uses that in preference to any other status
Greg Stein [Mon, 8 Oct 2001 23:10:37 +0000 (23:10 +0000)]
Don't set r->status_line. Apache uses that in preference to any other status
line, thinking we've set a custom status. Of course, it says "200 OK" no
matter what error we happen to return(!).

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

22 years agoget symlinks working again
Greg Ames [Mon, 8 Oct 2001 22:07:32 +0000 (22:07 +0000)]
get symlinks working again

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

22 years agodechunking filter removed.
Ian Holsman [Mon, 8 Oct 2001 21:49:17 +0000 (21:49 +0000)]
dechunking filter removed.
add HTTP_IN filter after the headers have been parsed.
so that the HTTP_IN can check them ;-)
Still not 100% if this works properly, but I don't get
the chunking numbers displayed on my browser,
so it's better than what was there.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoat least *this* cast keeps gcc happy (and should keep
Jeff Trawick [Mon, 8 Oct 2001 21:13:51 +0000 (21:13 +0000)]
at least *this* cast keeps gcc happy (and should keep
everything else happy as well)

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

22 years agoHTTP_IN was attempting to process the PEEK mode. This threw off
Greg Stein [Mon, 8 Oct 2001 20:12:50 +0000 (20:12 +0000)]
HTTP_IN was attempting to process the PEEK mode. This threw off
check_pipeline_flush(), making it think another request was available (when
it wasn't). Apache would avoid flushing the prior request and block on
reading the next request. (of course, the client wasn't sending the next
one, cuz it was still waiting for the results of the first one)

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

22 years agoinitial port of new Request-mode HTTP_IN filter to proxy.
Ian Holsman [Mon, 8 Oct 2001 19:25:35 +0000 (19:25 +0000)]
initial port of new Request-mode HTTP_IN filter to proxy.
Status: It serves a reverse-proxy page.. but SLOWLY.
VERY SLOWLY.
still looking at why, but now it serves pages instead of dumping core.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years ago Revamped ap_directory_walk logic, without a path_info helper is now
William A. Rowe Jr [Mon, 8 Oct 2001 17:38:52 +0000 (17:38 +0000)]
  Revamped ap_directory_walk logic, without a path_info helper is now
  activated.  It may be bumpy for a few days, and we have more optimizations
  to put in place, but it's time to get this in the developer's test code.

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

22 years ago This is nothing but const bogosity. We have our very own manipulation,
William A. Rowe Jr [Mon, 8 Oct 2001 17:35:41 +0000 (17:35 +0000)]
  This is nothing but const bogosity.  We have our very own manipulation,
  we are allowed to touch the char *'s, even if we have a const contract.

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

22 years agoCorrect Verbage in comments.
Ian Holsman [Mon, 8 Oct 2001 16:44:04 +0000 (16:44 +0000)]
Correct Verbage in comments.

Submitted by: Aarron Bannert <aaron@clove.org>
Reviewed by: Ian Holsman <IanH@apache.org>

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

22 years agoRename ssl-std.conf to match Makefile.in's installation action
Martin Kraemer [Mon, 8 Oct 2001 10:15:37 +0000 (10:15 +0000)]
Rename ssl-std.conf to match Makefile.in's installation action

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

22 years ago Great badness - not a good idea to return OK when you don't modify the
William A. Rowe Jr [Sun, 7 Oct 2001 04:54:53 +0000 (04:54 +0000)]
  Great badness - not a good idea to return OK when you don't modify the
  resulting value, even if it's NULL.

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

22 years ago Hmmm... continue's not so good an idea here :)
William A. Rowe Jr [Sat, 6 Oct 2001 22:47:20 +0000 (22:47 +0000)]
  Hmmm... continue's not so good an idea here :)

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

22 years ago Time to give up for the day, and grab a beer
William A. Rowe Jr [Sat, 6 Oct 2001 22:36:27 +0000 (22:36 +0000)]
  Time to give up for the day, and grab a beer

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

22 years ago Aaargh! Unwinding part of my patch before I committed the prior version,
William A. Rowe Jr [Sat, 6 Oct 2001 22:16:11 +0000 (22:16 +0000)]
  Aaargh!  Unwinding part of my patch before I committed the prior version,
  I ended up blasting these (intentional) changes as well :(

  This finishes up the changes for the new, replacement ap_directory_walk
  for testing.  This code isn't active yet.

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

22 years ago A major overhaul to the -replacement- ap_directory_walk logic. This still
William A. Rowe Jr [Sat, 6 Oct 2001 21:52:29 +0000 (21:52 +0000)]
  A major overhaul to the -replacement- ap_directory_walk logic.  This still
  doesn't activate that code, I will do so probably by Monday, after more
  thorough testing.

  Introduces the ap_directory_walk::cache so we can stop wasting tons of
  effort in mod_autoindex and other subreq/redirect requests.

  This isn't thoroughly tested, I've only stepped through a half dozen
  common cases.  If you want to play, define REPLACE_PATH_INFO_METHOD.

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

22 years ago Good to note
William A. Rowe Jr [Sat, 6 Oct 2001 18:59:58 +0000 (18:59 +0000)]
  Good to note

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

22 years ago Allow ApacheBench to connect to and control Apache on other WinNT/2K
William A. Rowe Jr [Sat, 6 Oct 2001 18:59:07 +0000 (18:59 +0000)]
  Allow ApacheBench to connect to and control Apache on other WinNT/2K
  machines.

Submitted by: Mladen Turk <mturk@mappingsoft.com>

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

22 years ago Fix a borked entry that I introduced. Now mime_magic should build.
William A. Rowe Jr [Sat, 6 Oct 2001 18:24:58 +0000 (18:24 +0000)]
  Fix a borked entry that I introduced.  Now mime_magic should build.

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

22 years agoDon't attempt to call apr_xml_parser_done() twice -- just exit when we have
Greg Stein [Sat, 6 Oct 2001 17:02:59 +0000 (17:02 +0000)]
Don't attempt to call apr_xml_parser_done() twice -- just exit when we have
a problem terminating the parser. _geterror() cannot be called either.

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

22 years ago I don't know if these are correct, just my best alien guess.
William A. Rowe Jr [Sat, 6 Oct 2001 05:09:08 +0000 (05:09 +0000)]
  I don't know if these are correct, just my best alien guess.

  I also don't suspect we want to add test/ to the modules/ makefile,
  since test won't be distributed with the tarball.

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

22 years ago Some other modules here are argueably tests ... but these are nothing
William A. Rowe Jr [Sat, 6 Oct 2001 05:07:03 +0000 (05:07 +0000)]
  Some other modules here are argueably tests ... but these are nothing
  but tests.  No end user would ever be interested in 'experimenting'
  with them :)

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

22 years ago Legibility counts for something, so does eliminating bogus ssize_t
William A. Rowe Jr [Sat, 6 Oct 2001 04:41:37 +0000 (04:41 +0000)]
  Legibility counts for something, so does eliminating bogus ssize_t
  products from pointer subtraction ;)

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

22 years agoIt's a good time to update STATUS.
Justin Erenkrantz [Sat, 6 Oct 2001 00:48:03 +0000 (00:48 +0000)]
It's a good time to update STATUS.

Be back Monday night...off to a wedding on the east coast now...

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

22 years agoWe should only be doing one socket read under any circumstances
Justin Erenkrantz [Sat, 6 Oct 2001 00:47:06 +0000 (00:47 +0000)]
We should only be doing one socket read under any circumstances
(blocking or not).

apr_brigade_partition would do reading multiple times and that's
not really what we want (so I think).

This may speed up POST requests that were waiting for all of the
data to arrive before returning anything in blocking mode.

Reviewed by: Greg Stein, Ryan Bloom

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

22 years agoBring forward some 1.3 changes, mostly from
Joshua Slive [Fri, 5 Oct 2001 21:26:00 +0000 (21:26 +0000)]
Bring forward some 1.3 changes, mostly from
Allan Liska

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

22 years agoAllow the core input filter to handle AP_NONBLOCK_READ request for a
Justin Erenkrantz [Fri, 5 Oct 2001 08:54:19 +0000 (08:54 +0000)]
Allow the core input filter to handle AP_NONBLOCK_READ request for a
finite number of bytes (i.e. *readbytes > 0).

ap_brigade_partition does a blocking read.  So, what we should do is
apr_bucket_read on the socket for non-blocking.  If we get less than
what they asked for, that's okay and we should just return that amount.
If they were non-blocking, we should always be non-blocking.

Ryan, Greg, and others can figure out if ap_brigade_partition should
be tweaked to handle AP_NONBLOCK_READ natively.  I'm of a mixed mind,
but this addresses the short term need.

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

22 years agoI believe it is a kosher for a filter to return EOS, but return APR_SUCCESS
Justin Erenkrantz [Fri, 5 Oct 2001 08:51:43 +0000 (08:51 +0000)]
I believe it is a kosher for a filter to return EOS, but return APR_SUCCESS
via ap_get_brigade.  So, we should treat this as end-of-input.

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

22 years ago And thank you once again, Justin
William A. Rowe Jr [Fri, 5 Oct 2001 03:41:15 +0000 (03:41 +0000)]
  And thank you once again, Justin

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

22 years ago These now exist with their -std names, thanks for the suggest, Justin.
William A. Rowe Jr [Fri, 5 Oct 2001 03:40:27 +0000 (03:40 +0000)]
  These now exist with their -std names, thanks for the suggest, Justin.

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

22 years agoInclude paths must be relative to ServerRoot directive.
Justin Erenkrantz [Fri, 5 Oct 2001 03:32:42 +0000 (03:32 +0000)]
Include paths must be relative to ServerRoot directive.

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

22 years agoMake sure we run the new conf files through sed.
Justin Erenkrantz [Fri, 5 Oct 2001 03:27:56 +0000 (03:27 +0000)]
Make sure we run the new conf files through sed.
Now, the question is whether it might make more sense to have them
as ssl-std.conf, ldap-std.conf, and proxy-std.conf.

(I'm also not sure if this is even shell portable or not.)

I'll leave that up to OtherBill since he added these files.

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

22 years agoget rid of an unused variable
Jeff Trawick [Fri, 5 Oct 2001 02:27:48 +0000 (02:27 +0000)]
get rid of an unused variable

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

22 years ago Split the significant modules into segregated module configs.
William A. Rowe Jr [Thu, 4 Oct 2001 20:40:37 +0000 (20:40 +0000)]
  Split the significant modules into segregated module configs.

  Probably should do the same with negotation/autoindex, since those
  are _so_ huge, but not this afternoon on my schedule.

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

22 years ago Cleanup the config (somewhat) so that win32 -could- actually run from
William A. Rowe Jr [Thu, 4 Oct 2001 20:28:34 +0000 (20:28 +0000)]
  Cleanup the config (somewhat) so that win32 -could- actually run from
  the httpd-std.conf - but there are still some discrepancies to take
  back to the conference committee :)

  LDAP was voted some time ago into it's own httpd-ldap repository, and
  never built on Win32; No ldap config directives are present, so I've
  pulled it from both .conf files.

  It would be really nice if the proxy team would come in and clean out
  the deprecated/unsupported directives here.

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

22 years agoRemove the Port directive. In it's place, the Listen directive
Ryan Bloom [Thu, 4 Oct 2001 20:00:53 +0000 (20:00 +0000)]
Remove the Port directive.  In it's place, the Listen directive
is now a required directive, which tells Apache what port to
listen on.  The ServerName directive has also been extended
to accept an optional port.  If the port is specified to the
ServerName, the server will report that port whenever it
reports the port that it is listening on.  This change was
made to ease configuration errors that stem from having a Port
directive, and a Listen directive.  In that situation, the server
would only listen to the port specified by the Listen command,
which caused a lot of confusion to users.

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

22 years ago Just passing through
William A. Rowe Jr [Thu, 4 Oct 2001 19:42:43 +0000 (19:42 +0000)]
  Just passing through

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

22 years ago Add some mime magic to the Win32 build
William A. Rowe Jr [Thu, 4 Oct 2001 19:38:16 +0000 (19:38 +0000)]
  Add some mime magic to the Win32 build

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

22 years agoMake sure we install all of the support scripts.
Ryan Bloom [Thu, 4 Oct 2001 19:09:58 +0000 (19:09 +0000)]
Make sure we install all of the support scripts.

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

22 years agoAh, I didn't see that churn is only used on input - rename the function
Justin Erenkrantz [Thu, 4 Oct 2001 17:50:39 +0000 (17:50 +0000)]
Ah, I didn't see that churn is only used on input - rename the function
to match churn_output.  =)

Yes, I'm slowly working on fixing mod_ssl...

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

22 years agoWe need to use @@Port@@ not hard-code the Port number.
Ryan Bloom [Wed, 3 Oct 2001 18:56:38 +0000 (18:56 +0000)]
We need to use @@Port@@ not hard-code the Port number.

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

22 years agoFix --enable-mods-shared processing. If most is specified,
Ryan Bloom [Wed, 3 Oct 2001 17:47:51 +0000 (17:47 +0000)]
Fix --enable-mods-shared processing.  If most is specified,
then all modules that can be compiled as shared modules are.  This
was done by adding a module config specifier, static, which denotes
that a module can not be compiled as a DSO.

Submitted by:   Aaron Bannert <aaron@clove.org>

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

22 years agoAdd a Listen directive to the default config file. This allows us to
Ryan Bloom [Wed, 3 Oct 2001 17:44:34 +0000 (17:44 +0000)]
Add a Listen directive to the default config file.  This allows us to
later add another listen directive, in the default SSL config file,
without stopping the server from listening on port 80.  The next step
is to combine the Port and ServerName directives, so that Port can go
away finally.

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

22 years agoRemove an old comment. This config.m4 is numbered 9, which is the
Ryan Bloom [Wed, 3 Oct 2001 17:31:13 +0000 (17:31 +0000)]
Remove an old comment.  This config.m4 is numbered 9, which is the
highest possible number, so it is garaunteed to be in the last batch.  Any
module config.m4 should just use a number < 9 to ensure that this continues
to work.

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

22 years ago One more note on the last commit - the 'cannot serve an absolute path'
William A. Rowe Jr [Wed, 3 Oct 2001 14:55:24 +0000 (14:55 +0000)]
  One more note on the last commit - the 'cannot serve an absolute path'
  bug was identified by, and debugged with hints and examples provided by
  Ryan Morgan <rmorgan@covalent.net> --- his example module demonstrating
  the problem was invaluable :)

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

22 years ago Correct file lookups when we are given a file within the same directory
William A. Rowe Jr [Wed, 3 Oct 2001 13:24:28 +0000 (13:24 +0000)]
  Correct file lookups when we are given a file within the same directory
  as the parent request.  Also pulls a bunch of notes and code that was
  set aside, we don't need this with the other optimizations introduced.

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

22 years agorename variable "except" to avoid colliding with a macro of the
Jeff Trawick [Wed, 3 Oct 2001 13:10:16 +0000 (13:10 +0000)]
rename variable "except" to avoid colliding with a macro of the
same name on Tru64

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

22 years ago Fix a mismatching issue, where index.html.foo.en had recognized .html and
William A. Rowe Jr [Wed, 3 Oct 2001 01:18:22 +0000 (01:18 +0000)]
  Fix a mismatching issue, where index.html.foo.en had recognized .html and
  .en components, and exceptions index and foo.  This patch will ignore the
  'missing' exception html from the request, and go on to test the exception
  foo in the list.

  This does -not- imply that a request for index.foo will succeed, in the
  example above.  The pattern match tests index.foo[.*] so we wouldn't find
  index.html.foo.anything.  The pattern matching proposed at one time by
  Francis Daly would allow index.foo to succeed as well [although many to
  many matching is dangerous, see comments in this patch.]

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

22 years agoUpdate mime.types file.
Lars Eilebrecht [Tue, 2 Oct 2001 21:54:28 +0000 (21:54 +0000)]
Update mime.types file.

Map video/vnd.mpegurl to mxu according to
ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/video/vnd.mpegurl
and audio/x-mpegurl to m3u, because it is commonly used.

Submitted by: Heiko Recktenwald <uzs106@uni-bonn.de>
Reviewed by: Sander van Zoest, Lars Eilebrecht

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

22 years agoSuexec is compiled to the builddir, not the source dir.
Ryan Bloom [Tue, 2 Oct 2001 21:53:33 +0000 (21:53 +0000)]
Suexec is compiled to the builddir, not the source dir.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoI am agreeable to mod_gz going in experimental. It should be good and
Bill Stoddard [Tue, 2 Oct 2001 21:21:55 +0000 (21:21 +0000)]
I am agreeable to mod_gz going in experimental. It should be good and
out of the way there but still available to those interested in working
on it.

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

22 years ago Goodbye r->content_lanaguage (per vote from apache-1.3/STATUS).
William A. Rowe Jr [Tue, 2 Oct 2001 21:13:42 +0000 (21:13 +0000)]
  Goodbye r->content_lanaguage (per vote from apache-1.3/STATUS).

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

22 years agoAdd info about Opera supporting MD5 Authentication.
Lars Eilebrecht [Tue, 2 Oct 2001 20:21:21 +0000 (20:21 +0000)]
Add info about Opera supporting MD5 Authentication.

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

22 years ago Clean up a couple of type warnings.
William A. Rowe Jr [Tue, 2 Oct 2001 20:00:54 +0000 (20:00 +0000)]
  Clean up a couple of type warnings.

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

22 years agoUpdate entry.
Lars Eilebrecht [Tue, 2 Oct 2001 19:52:24 +0000 (19:52 +0000)]
Update entry.

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

22 years agoAdded Doxygen Comments
Ian Holsman [Tue, 2 Oct 2001 04:09:53 +0000 (04:09 +0000)]
Added Doxygen Comments
With these 2 changes most of the Doxygen warnings go away.
(these patch just modifies comments/slight moves in typedefs, no other changes)

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

22 years agoSync the html version with the nroff version.
Joshua Slive [Tue, 2 Oct 2001 01:33:02 +0000 (01:33 +0000)]
Sync the html version with the nroff version.

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

22 years agoOops, missed a part.
Cliff Woolley [Tue, 2 Oct 2001 00:48:14 +0000 (00:48 +0000)]
Oops, missed a part.

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

22 years agoBring httpd man page up-to-date with flags that currently exist and the
Cliff Woolley [Tue, 2 Oct 2001 00:43:18 +0000 (00:43 +0000)]
Bring httpd man page up-to-date with flags that currently exist and the
current default install path.

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

22 years agoap_sub_req_output_filter: don't pass along a brigade if it becomes empty
Greg Ames [Mon, 1 Oct 2001 21:01:14 +0000 (21:01 +0000)]
ap_sub_req_output_filter:  don't pass along a brigade if it becomes empty
after deleting the EOS bucket.

This prevents a seg fault in mod_include when the connection dies.  There
doesn't seem to be much point in passing empty brigades in general.

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

22 years agoclean up the fdqueue a bit more, by implementing Greg's
Ryan Bloom [Mon, 1 Oct 2001 19:37:20 +0000 (19:37 +0000)]
clean up the fdqueue a bit more, by implementing Greg's
suggestions to getting rid of redundant variables, as well as
converting the simple ap_queue_full/ap_queue_empty tests into macros.
This also reinstates the "not_full" condition, which turned out to
be useful afterall in cases where we wanted to prevent the listener
thread from accepting further connections until the worker queue has
room for more.

Submitted by: [Aaron Bannert <aaron@clove.org>]

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

22 years agoSwitch from tmpnam() to apr_file_mktemp() so that gcc with a recent glibc
Cliff Woolley [Mon, 1 Oct 2001 19:19:45 +0000 (19:19 +0000)]
Switch from tmpnam() to apr_file_mktemp() so that gcc with a recent glibc
will shut the hell up about tmpnam() being unsafe.  htpasswd.c needs a
similar treatment, but it won't be _quite_ as easy since htpasswd has not
been completely apr-ized yet.

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

22 years ago Two more loadable modules on Win32, thank you Gunther!
William A. Rowe Jr [Mon, 1 Oct 2001 17:01:30 +0000 (17:01 +0000)]
  Two more loadable modules on Win32, thank you Gunther!

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

22 years ago BIO_write returns an int. Whacha gonna do? Kill the last non-ab warning.
William A. Rowe Jr [Mon, 1 Oct 2001 16:07:17 +0000 (16:07 +0000)]
  BIO_write returns an int.  Whacha gonna do?  Kill the last non-ab warning.

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

22 years ago /GZ RTL debug flag is not recognized across VC 5/6/7.
William A. Rowe Jr [Mon, 1 Oct 2001 15:57:38 +0000 (15:57 +0000)]
  /GZ RTL debug flag is not recognized across VC 5/6/7.

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

22 years ago Clean up some warnings by summing bytecounts into apr_off_t holders
William A. Rowe Jr [Mon, 1 Oct 2001 15:51:07 +0000 (15:51 +0000)]
  Clean up some warnings by summing bytecounts into apr_off_t holders
  instead of ulongs.

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

22 years ago Nothing wrong with an int here, so make it explicit and kill the warning.
William A. Rowe Jr [Mon, 1 Oct 2001 15:49:02 +0000 (15:49 +0000)]
  Nothing wrong with an int here, so make it explicit and kill the warning.

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

22 years ago Remain consistent to the connection_rec, and use apr_off_t for remaining.
William A. Rowe Jr [Mon, 1 Oct 2001 15:48:15 +0000 (15:48 +0000)]
  Remain consistent to the connection_rec, and use apr_off_t for remaining.

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

22 years ago Kill off some expensive, unnecessary effort when we use max-age for
William A. Rowe Jr [Mon, 1 Oct 2001 15:47:12 +0000 (15:47 +0000)]
  Kill off some expensive, unnecessary effort when we use max-age for
  the usertrack cookie (and kill a warning in the process.)

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

22 years ago Should be no change to the execution - simply clean up two compiler
William A. Rowe Jr [Mon, 1 Oct 2001 15:45:11 +0000 (15:45 +0000)]
  Should be no change to the execution - simply clean up two compiler
  warnings, signed/unsigned mismatch in != and mismatched type for port.

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

22 years ago Wording changes
William A. Rowe Jr [Mon, 1 Oct 2001 13:27:06 +0000 (13:27 +0000)]
  Wording changes

Obtained from: news:hr.comp.www
Submitted by: Mr. "Vlatko Juric-Kokic" <vlatko.juric-kokic@zg.hinet.hr>
Reviewed by: Mladen Turk <mturk@mappingsoft.com>

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

22 years ago The patch that emerged uppon discussion on news:hr.comp.www
William A. Rowe Jr [Mon, 1 Oct 2001 03:22:21 +0000 (03:22 +0000)]
  The patch that emerged uppon discussion on news:hr.comp.www
  Please review - did not apply as cleanly as I would have liked.

Submitted by: Mladen Turk <mturk@mappingsoft.com>

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

22 years agoKill two autoconf-related birds with one commit.
Justin Erenkrantz [Sun, 30 Sep 2001 07:57:15 +0000 (07:57 +0000)]
Kill two autoconf-related birds with one commit.

- substr used in APACHE_MODULE for the help string did not parse correctly
  with autoconf 2.50+ so we had to punt there anyway and use AC_HELP_STRING.
- Add APACHE_HELP_STRING define that will call AC_HELP_STRING on 2.50+
  (actually not 2.13 - look at the regex call) or do our custom variation
  of it.  This function can't have any extra spaces or it will be returned
  in the help string.  So noted.  If anyone can figure out how to insert
  a line break like 2.50+ does when we go over the 26th column, I'd
  appreciate it.  I tried and I'm way too tired to figure it out now.
  Adding this would greatly simplify two or three HELP_STRING uses.
- Switch all of those annoying WITH and ENABLE functions to use the
  APACHE_HELP_STRING.  This makes everything consistent now.  I've always
  had to go through and keep aligning everything every few months or so
  because I'm the only one who cares.  No more.  I refuse to do it any more!
  Use APACHE_HELP_STRING or be crucified.

Looks decent with autoconf-2.13 and autoconf-2.52.

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

22 years agoRemove unnecessary initialization and add a comment about chunk_hdr's
Justin Erenkrantz [Sun, 30 Sep 2001 04:17:16 +0000 (04:17 +0000)]
Remove unnecessary initialization and add a comment about chunk_hdr's
scope.

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

22 years agoSwitch to the corresponding apr_table_* macro rather than doing this
Justin Erenkrantz [Sun, 30 Sep 2001 01:37:20 +0000 (01:37 +0000)]
Switch to the corresponding apr_table_* macro rather than doing this
ourselves.

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

22 years agoCleanup some needless initialization of the date variable and consolidate
Justin Erenkrantz [Sun, 30 Sep 2001 01:17:13 +0000 (01:17 +0000)]
Cleanup some needless initialization of the date variable and consolidate
the scope to only where necessary.

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

22 years agoMake doc changes to reflect change to ProxyErrorOverride
Graham Leggett [Sat, 29 Sep 2001 20:21:14 +0000 (20:21 +0000)]
Make doc changes to reflect change to ProxyErrorOverride
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoianh: add the ProxyHTTPOverrideReturnedErrors directive documentation
Graham Leggett [Sat, 29 Sep 2001 20:16:16 +0000 (20:16 +0000)]
ianh: add the ProxyHTTPOverrideReturnedErrors directive documentation
PR:
Obtained from:
Submitted by:
Reviewed by:

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