]> granicus.if.org Git - apache/log
apache
16 years ago* Second part of fix for PR 44402:
Ruediger Pluem [Fri, 22 Feb 2008 22:58:42 +0000 (22:58 +0000)]
* Second part of fix for PR 44402:

  - Fix the same race condition in event MPM.
  - Slightly optimize code in worker MPM by removing the need for an additional
    dereference operation.
  - Do some word smithing on the CHANGES entry.

PR: 44402
Submitted by: Basant Kumar Kukreja <basant.kukreja sun.com>
Reviewed by: rpluem

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

16 years agoWorker MPM: fix race condition
Nick Kew [Fri, 22 Feb 2008 22:17:42 +0000 (22:17 +0000)]
Worker MPM: fix race condition
PR44402: reported and fixed by Basant Kumar Kukreja

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

16 years agoSession cache interface redesign, Part 3:
Joe Orton [Fri, 22 Feb 2008 21:09:40 +0000 (21:09 +0000)]
Session cache interface redesign, Part 3:

Move provider-private context out of SSLModConfigRec and into an
opaque context pointer.  Use real error propagation in the ->init
functions rather than ssl_die().

* modules/ssl/ssl_private.h (modssl_sesscache_provider): Take a
  context out-parameter from ->init, and return an apr_status_t.
  Add context pointer as first arg for the other function types.
  (SSLModConfigRec): Remove tSessionCacheData* fields; add
  sesscache_context field.

* modules/ssl/ssl_scache.c (ssl_scache_init): Move once-per-process
  invocation check back into here.
  (ssl_scache_*): Adjust to use context pointer.

* modules/ssl/ssl_scache_shmcb.c, modules/ssl/ssl_scache_dc.c,
  modules/ssl/ssl_scache_dbm.c: Adjust all implementations to use
  opaque context pointer.

* modules/ssl/ssl_scache_memcache.c: Move memcache context into the
  context structure rather than using global state.

* modules/ssl/ssl_engine_config.c: Remove handling of
  pSessionCacheData* fields in SSLModConfigRec.

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

16 years agoMove SSL session data deserialization up out of the session cache
Joe Orton [Fri, 22 Feb 2008 19:58:39 +0000 (19:58 +0000)]
Move SSL session data deserialization up out of the session cache
storage providers; includes a significant change to the shmcb storage
structure:

* modules/ssl/ssl_private.h (modssl_sesscache_provider): Change
  retrieve function to take dest/destlen output buffer, to take a
  constant id paramater, and to return a BOOL.

* modules/ssl/ssl_scache.c (ssl_scache_retrieve): Update accordingly,
  perform SSL deserialization here.

* modules/ssl/ssl_scache_dc.c (ssl_scache_dc_retrieve),
  modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_retrieve),
  modules/ssl/ssl_scache_memcache.c (ssl_scache_mc_retrieve):
  Update accordingly.

* modules/ssl/ssl_scache_shmcb.c: Store the whole ID in the cache
  before the data, so that each index can be compared against the
  requested ID without deserializing the data.  This requires approx
  20% extra storage per session in the common case, though should
  reduce CPU overhead in some retrieval paths.
  (SHMCBIndex): Replace s_id2 field with id_len.
  (shmcb_cyclic_memcmp): New function.
  (ssl_scache_shmcb_init): Change the heuristics to allow for increase
  in per-session storage requirement.
  (ssl_scache_shmcb_retrieve): Drop requirement on ID length.
  (shmcb_subcache_store): Store the ID in the cyclic buffer.
  (shmcb_subcache_retrieve, shmcb_subcache_remove): Compare against
  the stored ID rather than deserializing the data.
  (ssl_scache_shmcb_retrieve, ssl_scache_shmcb_store): Update
  accordingly.

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

16 years agoA note about SSL handshake data and mod_logio
Eric Covener [Fri, 22 Feb 2008 18:57:02 +0000 (18:57 +0000)]
A note about SSL handshake data and mod_logio

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

16 years ago* modules/ssl/ssl_scache_shmcb.c: Describe the data structures
Joe Orton [Fri, 22 Feb 2008 15:48:28 +0000 (15:48 +0000)]
* modules/ssl/ssl_scache_shmcb.c: Describe the data structures
used by shmcb (hopefully :), before some invasive surgery.

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

16 years agoMove SSL session data serialization up out of the session cache
Joe Orton [Fri, 22 Feb 2008 12:00:49 +0000 (12:00 +0000)]
Move SSL session data serialization up out of the session cache
storage providers:

* modules/ssl/ssl_private.h (modssl_sesscache_provider): Change
  'store' interface to take a data/length pair rather than an
  SSL_SESSION pointer.

* modules/ssl/ssl_scache.c (ssl_scache_store): Serialize the SSL
  session here and pass down the raw DER.

* modules/ssl/ssl_scache_dc.c, modules/ssl_scache_mc.c,
  modules/ssl_scache_shmcb.c, modules/ssl_scache_dbm.c: Adjust ->store
  implementations accordingly, removing the four sets of identical
  code doing the i2d dance.

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

16 years agoRe-implement the SSL session cache abstraction using a vtable; first
Joe Orton [Fri, 22 Feb 2008 11:36:51 +0000 (11:36 +0000)]
Re-implement the SSL session cache abstraction using a vtable; first
step towards use of the ap_provider interface:

* modules/ssl/ssl_private.h (modssl_sesscache_provider): Add new
  vtable type.
  (SSLModConfigRec): Reference the vtable here.
  Replace all the ssl_scache_* prototypes with provider vtable objects.

* modules/ssl/ssl_scache.c (ssl_scache_init, ssl_scache_kill,
  ssl_scache_retrieve, ssl_scache_store, ssl_scache_remove,
  ssl_ext_status_hook): Use callbacks from vtable rather than ifdef
  spaghetti.

* modules/ssl/ssl_engine_init.c (ssl_init_ctx_session_cache):
  Only install the OpenSSL callbacks if a vtable is configured.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLSessionCache): Set up
  vtable pointer.

* modules/ssl/ssl_scache_dc.c, modules/ssl_scache_mc.c: Adjust to make
  implementations static, and add vtable definition.

* modules/ssl_scache_shmcb.c: Likewise; also move the init
  one-per-process requirement down here.

* modules/ssl_scache_dbm.c: Likewise; also (temporarily) use a local
  subpool in the store callback.

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

16 years ago* support/htpasswd.c (seed_rand): Fix compiler warning.
Joe Orton [Fri, 22 Feb 2008 10:14:07 +0000 (10:14 +0000)]
* support/htpasswd.c (seed_rand): Fix compiler warning.

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

16 years agobackported in r629983
Jim Jagielski [Thu, 21 Feb 2008 20:45:33 +0000 (20:45 +0000)]
backported in r629983

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

16 years agorename mod_charset_lite CharsetOption ForceAllMimeTypes to
Eric Covener [Thu, 21 Feb 2008 18:43:24 +0000 (18:43 +0000)]
rename mod_charset_lite CharsetOption ForceAllMimeTypes to
TranslateAllMimeTypes (only about 18 hours old)

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

16 years agotypo
Jim Jagielski [Thu, 21 Feb 2008 17:30:39 +0000 (17:30 +0000)]
typo

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

16 years ago *) mod_charset_lite: Add ForceAllMimeTypes sub-option to
Eric Covener [Wed, 20 Feb 2008 21:17:17 +0000 (21:17 +0000)]
  *) mod_charset_lite: Add ForceAllMimeTypes sub-option to
     CharsetOptions, allowing the administrator to skip the
     mimetype checking that precedes translation.
     PR 44458 [Eric Covener]

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

16 years ago* Set aside buckets that remain unprocessed in the filter context for the
Ruediger Pluem [Wed, 20 Feb 2008 13:44:22 +0000 (13:44 +0000)]
* Set aside buckets that remain unprocessed in the filter context for the
  next filter pass.

PR: 44447
Submitted by: Harald Niesche <harald brokenerror.de>
Reviewed by: rpluem

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

16 years agoFix printing of error message.
Paul Querna [Tue, 19 Feb 2008 20:39:32 +0000 (20:39 +0000)]
Fix printing of error message.

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

16 years agoImprove generation of the seed to rand, by using apr_generate_random_bytes,
Paul Querna [Tue, 19 Feb 2008 17:05:26 +0000 (17:05 +0000)]
Improve generation of the seed to rand, by using apr_generate_random_bytes,
rather than the current time as a seed.

PR: 31440

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

16 years agoImprove salt string generation.
Paul Querna [Tue, 19 Feb 2008 16:55:47 +0000 (16:55 +0000)]
Improve salt string generation.

PR: 31440
Submited by: Andreas Krennmair <ak synflood.at>

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

16 years agoIn the case where we have only 1 pattern, then we
Jim Jagielski [Mon, 18 Feb 2008 20:45:34 +0000 (20:45 +0000)]
In the case where we have only 1 pattern, then we
can safely be quick, no matter what.

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

16 years agoNote 'rm: conftest.dSYM: is a directory' messages
Jim Jagielski [Mon, 18 Feb 2008 14:56:06 +0000 (14:56 +0000)]
Note 'rm: conftest.dSYM: is a directory' messages

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

16 years agoUpdate doccos
Jim Jagielski [Mon, 18 Feb 2008 14:46:55 +0000 (14:46 +0000)]
Update doccos

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

16 years agohttp_filters: Don't send 100-continue when 4xx is due
Nick Kew [Mon, 18 Feb 2008 08:35:44 +0000 (08:35 +0000)]
http_filters: Don't send 100-continue when 4xx is due
PR 43711
Reported & tested by Ragini Bisraya
Patch by Chetan Reddy
Reviewed: niq

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

16 years agoRevert last change. It is not acceptable to remove all sources
Roy T. Fielding [Thu, 14 Feb 2008 19:48:14 +0000 (19:48 +0000)]
Revert last change.  It is not acceptable to remove all sources
of credit from our distribution files, even if they are out of date.

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

16 years agoAssuming this sticks, explain why this was considered
Jim Jagielski [Thu, 14 Feb 2008 18:13:23 +0000 (18:13 +0000)]
Assuming this sticks, explain why this was considered
a Good Idea.

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

16 years agoChange default of mod_substitute to flattening...
Jim Jagielski [Thu, 14 Feb 2008 14:48:13 +0000 (14:48 +0000)]
Change default of mod_substitute to flattening...
Via current discussion on dev@httpd

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

16 years agoNote why we aren't bothering to check that we have
Jim Jagielski [Thu, 14 Feb 2008 13:37:18 +0000 (13:37 +0000)]
Note why we aren't bothering to check that we have
a valid octet here.

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

16 years agoThis is really really out of date... try to refresh it;
Jim Jagielski [Thu, 14 Feb 2008 13:16:52 +0000 (13:16 +0000)]
This is really really out of date... try to refresh it;
remove the current "list" of people for now, maybe add link
to httpd.apache.org or http://people.apache.org/~jim/projects.html#httpd
instead

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

16 years agoadjust transforms
Jim Jagielski [Thu, 14 Feb 2008 12:58:24 +0000 (12:58 +0000)]
adjust transforms

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

16 years agowordsmithing
Jim Jagielski [Thu, 14 Feb 2008 12:57:19 +0000 (12:57 +0000)]
wordsmithing

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

16 years agoAdd in mod_jk's disablereuse analog for mod_proxy.
Jim Jagielski [Thu, 14 Feb 2008 12:55:57 +0000 (12:55 +0000)]
Add in mod_jk's disablereuse analog for mod_proxy.

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

16 years agoKasper Brand came across a flaw in the current implementation when CRL
Dirk-Willem van Gulik [Thu, 14 Feb 2008 10:24:04 +0000 (10:24 +0000)]
Kasper Brand came across a flaw in the current implementation when CRL
information - i.e.  SSLCARevocationFile/SSLCARevocationPath - is set
on a per-vhost basis (don't know how much sense it makes to have
non-global CRLs, but anyway...).

The attached patch (47B2B1A7.1060009@velox.ch on httpd-dev) addresses
this issue, and it also improves the logging behavior for an SNI
enabled configuration (previously some of the messages would
always go to the first vhost, or wouldn't appear at
all, depending on the LogLevel of the first vhost).

reviewed: dirkx

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

16 years agoThe ordering of arguments in the directive desctiptions of LDAPTrustedGlobalCert
Paul J. Reder [Thu, 14 Feb 2008 02:27:26 +0000 (02:27 +0000)]
The ordering of arguments in the directive desctiptions of LDAPTrustedGlobalCert
and LDAPTrustedClientCert were backwards.

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

16 years agoClarify when AUTHENTICATE_* variables are populated by mod_authnz_ldap
Eric Covener [Wed, 13 Feb 2008 14:57:13 +0000 (14:57 +0000)]
Clarify when AUTHENTICATE_* variables are populated by mod_authnz_ldap
(authn only).

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

16 years agoUpdate revision markers.
Erik Abele [Wed, 13 Feb 2008 14:45:07 +0000 (14:45 +0000)]
Update revision markers.

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

16 years agoTransformation.
Erik Abele [Wed, 13 Feb 2008 14:42:28 +0000 (14:42 +0000)]
Transformation.

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

16 years agoFix reference to RewriteCond - there's no class="module" in our XML.
Erik Abele [Wed, 13 Feb 2008 14:40:46 +0000 (14:40 +0000)]
Fix reference to RewriteCond - there's no class="module" in our XML.

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

16 years agoWhitespace fixes.
Erik Abele [Wed, 13 Feb 2008 13:18:16 +0000 (13:18 +0000)]
Whitespace fixes.

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

16 years agoChange docs URLs to canonical version.
Erik Abele [Wed, 13 Feb 2008 12:54:19 +0000 (12:54 +0000)]
Change docs URLs to canonical version.

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

16 years agoA more complete solution for PR 41823, see also r619746 and r619747.
Erik Abele [Wed, 13 Feb 2008 12:46:50 +0000 (12:46 +0000)]
A more complete solution for PR 41823, see also r619746 and r619747.

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

16 years ago* As per niq's comment, better destinct the types of idempotence.
Ruediger Pluem [Tue, 12 Feb 2008 20:51:08 +0000 (20:51 +0000)]
* As per niq's comment, better destinct the types of idempotence.

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

16 years ago* This change is backported.
Ruediger Pluem [Tue, 12 Feb 2008 20:27:01 +0000 (20:27 +0000)]
* This change is backported.

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

16 years agoBuild products
Vincent Bray [Tue, 12 Feb 2008 11:54:40 +0000 (11:54 +0000)]
Build products

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

16 years agoFix wellformedness error in .fr docs patch
Vincent Bray [Tue, 12 Feb 2008 11:49:22 +0000 (11:49 +0000)]
Fix wellformedness error in .fr docs patch

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

16 years agoFrench language updates courtesy of Lucien Gentis and http://apache-doc.inl.fr/
Vincent Bray [Tue, 12 Feb 2008 11:40:29 +0000 (11:40 +0000)]
French language updates courtesy of Lucien Gentis and http://apache-doc.inl.fr/

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

16 years agoMore spelling/clarifications/depluralizing (and we know the name of the error log)
Dirk-Willem van Gulik [Mon, 11 Feb 2008 22:17:12 +0000 (22:17 +0000)]
More spelling/clarifications/depluralizing (and we know the name of the error log)

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

16 years agoClarify the text a little and use the vhost terminology.
Dirk-Willem van Gulik [Mon, 11 Feb 2008 22:11:41 +0000 (22:11 +0000)]
Clarify the text a little and use the vhost terminology.

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

16 years agoAddition of a test script which creates a Sample/test configuration for installations
Dirk-Willem van Gulik [Mon, 11 Feb 2008 22:06:42 +0000 (22:06 +0000)]
Addition of a test script which creates a Sample/test configuration for installations
that wants to support SNI. Primarily done as a lot of web developers find the creation
of certificates hard - and do not want to go to the expense of sourcing a handful
from a well-known CA just for testing and experimenting.

Also update the CHANGES log with the word 'SNI' as to make googling it easier.

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

16 years agoIncorperate feedback of Rudiger.
Dirk-Willem van Gulik [Mon, 11 Feb 2008 21:06:58 +0000 (21:06 +0000)]
Incorperate feedback of Rudiger.

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

16 years agoTurn the cache module into first class citizens (well the disk_cache
Dirk-Willem van Gulik [Mon, 11 Feb 2008 17:21:05 +0000 (17:21 +0000)]
Turn the cache module into first class citizens (well the disk_cache
and file cache that is).

This makes the delta between 'all' and 'most'

mod_cern_meta.c
mod_log_forensic.c
mod_mime_magic.c
mod_unique_id.c
mod_usertrack.c
mod_version.c
mod_mem_cache.c

And keeps disabled in all and most the modules for:

authnz_ldap
bucketeer
echo
example_hooks
case_filter
case_filter_in
example_ipc
charset_lite
cgid
ldap
optional_hook_export
optional_hook_import
optional_fn_import
optional_fn_export

As well as mod_ssl which is intentionally not part of MOST and All.

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

16 years agoClarify the phrase "per-directory context"
Rich Bowen [Mon, 11 Feb 2008 16:17:50 +0000 (16:17 +0000)]
Clarify the phrase "per-directory context"

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

16 years agoMore examples and a few clarifications where the text didn't match the
Rich Bowen [Mon, 11 Feb 2008 16:17:19 +0000 (16:17 +0000)]
More examples and a few clarifications where the text didn't match the
example.

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

16 years agoReduce the WARNING to a DEBUG when SNI support is enabled.
Dirk-Willem van Gulik [Mon, 11 Feb 2008 15:38:47 +0000 (15:38 +0000)]
Reduce the WARNING to a DEBUG when SNI support is enabled.

This is because a) during SNI such is normal and b) regardless
when overlap is detected there will always be a warning:

    [warn] Init: Name-based SSL virtual hosts only work for clients
       with TLS server name indication support (RFC 4366)

at the end of the cycle.

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

16 years agoReturn a little bit more error information when, say a disk is full or something...
Dirk-Willem van Gulik [Mon, 11 Feb 2008 14:27:34 +0000 (14:27 +0000)]
Return a little bit more error information when, say a disk is full or something gets write protected. Note that in some cases mod_cache.c will_also_ log a 'cache: store_headers failed' subsequently.

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

16 years agoAdd PR for header install
Dirk-Willem van Gulik [Sat, 9 Feb 2008 16:52:47 +0000 (16:52 +0000)]
Add PR for header install

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

16 years agoCatch win32 up with r620135 for unix., install so, cache and rewrite .h files.
William A. Rowe Jr [Sat, 9 Feb 2008 16:11:50 +0000 (16:11 +0000)]
Catch win32 up with r620135 for unix., install so, cache and rewrite .h files.

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

16 years agoAlso install the so, rewrite and cache header files.
Dirk-Willem van Gulik [Sat, 9 Feb 2008 15:12:52 +0000 (15:12 +0000)]
Also install the so, rewrite and cache header files.

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

16 years agoSub-requests are created and used with two purposes; sometimes
Dirk-Willem van Gulik [Sat, 9 Feb 2008 15:04:57 +0000 (15:04 +0000)]
Sub-requests are created and used with two purposes; sometimes
simply to 'see' what a request would do; as to fill out an SSI,
validate access or similar - and is then discarded. And sometimes
as the precursor to becoming the actual request; e.g. when mod_dir
checks if an /index.html can be served for a '/'.

In the latter case it is important to preserve the output filters
'for real'; whereas in the first case they have to be reset to
purely the minimal proto filters (if at all). This patch instates
the output filters in 3 cases where sub-requests are/may in fact
be used as the real request later on.

This is a relatively risky change (which should not be back-ported
without further discussion) and may break caches in combination
with internal redirects/vary/negotiation in subtle ways.

See the thread starting at [1] and in particular the general
concerns of rpluem at [2] with respect to sub requests
and (fast_)internal redirects possibly needing a more
thorough overhaul.

1: http://mail-archives.apache.org/mod_mbox/httpd-dev/200802.mbox/ajax/%3c335D1A4B-25E2-4FF1-8CDF-5010A7FBD293@webweaving.org%3e
2: http://mail-archives.apache.org/mod_mbox/httpd-dev/200802.mbox/%3c47ACE1D4.4060702@apache.org%3e

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

16 years ago oops, forgot to add these. As part of PR 41823
Tony Stevenson [Fri, 8 Feb 2008 02:43:16 +0000 (02:43 +0000)]
 oops, forgot to add these. As part of PR 41823

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

16 years agoAs per PR 41823 - s/apache.exe/httpd.exe
Tony Stevenson [Fri, 8 Feb 2008 02:38:41 +0000 (02:38 +0000)]
As per PR 41823  -  s/apache.exe/httpd.exe

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

16 years agoAs per PR 33892 - Added comment re escaping slashes.
Tony Stevenson [Fri, 8 Feb 2008 02:06:04 +0000 (02:06 +0000)]
As per PR 33892 - Added comment re escaping slashes.

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

16 years agoAs per PR 44135
Tony Stevenson [Fri, 8 Feb 2008 01:34:51 +0000 (01:34 +0000)]
As per PR 44135

Feeling brave mucking with the rewrite docs =)

setenvif -> added link to rewrite.html#rewritecond
rewrite -> added a see also so the rewrite flags stood out a little more.

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

16 years agoAdded notice that support forums will likely ask for an errorlog entry.
Tony Stevenson [Fri, 8 Feb 2008 00:20:38 +0000 (00:20 +0000)]
Added notice that support forums will likely ask for an errorlog entry.

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

16 years agoUpdate the example and fix typos
Bradley Nicholes [Thu, 7 Feb 2008 16:46:09 +0000 (16:46 +0000)]
Update the example and fix typos

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

16 years agoDocument the RequireAlias block directive
Bradley Nicholes [Thu, 7 Feb 2008 16:45:11 +0000 (16:45 +0000)]
Document the RequireAlias block directive

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

16 years ago* Fix a typo (timout -> timeout)
Ruediger Pluem [Wed, 6 Feb 2008 19:52:04 +0000 (19:52 +0000)]
* Fix a typo (timout -> timeout)

PR: 44360
Submitted by: Rainer Jung <rainer.jung kippdata.de>
Reviewed by: rpluem

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

16 years agoUpdate transformation. Note that commit r618551 also addresses PR44356 (missing slash...
Vincent Bray [Tue, 5 Feb 2008 05:38:20 +0000 (05:38 +0000)]
Update transformation. Note that commit r618551 also addresses PR44356 (missing slash on ProxyPass)

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

16 years agoCopyright year change transformation.
Vincent Bray [Tue, 5 Feb 2008 05:35:15 +0000 (05:35 +0000)]
Copyright year change transformation.

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

16 years ago* Use a 64 bit unsigned int instead of a signed long to count the bytes
Ruediger Pluem [Sat, 2 Feb 2008 20:36:18 +0000 (20:36 +0000)]
* Use a 64 bit unsigned int instead of a signed long to count the bytes
  transferred to avoid integer overflows.

PR: 44346

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

16 years ago* Do not retry a request in the case that we either failed to sent a part of the
Ruediger Pluem [Sat, 2 Feb 2008 16:35:40 +0000 (16:35 +0000)]
* Do not retry a request in the case that we either failed to sent a part of the
  request body or if the request is not idempotent.

PR: 44334

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

16 years ago* Fix comment. No functional change.
Ruediger Pluem [Fri, 1 Feb 2008 21:21:01 +0000 (21:21 +0000)]
* Fix comment. No functional change.

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

16 years agoAvoid core dumps by getting the signal_description only if
Martin Kraemer [Fri, 1 Feb 2008 08:50:09 +0000 (08:50 +0000)]
Avoid core dumps by getting the signal_description only if
a process actually terminated on a signal. Update status
only on a valid wait response.

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

16 years ago* Fix processing of chunked responses if Connection: Transfer-Encoding is
Ruediger Pluem [Tue, 29 Jan 2008 20:55:38 +0000 (20:55 +0000)]
* Fix processing of chunked responses if Connection: Transfer-Encoding is
  set in the response of the proxied system.

PR: 44311

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

16 years agoNow let things like
Jim Jagielski [Tue, 29 Jan 2008 14:26:20 +0000 (14:26 +0000)]
Now let things like

   ProxyPassReverse /foo balancer://bar

work "as expected" :) :)

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

16 years ago* Don't leak memory when reopening the logfile.
Ruediger Pluem [Mon, 28 Jan 2008 14:51:14 +0000 (14:51 +0000)]
* Don't leak memory when reopening the logfile.

PR: 40183
Submitted by: rpluem, Takashi Sato <serai lans-tv.com>
Reviewed by: rpluem

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

16 years agoAdd doc for the new mod_ldap referral directives.
Paul J. Reder [Fri, 25 Jan 2008 01:59:43 +0000 (01:59 +0000)]
Add doc for the new mod_ldap referral directives.

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

16 years agoReduced the bumpiness (from major to minor) and utilized #defines throughout
Paul J. Reder [Thu, 24 Jan 2008 00:24:01 +0000 (00:24 +0000)]
Reduced the bumpiness (from major to minor) and utilized #defines throughout
(per Ruediger's suggestions). Still looking at the dir merge.

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

16 years agoAdded rebind change info.
Paul J. Reder [Wed, 23 Jan 2008 18:17:13 +0000 (18:17 +0000)]
Added rebind change info.

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

16 years agoThis adds Apache support (taking advantage of the new APR capability)
Paul J. Reder [Wed, 23 Jan 2008 18:14:41 +0000 (18:14 +0000)]
This adds Apache support (taking advantage of the new APR capability)
for ldap rebind callback while chasing referrals. This allows direct
searches on LDAP servers (in particular MS Active Directory 2003+)
using referrals without the use of the global catalog.
This addresses PRs 26538, 40268, and 42557

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

16 years agoThis need not be said; the current version of testdbm.c
William A. Rowe Jr [Fri, 18 Jan 2008 23:31:33 +0000 (23:31 +0000)]
This need not be said; the current version of testdbm.c
carries the correct license.

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

16 years ago* server/mpm_common.c (reclaim_one_pid): Retrieve the exit status from
Joe Orton [Fri, 18 Jan 2008 20:49:46 +0000 (20:49 +0000)]
* server/mpm_common.c (reclaim_one_pid): Retrieve the exit status from
  apr_proc_wait(); call ap_process_child_status() for children which
  terminate, to ensure that abnormal exits (e.g. SIGSEGV) are logged.

PR: 42757

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

16 years ago* server/mpm/prefork/prefork.c (child_main): If apr_pollset_poll()
Joe Orton [Fri, 18 Jan 2008 20:31:28 +0000 (20:31 +0000)]
* server/mpm/prefork/prefork.c (child_main): If apr_pollset_poll()
  fails with EINTR and die_now has been set (indicating a graceful
  stop/restart), terminate the child quickly rather than re-entering
  poll().

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

16 years ago* server/mpm/prefork/prefork.c (child_main): Unlock the mutex before
Joe Orton [Fri, 18 Jan 2008 20:12:31 +0000 (20:12 +0000)]
* server/mpm/prefork/prefork.c (child_main): Unlock the mutex before
  terminating in the multi-listener poll error path.

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

16 years agoCopyright year update
Noirin Plunkett [Fri, 18 Jan 2008 11:44:40 +0000 (11:44 +0000)]
Copyright year update

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

16 years ago* Do not try to read non existing response bodies of HEAD requests.
Ruediger Pluem [Thu, 17 Jan 2008 20:01:55 +0000 (20:01 +0000)]
* Do not try to read non existing response bodies of HEAD requests.

PR: 34275
Submitted by: Takashi Sato <serai lans-tv.com>
Reviewed by: rpluem

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

16 years agoTidying up the SSL FAQ, incorporating changes suggested by Lucien Gentis
Noirin Plunkett [Wed, 16 Jan 2008 15:31:07 +0000 (15:31 +0000)]
Tidying up the SSL FAQ, incorporating changes suggested by Lucien Gentis
http://mail-archives.apache.org/mod_mbox/httpd-docs/200801.mbox/raw/%3c478A1806.1090307@lorraine.iufm.fr%3e

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

16 years agoSupport chroot on unix-family platforms
Nick Kew [Sat, 12 Jan 2008 21:16:27 +0000 (21:16 +0000)]
Support chroot on unix-family platforms
PR 43596 (Dimitar Pashev)

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

16 years agoDon't add bogus duplicate Content-Language header entries.
Nick Kew [Sat, 12 Jan 2008 20:33:57 +0000 (20:33 +0000)]
Don't add bogus duplicate Content-Language header entries.
PR 11035

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

16 years agomod_proxy_ftp: Fix base for directory listings.
Nick Kew [Sat, 12 Jan 2008 19:32:24 +0000 (19:32 +0000)]
mod_proxy_ftp: Fix base for directory listings.
PR 27834

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

16 years agoMinor bump for r611199, third time's a charm (change history modified in previous...
Eric Covener [Sat, 12 Jan 2008 13:53:01 +0000 (13:53 +0000)]
Minor bump for r611199, third time's a charm (change history modified in previous commit)

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

16 years ago* Hex pids are bogus anyway and on environments with APR_PID_T_FMT d this
Ruediger Pluem [Sat, 12 Jan 2008 07:01:52 +0000 (07:01 +0000)]
* Hex pids are bogus anyway and on environments with APR_PID_T_FMT d this
  breaks and print x.

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

16 years ago *) mod_proxy_http: Return HTTP status codes instead of apr_status_t
Eric Covener [Fri, 11 Jan 2008 20:30:23 +0000 (20:30 +0000)]
  *) mod_proxy_http: Return HTTP status codes instead of apr_status_t
     values for errors encountered while forwarding the request body
     PR 44165 [Eric Covener]

See also PR 31759 / r448711

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

16 years agominor MMN bump for r611199
Eric Covener [Fri, 11 Jan 2008 18:53:48 +0000 (18:53 +0000)]
minor MMN bump for r611199

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

16 years agoRestructured server name indication support (PR 34607);
Guenter Knauf [Fri, 11 Jan 2008 16:04:26 +0000 (16:04 +0000)]
Restructured server name indication support (PR 34607);
added missing client cert support.
Submitted by: Kaspar Brand <asfbugz velox.ch>

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

16 years agoadded hack to fetch copyright string.
Guenter Knauf [Fri, 11 Jan 2008 15:52:39 +0000 (15:52 +0000)]
added hack to fetch copyright string.

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

16 years ago*) mod_logio: Provide optional function to allow modules to adjust the
Eric Covener [Fri, 11 Jan 2008 15:07:53 +0000 (15:07 +0000)]
*) mod_logio: Provide optional function to allow modules to adjust the
   bytes_in count [Eric Covener]

Practical example: alternate SSL implementation that lives
beyond the filters (IOL)

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

16 years agoUpdate year to 2008
Nick Kew [Fri, 11 Jan 2008 13:23:21 +0000 (13:23 +0000)]
Update year to 2008

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

16 years agomod_rewrite: Don't canonicalise URLs with [P,NE]
Nick Kew [Fri, 11 Jan 2008 10:52:09 +0000 (10:52 +0000)]
mod_rewrite: Don't canonicalise URLs with [P,NE]
PR 43319

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

16 years agoLink to an explaination of the password format used in an example.
Vincent Bray [Fri, 11 Jan 2008 03:36:51 +0000 (03:36 +0000)]
Link to an explaination of the password format used in an example.
(Suggested by Jack D. Pond)

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

16 years agoAdjust for 2008
Jim Jagielski [Thu, 10 Jan 2008 15:52:39 +0000 (15:52 +0000)]
Adjust for 2008

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

16 years agobelt and suspenders
Jim Jagielski [Wed, 9 Jan 2008 16:51:49 +0000 (16:51 +0000)]
belt and suspenders

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

16 years agohttp_filters: make sure we get last byte of actual data in edge-case
Nick Kew [Wed, 9 Jan 2008 00:24:50 +0000 (00:24 +0000)]
http_filters: make sure we get last byte of actual data in edge-case
of an empty data bucket in get_remaining_chunk_line.

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