]> granicus.if.org Git - apache/log
apache
17 years agoSECURITY: CVE-2007-1862 (cve.mitre.org)
Eric Covener [Fri, 1 Jun 2007 15:50:12 +0000 (15:50 +0000)]
SECURITY: CVE-2007-1862 (cve.mitre.org)
mod_mem_cache: Copy headers into longer lived storage; header names and
values could previously point to cleaned up storage

PR: 41551
Submitted by: Davi Arnaut <davi haxent.com.br>
Reviewed by: covener

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

17 years ago* Prevent running through the error stack by returning OK and setting r->status
Ruediger Pluem [Sun, 27 May 2007 13:57:46 +0000 (13:57 +0000)]
* Prevent running through the error stack by returning OK and setting r->status
  accordingly if ret is HTTP_NOT_MODIFIED as this breaks mod_cache validating a
  stale entity.

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

17 years ago* Also add a possible ETag header to r->headers_out. We need to have it there
Ruediger Pluem [Sun, 27 May 2007 11:26:04 +0000 (11:26 +0000)]
* Also add a possible ETag header to r->headers_out. We need to have it there
  for our later call to ap_meets_conditions a few lines above. Having it put
  in the merge table will fail as merge and r->err_headers_out get merged
  AFTER our call to ap_meets_conditions. Besides of this having multiple
  ETag headers (or a merged version of them) does not seem to make sense.

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

17 years agoPR#39710 - badly broken errordocuments for CGI
Nick Kew [Sat, 26 May 2007 18:50:18 +0000 (18:50 +0000)]
PR#39710 - badly broken errordocuments for CGI

We've just had another duplicate report of this on bugzilla.
We've got a simple patch, and people asking WTF is going on
with inaction.  Noone seems clear on why the patch shouldn't
be applied (http://marc.info/?l=apache-httpd-dev&m=117760311129386&w=2).

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

17 years agoAdds an example using multiple file extensions, to answer a
Rich Bowen [Fri, 25 May 2007 15:11:46 +0000 (15:11 +0000)]
Adds an example using multiple file extensions, to answer a
frequently-asked (IRC) question that came up yet again today.

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

17 years agoExplain that POST data should be sent as the correct MIME type.
Sander Temme [Thu, 24 May 2007 02:19:04 +0000 (02:19 +0000)]
Explain that POST data should be sent as the correct MIME type.
Submitted by Vincent Bray noodlet at gmail dot com,
edited and reviewed by sctemme

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

17 years agoapr_dbd_check_conn() just returns APR_SUCCESS or APR_EGENERAL, so we
Chris Darroch [Sat, 19 May 2007 05:01:44 +0000 (05:01 +0000)]
apr_dbd_check_conn() just returns APR_SUCCESS or APR_EGENERAL, so we
don't actually have a driver-specific value to pass to apr_dbd_error(),
but that's OK because most/all drivers just ignore this value anyway

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

17 years agomod_cache: Do not set Date or Expires when they are missing from the original
Justin Erenkrantz [Fri, 18 May 2007 22:42:59 +0000 (22:42 +0000)]
mod_cache: Do not set Date or Expires when they are missing from the original
response or are invalid.

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

17 years agomod_cache: Correctly handle HEAD requests on expired cache content. PR 41230.
Justin Erenkrantz [Fri, 18 May 2007 22:38:08 +0000 (22:38 +0000)]
mod_cache: Correctly handle HEAD requests on expired cache content.  PR 41230.

* modules/cache/mod_cache.c
  (cache_save_filter): Properly handle HEAD responses when we have a stale handle.

(This patch was revised by Justin/Ruediger.)

Submitted by: Niklas Edmundsson
Reviewed by: Justin, Ruediger

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

17 years agoDocument new directive
Jim Jagielski [Fri, 18 May 2007 12:43:55 +0000 (12:43 +0000)]
Document new directive

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

17 years agoBackported
Jim Jagielski [Fri, 18 May 2007 12:41:52 +0000 (12:41 +0000)]
Backported

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

17 years agoSync with 2.2.5 CHANGES
Justin Erenkrantz [Fri, 18 May 2007 06:15:11 +0000 (06:15 +0000)]
Sync with 2.2.5 CHANGES

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

17 years ago* Sync with 2.2.x CHANGES file
Ruediger Pluem [Thu, 17 May 2007 21:16:56 +0000 (21:16 +0000)]
* Sync with 2.2.x CHANGES file

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

17 years agomod_cache: Let Cache-Control max-age set the expiration of the cached
Justin Erenkrantz [Thu, 17 May 2007 18:25:13 +0000 (18:25 +0000)]
mod_cache: Let Cache-Control max-age set the expiration of the cached
representation if Expires is not set.

* modules/cache/mod_cache.c
  (cache_save_filter): If Cache-Control max-age is set and Expires isn't,
  let that value control our expiration.

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

17 years agomod_disk_cache: If the Vary'd content is stale, we can handle it via our
Justin Erenkrantz [Thu, 17 May 2007 18:17:23 +0000 (18:17 +0000)]
mod_disk_cache: If the Vary'd content is stale, we can handle it via our
freshness tests which will attempt to revalidate the content.

* modules/cache/mod_disk_cache.c
  (open_entity): If the root Vary index is stale, we don't need to throw away
  potentially stale content - we can try to refresh it.

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

17 years agomod_disk_cache: When renegotiating an already cached Vary'd response, do not
Justin Erenkrantz [Thu, 17 May 2007 16:20:06 +0000 (16:20 +0000)]
mod_disk_cache: When renegotiating an already cached Vary'd response, do not
let us later throw away the renegotiated content due to a name mismatch.

We do not need to update the ->name field just before writing the headers as
the computed ->name on open and create is sufficient.  Updating ->name here is
essentially a no-op - except in the case of Vary where the key has internally
changed (to account for the Vary prefix), but the original name has not.
However, writing the Vary'd-accounted key means that when we read the cache
next that we will error out and disregard the just renegotiated response and
fetch the content all over again - oops!

(This is largely a case where I think we may have overthought ourselves; hence
the explanation is here in the commit rather than in the file itself.)

* modules/cache/mod_disk_cache.c
  (store_headers): The originally opened ->name is sufficient.
* CHANGES: Combined with r538992, note that renegotiation for Vary's seem to
  work far better.

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

17 years agomod_disk_cache: When renegotiating an already cached Vary'd response, create
Justin Erenkrantz [Thu, 17 May 2007 16:10:29 +0000 (16:10 +0000)]
mod_disk_cache: When renegotiating an already cached Vary'd response, create
the refreshed .vary structure in the right directory.  Otherwise, we'll create
a new .vary layout underneath the already existing one - oops!

* modules/cache/mod_disk_cache.c
  (store_headers): Temporarily clear dobj->prefix if it is set to ensure that
  we create the .vary structure underneath the cache root.

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

17 years ago* Sync with 2.2.x CHANGES file
Ruediger Pluem [Thu, 17 May 2007 10:59:31 +0000 (10:59 +0000)]
* Sync with 2.2.x CHANGES file

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

17 years agoRFC 2616 13.2.1 calls out max-age as being a valid 'explicit expiration time',
Justin Erenkrantz [Thu, 17 May 2007 05:43:18 +0000 (05:43 +0000)]
RFC 2616 13.2.1 calls out max-age as being a valid 'explicit expiration time',
so per Sec. 13.9 permit queries with just max-age instead of only Expires.

* modules/cache/mod_cache.c
  (cache_save_filter): Be closer to RFC 2616's intent for query arguments.
* CHANGES: Update.

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

17 years agoDoccos update... sync up to current time.
Jim Jagielski [Sun, 13 May 2007 15:29:06 +0000 (15:29 +0000)]
Doccos update... sync up to current time.

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

17 years agoFold in ProxyPassMatch directive with docs. Support
Jim Jagielski [Sun, 13 May 2007 15:28:29 +0000 (15:28 +0000)]
Fold in ProxyPassMatch directive with docs. Support
full regex substitution but also allow for "simple"
cases (ala JkMount) to work as well.

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

17 years agoAdd regex pattern matching to ProxyPass, allowing,
Jim Jagielski [Sat, 12 May 2007 14:12:24 +0000 (14:12 +0000)]
Add regex pattern matching to ProxyPass, allowing,
for example:

   ProxyPass ~ \.gif balancer://imagecluster

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

17 years agoAdd detection for post XP operating systems.
Mladen Turk [Tue, 8 May 2007 04:45:54 +0000 (04:45 +0000)]
Add detection for post XP operating systems.
Think this can be safely backported to 2.2 and 2.0 branches

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

17 years ago* Sync with 2.2.x CHANGES file
Ruediger Pluem [Mon, 7 May 2007 15:37:36 +0000 (15:37 +0000)]
* Sync with 2.2.x CHANGES file

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

17 years ago- In AP_MODE_SPECULATIVE ap_core_input_filter returns APR_SUCCESS and an empty
Ruediger Pluem [Mon, 7 May 2007 14:20:09 +0000 (14:20 +0000)]
- In AP_MODE_SPECULATIVE ap_core_input_filter returns APR_SUCCESS and an empty
  brigade in the case that a non blocking read from the socket returned
  APR_EAGAIN. So getting an empty brigade also shows that no data is present
  in the input filter.
  While this reduces the number of false positives for "real data" in the input
  filter the behaviour is not as good as before 533820 because if there are
  only CRLF's in the input filter we do not flush, but we should. To fix this
  it seems that a simulation of AP_MODE_EATCRLF is needed inside of
  check_pipeline.
- Destroy brigade bb at the end of the function.

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

17 years ago* Prevent a segmentation fault if one of the Cache-Control headers
Ruediger Pluem [Sun, 6 May 2007 14:35:02 +0000 (14:35 +0000)]
* Prevent a segmentation fault if one of the Cache-Control headers
  s-maxage, max-age, min-fresh, max-stale has no value assigned.
  In this case ignore s-maxage, max-age, min-fresh. For max-stale
  it is valid to set no value. In this case set max-stale to 1 year
  to signal that the client is accepting a stale response of any age.

Submitted by: Niklas Edmundsson <nikke acc.umu.se>
Reviewed by: rpluem

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

17 years agothe problem with Event and mod_ssl was fixed with rev. 533820. I'm not
Greg Ames [Fri, 4 May 2007 20:12:46 +0000 (20:12 +0000)]
the problem with Event and mod_ssl was fixed with rev. 533820.  I'm not
aware of problems with other input filters that aren't addressed in that fix.

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

17 years agoAbstract out (kinda) MSG_PEEK. This way when we
Jim Jagielski [Fri, 4 May 2007 19:12:38 +0000 (19:12 +0000)]
Abstract out (kinda) MSG_PEEK. This way when we
actually update APR and apr_socket_recvfrom()
to know about APR_MSG_OOB, APR_MSG_PEEK, etc...
this code won't need to be adjusted. Also,
make nicer for 2.2 backport.

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

17 years agoAs discussed on docs@httpd, remove the FAQ and replace it with the contents
Joshua Slive [Fri, 4 May 2007 14:13:42 +0000 (14:13 +0000)]
As discussed on docs@httpd, remove the FAQ and replace it with the contents
of the old support.xml and a pointer to the wiki.

Of possible interest: I've also removed the link to the professional support
database, since it was returning error 500 for some time and nobody
seemed to care.

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

17 years ago* Add extern "C" linkage to several headers to make it easier to use
Ruediger Pluem [Fri, 4 May 2007 11:11:26 +0000 (11:11 +0000)]
* Add extern "C" linkage to several headers to make it easier to use
  them in C++ code.

PR: 42286
Submitted by: Davi Arnaut <davi haxent.com.br>
Reviewed by: rpluem

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

17 years agoEnglish Revision: 478131
Hiroaki Kawai [Fri, 4 May 2007 07:15:24 +0000 (07:15 +0000)]
English Revision: 478131

Submitted by: Takashi Sato
Reviewed by: Hiroaki Kawai

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

17 years agoUpdate the status of the access control directives
Bradley Nicholes [Wed, 2 May 2007 16:39:40 +0000 (16:39 +0000)]
Update the status of the access control directives

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

17 years agore-introduce ap_satisfies API back into core and modify how the access_checker, check...
Bradley Nicholes [Wed, 2 May 2007 16:31:39 +0000 (16:31 +0000)]
re-introduce ap_satisfies API back into core and modify how the access_checker, check_user_id and auth_checker hooks are called so that they respect the precedence that is set through the satisfy ALL/ANY directive. This also restores the directives order, allow, deny, satisfyas supported directives rather than being deprecated.  These directives still remain in mod_access_compat however.

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

17 years agoSync with recently backported patches
Jim Jagielski [Tue, 1 May 2007 13:26:06 +0000 (13:26 +0000)]
Sync with recently backported patches

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

17 years ago* Rework the error handling logic to make it more readable.
Ruediger Pluem [Tue, 1 May 2007 12:17:30 +0000 (12:17 +0000)]
* Rework the error handling logic to make it more readable.

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

17 years agocheck_pipeline: use AP_MODE_SPECULATIVE to check for data in the input filters
Greg Ames [Mon, 30 Apr 2007 18:16:06 +0000 (18:16 +0000)]
check_pipeline:  use AP_MODE_SPECULATIVE to check for data in the input filters
to accomodate mod_ssl's input filter.  AP_MODE_EATCRLF is essentially a no-op
in that filter.

this fixes missing imbedded graphics etc when using the Event MPM with mod_ssl
with HTTP pipelining enabled in the browser.  the pipelined requests after the
first were never read from mod_ssl's input filter.  it might reduce unneeded
flushes with other MPMs.

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

17 years agoEnglish Revision: 522942
Hiroaki Kawai [Sun, 29 Apr 2007 14:21:15 +0000 (14:21 +0000)]
English Revision: 522942

Submitted by: Takashi Sato
Reviewed by: Hiroaki Kawai

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

17 years agoTypo: slashed -> slashes
Rich Bowen [Sat, 28 Apr 2007 13:39:20 +0000 (13:39 +0000)]
Typo: slashed -> slashes

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

17 years agoAdd two new mime types, per the IANA registrations:
Greg Stein [Wed, 25 Apr 2007 01:09:35 +0000 (01:09 +0000)]
Add two new mime types, per the IANA registrations:

  http://www.iana.org/assignments/media-types/application/vnd.google-earth.kml+xml
  http://www.iana.org/assignments/media-types/application/vnd.google-earth.kmz

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

17 years ago`build all`
André Malo [Tue, 24 Apr 2007 22:22:49 +0000 (22:22 +0000)]
`build all`

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

17 years agoxml validation and drop the <pre>
André Malo [Tue, 24 Apr 2007 22:16:42 +0000 (22:16 +0000)]
xml validation and drop the <pre>

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

17 years ago`build extraclean all`
André Malo [Tue, 24 Apr 2007 13:58:07 +0000 (13:58 +0000)]
`build extraclean all`
`build convmap`

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

17 years agoProperty fixup
André Malo [Tue, 24 Apr 2007 13:52:20 +0000 (13:52 +0000)]
Property fixup

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

17 years agonewlines
André Malo [Tue, 24 Apr 2007 13:07:44 +0000 (13:07 +0000)]
newlines

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

17 years agoAdd forgotten '||true' to prevent 'make install-man' from returning an error if rsync...
Martin Kraemer [Tue, 24 Apr 2007 10:56:14 +0000 (10:56 +0000)]
Add forgotten '||true' to prevent 'make install-man' from returning an error if rsync is not present on the platform

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

17 years agolog the uri for some access-denied paths when r->filename is
Jeff Trawick [Tue, 17 Apr 2007 14:36:12 +0000 (14:36 +0000)]
log the uri for some access-denied paths when r->filename is
unset

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

17 years agocommit generated html file from changes in r527969
Jeff Trawick [Thu, 12 Apr 2007 15:10:12 +0000 (15:10 +0000)]
commit generated html file from changes in r527969

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

17 years agoHTTP proxy ProxyErrorOverride: Leave 1xx and 3xx responses alone. Only
Jeff Trawick [Thu, 12 Apr 2007 15:07:11 +0000 (15:07 +0000)]
HTTP proxy ProxyErrorOverride: Leave 1xx and 3xx responses alone.  Only
processing of error responses (4xx, 5xx) will be altered.

PR: 39245

This is based on a patch submitted by Bart van der Schans <schans hippo.nl>
and tweaked slightly by me based on discussions on dev@ since April 2006.
I think rpleum was the first to mention the 1xx issue.

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

17 years agoEncourage people to look at ./configure --help
Rich Bowen [Tue, 10 Apr 2007 13:11:30 +0000 (13:11 +0000)]
Encourage people to look at ./configure --help
Several people this week have seemed to think that this document should
list all the options. Perhaps that's not entirely unreasonable, but it
isn't going to happen any time soon.

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

17 years agosync with 2.2.x branch
Jeff Trawick [Mon, 9 Apr 2007 20:57:15 +0000 (20:57 +0000)]
sync with 2.2.x branch

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

17 years agohtdbm: Enable crypt support on platforms with crypt() but not
Jeff Trawick [Mon, 9 Apr 2007 19:49:59 +0000 (19:49 +0000)]
htdbm: Enable crypt support on platforms with crypt() but not
<crypt.h>, such as z/OS.

We assume that the ancient code in htpasswd has it right --
all but Windows, TPF, and NetWare have crypt().

Submitted by: David Jones <oscaremma gmail.com>
Reviewed by: wrowe, trawick

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

17 years agoCorrect behavior of HTTP request headers sent by ab in presence of -H command-
Sander Temme [Mon, 9 Apr 2007 18:50:28 +0000 (18:50 +0000)]
Correct behavior of HTTP request headers sent by ab in presence of -H command-
line overrides.  Previously, ab would concatenate a supplied -H User-Agent:
header to the existing one, and send duplicate headers if either -H Host: or
-H Accept: were specified on the command line.

Now, the default headers are not sent if they are overridden using the -H
command-line flag.

Submitted by:  Arvind Srinivasan arvind.srinivasan  sun.com
Reviewed by: sctemme
PR: 31268, 26554

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

17 years agomoved socket type string to build/NWGNUenvironment.inc.
Guenter Knauf [Sun, 8 Apr 2007 23:21:00 +0000 (23:21 +0000)]
moved socket type string to build/NWGNUenvironment.inc.

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

17 years agomoved a couple of options to the generated def file since -copy option seems broken;
Guenter Knauf [Sun, 8 Apr 2007 23:19:10 +0000 (23:19 +0000)]
moved a couple of options to the generated def file since -copy option seems broken;
this makes the def file also compatible to other NLM linkers.

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

17 years agoThe apr_port_t type is unsigned, but ab was using a signed format code in
Sander Temme [Sun, 8 Apr 2007 17:44:57 +0000 (17:44 +0000)]
The apr_port_t type is unsigned, but ab was using a signed format code in
its reports. PR 42070. Submitted by Takashi Sato serai  lans-tv.com,
reviewed by sctemme.

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

17 years agoanother fix to the linker copyright string.
Guenter Knauf [Sat, 7 Apr 2007 00:43:22 +0000 (00:43 +0000)]
another fix to the linker copyright string.

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

17 years agoMove the thread locking upcall initialization before the hardware library init,
Sander Temme [Thu, 5 Apr 2007 05:43:25 +0000 (05:43 +0000)]
Move the thread locking upcall initialization before the hardware library init,
so the hardware library can pick up the locking callbacks. Fixes PR 20951.
Tested on Linux with trunk and an nCipher nShield card, and on Solaris 10/Sparc
on 2.0.55 with an nCipher NetHSM.

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

17 years agoMake the hardcoded checks for platforms-without-crypt consistent.
Jeff Trawick [Wed, 4 Apr 2007 18:37:30 +0000 (18:37 +0000)]
Make the hardcoded checks for platforms-without-crypt consistent.
This apparently fixes some oddities on TPF.

Submitted by: David Jones <oscaremma gmail.com>
Reviewed by:  wrowe, trawick

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

17 years agoDocs transform.
Joshua Slive [Tue, 27 Mar 2007 15:05:37 +0000 (15:05 +0000)]
Docs transform.

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

17 years agoFix backward Order definitions.
Joshua Slive [Tue, 27 Mar 2007 15:04:27 +0000 (15:04 +0000)]
Fix backward Order definitions.

PR: 41826

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

17 years agoDetab
Sander Temme [Sat, 24 Mar 2007 18:22:35 +0000 (18:22 +0000)]
Detab

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

17 years agoPR#41829 - Torsten Förtsch
Nick Kew [Sat, 24 Mar 2007 12:58:40 +0000 (12:58 +0000)]
PR#41829 - Torsten Förtsch
Fix uninitialised var in server/request.c

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

17 years ago* server/core_filters.c (ap_core_output_filter): Fail quickly with
Joe Orton [Fri, 23 Mar 2007 11:46:10 +0000 (11:46 +0000)]
* server/core_filters.c (ap_core_output_filter): Fail quickly with
APR_ECONNABORTED if the c->aborted flag is already set.

PR: 39605

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

17 years agoadded access_compat_module to created httpd.conf.
Guenter Knauf [Thu, 22 Mar 2007 17:58:26 +0000 (17:58 +0000)]
added access_compat_module to created httpd.conf.

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

17 years agochanged to use xcopy directly instead of creating a copy batch.
Guenter Knauf [Thu, 22 Mar 2007 16:58:49 +0000 (16:58 +0000)]
changed to use xcopy directly instead of creating a copy batch.

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

17 years agofew minor cleanups.
Guenter Knauf [Thu, 22 Mar 2007 16:01:38 +0000 (16:01 +0000)]
few minor cleanups.

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

17 years agoremoved obsolete stuff which is done by APR makefiles.
Guenter Knauf [Thu, 22 Mar 2007 15:29:03 +0000 (15:29 +0000)]
removed obsolete stuff which is done by APR makefiles.

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

17 years agoremoved obsolete -prefix; minor cosmetic changes.
Guenter Knauf [Thu, 22 Mar 2007 13:45:54 +0000 (13:45 +0000)]
removed obsolete -prefix; minor cosmetic changes.

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

17 years agoadded proper error message for NetWare.
Guenter Knauf [Thu, 22 Mar 2007 11:58:20 +0000 (11:58 +0000)]
added proper error message for NetWare.

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

17 years agoadded mod_sedfilter; minor cosmetic changes.
Guenter Knauf [Wed, 21 Mar 2007 23:56:29 +0000 (23:56 +0000)]
added mod_sedfilter; minor cosmetic changes.

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

17 years agoremoved obsolete -prefix; minor cosmetic changes.
Guenter Knauf [Wed, 21 Mar 2007 23:53:31 +0000 (23:53 +0000)]
removed obsolete -prefix; minor cosmetic changes.

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

17 years agoremoved obsolete -prefix; minor cosmetic changes.
Guenter Knauf [Wed, 21 Mar 2007 23:33:35 +0000 (23:33 +0000)]
removed obsolete -prefix; minor cosmetic changes.

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

17 years ago* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_version): constify
Joe Orton [Wed, 21 Mar 2007 11:08:14 +0000 (11:08 +0000)]
* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_version): constify
where possible.

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

17 years agoMatch the comment to the rules - rules mention dir1 and dir2, comment
Rich Bowen [Wed, 21 Mar 2007 10:56:05 +0000 (10:56 +0000)]
Match the comment to the rules - rules mention dir1 and dir2, comment
refers to custom/ and pub/

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

17 years agoHardly seems worth noting, but since it's an FAQ in the first place...
William A. Rowe Jr [Wed, 21 Mar 2007 03:50:49 +0000 (03:50 +0000)]
Hardly seems worth noting, but since it's an FAQ in the first place...

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

17 years agoToo many users are baffled by this message. Some days even the devs are ;-)
William A. Rowe Jr [Wed, 21 Mar 2007 03:46:50 +0000 (03:46 +0000)]
Too many users are baffled by this message.  Some days even the devs are ;-)

Votes to backport to 2.2 and 2.0?

New resulting message is

bin/httpd -f /dev/null -C "LoadModule ftp_module ../apache22/modules/mod_ftp.so"

Syntax error in -C/-c directive:
API module structure 'ftp_module' in file /usr/local/apache22/modules/mod_ftp.so
is garbled - expected signature 41503230 but saw 41503232 - perhaps this is not
an Apache module DSO, or was compiled for a different Apache version?

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

17 years ago*) adds compile-time/run time SSL-C version support
William A. Rowe Jr [Wed, 21 Mar 2007 01:55:29 +0000 (01:55 +0000)]
*) adds compile-time/run time SSL-C version support
*) simplify a ton of overly-verbose legacy code
*) split the compiled-against v.s. runtime library
*) precache the results of the version string touchup

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

17 years agoEven though we don't let our bb grow too large, still
Jim Jagielski [Tue, 20 Mar 2007 15:48:23 +0000 (15:48 +0000)]
Even though we don't let our bb grow too large, still
honor flush buckets anyway... Note: maybe now we
should use something a little larger that AP_MIN_BYTES_TO_WRITE??

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

17 years agoUse macros for common code paths... this cleans it up
Jim Jagielski [Tue, 20 Mar 2007 14:36:57 +0000 (14:36 +0000)]
Use macros for common code paths... this cleans it up
a bit and prevents people from worrying about
whether these 2 parts are so different or not.

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

17 years agoAnd note its existance on the dev doc page
Jim Jagielski [Mon, 19 Mar 2007 20:19:49 +0000 (20:19 +0000)]
And note its existance on the dev doc page

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

17 years agoUpdate the doccos, mainly to start folding in
Jim Jagielski [Mon, 19 Mar 2007 20:15:36 +0000 (20:15 +0000)]
Update the doccos, mainly to start folding in
the o-f developer guideline.

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

17 years agoUpdate build system to know about sedfilter
Jim Jagielski [Mon, 19 Mar 2007 20:09:00 +0000 (20:09 +0000)]
Update build system to know about sedfilter

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

17 years agoSome minor tweaks... return quickly if given an
Jim Jagielski [Mon, 19 Mar 2007 20:04:56 +0000 (20:04 +0000)]
Some minor tweaks... return quickly if given an
empty bb, ensure EOS is the last bucket we handle
and if our chunked passing fails, then we need
to report that immediately.

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

17 years agoAdd comment to avoid confusion and questions :)
Jim Jagielski [Mon, 19 Mar 2007 15:22:58 +0000 (15:22 +0000)]
Add comment to avoid confusion and questions :)

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

17 years agoNote what the actually "valid" usage for apr_brigade_destroy
Jim Jagielski [Mon, 19 Mar 2007 15:03:17 +0000 (15:03 +0000)]
Note what the actually "valid" usage for apr_brigade_destroy
is, but still urge people to avoid it.

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

17 years agoUpdates based on feedback from Ruediger and Jeff:
Joe Orton [Mon, 19 Mar 2007 14:39:39 +0000 (14:39 +0000)]
Updates based on feedback from Ruediger and Jeff:

- correct use of "up" and "down" w.r.t. filter chain
- various grammar fixes
- recommend use of apr_brigade_cleanup() in the brigade structure section
- fix use of APR_BRIGADE_INSERT_HEAD in an example
- expand section on use of ap_save_brigade()
- simplify rule regarding fixed processing fixed # of buckets

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

17 years ago- add initial version of output filters guide (as sent to dev@)
Joe Orton [Mon, 19 Mar 2007 14:15:07 +0000 (14:15 +0000)]
- add initial version of output filters guide (as sent to dev@)

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

17 years agoMake sure that we are not resending if we have received something from Tomcat.
Jean-Frederic Clere [Fri, 16 Mar 2007 11:26:33 +0000 (11:26 +0000)]
Make sure that we are not resending if we have received something from Tomcat.

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

17 years agoInitial import: mod_sedfilter.c (was mod_sed_filter.c) as
Jim Jagielski [Thu, 15 Mar 2007 23:29:23 +0000 (23:29 +0000)]
Initial import: mod_sedfilter.c (was mod_sed_filter.c) as
per discussion on dev@httpd.

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

17 years agoRemove the hardcoded size limit parameter for ldap_search_ext_s
Bradley Nicholes [Tue, 13 Mar 2007 17:53:22 +0000 (17:53 +0000)]
Remove the hardcoded size limit parameter for ldap_search_ext_s
and replace it with an APR_ defined value that is set according
to the LDAP SDK being used.

Submitted by: David Jones <oscaremma gmail com>

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

17 years ago* modules/http/http_etag.c (etag_uint64_to_hex): Fix maximum shift
Joe Orton [Tue, 13 Mar 2007 11:58:12 +0000 (11:58 +0000)]
* modules/http/http_etag.c (etag_uint64_to_hex): Fix maximum shift
size, thanks to Ruediger.

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

17 years agoGenerate etags consistently across 32-bit and 64-bit platforms:
Joe Orton [Mon, 12 Mar 2007 15:05:50 +0000 (15:05 +0000)]
Generate etags consistently across 32-bit and 64-bit platforms:

* modules/http/http_etag.c (etag_uint64_to_hex): Renamed from
etag_ulong_to_hex; take an apr_uint64_t argument.
(ap_make_etag): Adjust to use new function and macro names.
Pass arguments directly to etag_uint64_to_hex without casting
down to unsigned long.

PR: 40064

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

17 years ago* server/mpm_common.c (dummy_connection): Use "OPTIONS *" for request
Joe Orton [Mon, 12 Mar 2007 14:49:07 +0000 (14:49 +0000)]
* server/mpm_common.c (dummy_connection): Use "OPTIONS *" for request
on dummy connection.

PR: 41796

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

17 years agoAdd the case_flt experimental modules to the NetWare build
Bradley Nicholes [Fri, 9 Mar 2007 00:19:31 +0000 (00:19 +0000)]
Add the case_flt experimental modules to the NetWare build

Submitted by: Guenter Knauf <fuankg apache.org>

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

17 years agoab: Add -r option to continue after socket receive errors.
Jeff Trawick [Thu, 8 Mar 2007 21:00:07 +0000 (21:00 +0000)]
ab: Add -r option to continue after socket receive errors.

Submitted by: Filip Hanik <devlist hanik.com>
Reviewed by: trawick

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

17 years ago* support/logresolve.c (main): Simplify to avoid conditionals in handling
Joe Orton [Wed, 7 Mar 2007 13:44:15 +0000 (13:44 +0000)]
* support/logresolve.c (main): Simplify to avoid conditionals in handling
of lines without spaces: ensure a newline is printed for the cache-hit
path and fix a crash in apr_file_printf for the cache-miss path.

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

17 years agoThere's a link to stuff about Y2K, but the actual content about Y2K was
Rich Bowen [Wed, 7 Mar 2007 03:35:41 +0000 (03:35 +0000)]
There's a link to stuff about Y2K, but the actual content about Y2K was
removed quite a while back.

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

17 years agoQuote any file system path that may have spaces when expanded
Sander Temme [Wed, 7 Mar 2007 01:13:46 +0000 (01:13 +0000)]
Quote any file system path that may have spaces when expanded

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

17 years agoTidying up - mostly outdated translations
Noirin Plunkett [Tue, 6 Mar 2007 19:48:30 +0000 (19:48 +0000)]
Tidying up - mostly outdated translations

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

17 years agoUpdating to reflect current defaults
Noirin Plunkett [Tue, 6 Mar 2007 19:37:50 +0000 (19:37 +0000)]
Updating to reflect current defaults

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