]> granicus.if.org Git - apache/log
apache
18 years agoAdding updated mod_ssl HOWTO to the website
Noirin Plunkett [Sun, 15 Jan 2006 16:04:23 +0000 (16:04 +0000)]
Adding updated mod_ssl HOWTO to the website
Also committing transforms with new (2006) copyright notice.

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

18 years agoRewrite of the mod_ssl HOWTO - only language changes, no code changes.
Noirin Plunkett [Sun, 15 Jan 2006 14:12:47 +0000 (14:12 +0000)]
Rewrite of the mod_ssl HOWTO - only language changes, no code changes.

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

18 years agoeliminate the import of the ap_satisfies optional function on every request. Just...
Bradley Nicholes [Sun, 15 Jan 2006 00:26:20 +0000 (00:26 +0000)]
eliminate the import of the ap_satisfies optional function on every request.  Just import it once if it exists.

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

18 years agoclean up some left-over debugging code and comments
Bradley Nicholes [Sat, 14 Jan 2006 05:06:39 +0000 (05:06 +0000)]
clean up some left-over debugging code and comments

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

18 years agohost access control compatibility module (Order, Deny, Allow, Satisfy)
Bradley Nicholes [Sat, 14 Jan 2006 00:17:25 +0000 (00:17 +0000)]
host access control compatibility module (Order, Deny, Allow, Satisfy)

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

18 years agoRestore Order, Deny, Allow, Satisfy for backwards compatibility with authz
Bradley Nicholes [Sat, 14 Jan 2006 00:13:22 +0000 (00:13 +0000)]
Restore Order, Deny, Allow, Satisfy for backwards compatibility with authz

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

18 years ago* Sync with 2.2.x STATUS file
Ruediger Pluem [Fri, 13 Jan 2006 22:37:51 +0000 (22:37 +0000)]
* Sync with 2.2.x STATUS file

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

18 years ago Drop redundant dependency, ms studio is quite good at resolving
William A. Rowe Jr [Fri, 13 Jan 2006 01:28:15 +0000 (01:28 +0000)]
  Drop redundant dependency, ms studio is quite good at resolving
  nested dependencies (unless the dependency is consumed by both
  modules.)  See mod_ldap for a similar example.

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

18 years ago Say 'whoops'. When you build the elements explicitly, you must order
William A. Rowe Jr [Fri, 13 Jan 2006 01:17:25 +0000 (01:17 +0000)]
  Say 'whoops'.  When you build the elements explicitly, you must order
  them (win32 has no unresolved symbols linkage).  modules/database/
  is required before modules/aaa/

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

18 years agoMake some error checking more clear by using the defined constants instead
Garrett Rooney [Thu, 12 Jan 2006 22:51:00 +0000 (22:51 +0000)]
Make some error checking more clear by using the defined constants instead
of literal values.

Patch by: Dan Rall <dlr apache.org>

* server/request.c
  (ap_process_request_internal): Check the return value of hook functions
   against the constant OK instead of the magic number 0 to improve clarity.

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

18 years ago An unambigous cast, if limit is <0 it's unlimited.
William A. Rowe Jr [Thu, 12 Jan 2006 19:14:28 +0000 (19:14 +0000)]
  An unambigous cast, if limit is <0 it's unlimited.

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

18 years ago Determined that yes; apr_general.h may be included in .rc files,
William A. Rowe Jr [Thu, 12 Jan 2006 16:11:01 +0000 (16:11 +0000)]
  Determined that yes; apr_general.h may be included in .rc files,
  so eliminate a substitute declaration.

  Correct version and copyright generation, this involves 'long line'
  flavor of the first ASF copyright line;  next step will be no more
  awk generation of .rc files, so there we will use the new macro
  AP_SERVER_COPYRIGHT and defined tokens from this file for versions.

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

18 years agoUpdate the NetWare makefiles to build the authz code
Bradley Nicholes [Wed, 11 Jan 2006 19:26:57 +0000 (19:26 +0000)]
Update the NetWare makefiles to build the authz code

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

18 years ago Correct version numbering for generated .rc files.
William A. Rowe Jr [Wed, 11 Jan 2006 17:34:55 +0000 (17:34 +0000)]
  Correct version numbering for generated .rc files.

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

18 years agoAuthz refactoring
Bradley Nicholes [Wed, 11 Jan 2006 14:30:28 +0000 (14:30 +0000)]
Authz refactoring
Merge from branches/authz-dev

Basically here is a list of what has been done:
- Convert all of the authz modules from hook based to provider based
- Remove the ap_requires field from the core_dir_config structure
- Remove the function ap_requires() since its functionality is no
longer supported or necessary in the refactoring
- Remove the calls to ap_some_auth_required() in the core request
handling to allow the  hooks to be called in all cases.
- Add the new module mod_authz_core which will act as the authorization
provider vector and contain common authz directives such as 'Require',
'Reject' and  '<RequireAlias>'
- Add the new module mod_authn_core which will contain common
authentication directives such as 'AuthType', 'AuthName' and
'<AuthnProviderAlias>'
- Move the check for METHOD_MASK out of the authz providers and into
the authz_core provider vector
- Define the status codes that can be returned by the authz providers
as AUTHZ_DENIED,  AUTHZ_GRANTED and AUTHZ_GENERAL_ERROR
- Remove the 'Satisfy' directive
- Implement the '<RequireAll>', '<RequireOne>' block directives  to
handle the 'and' and 'or' logic for authorization.
- Remove the 'AuthzXXXAuthoritative' directives from all of the authz
providers
- Implement the 'Reject' directive that will deny authorization if the
argument is true
- Fold the 'Reject' directive into the '<RequireAll>', '<RequireOne>'
logic
- Reimplement the host based authorization functionality provided by
'allow', 'deny' and 'order' as authz providers
- Remove the 'allow', 'deny' and 'order' directives
- Merge mod_authn_alias into mod_authn_core
- Add '<RequireAlias>' functionality which is similar to
'<AuthnProviderAlias>' but specific to authorization aliasing
- Remove all of the references to the 'authzxxxAuthoritative'
directives from the documentation
- Remove the 'Satisfy' directive from the documentation
- Remove 'Allow', 'Deny', 'Order' directives from the documentation
- Document '<RequireAll>', '<RequireOne>', 'Reject' directives
- Reimplement the APIs ap_auth_type(), ap_auth_name() as optional
functions and move the  actual implementation into mod_authn_core
- Reimplement the API ap_some_auth_required() as an optional function
and move the  actual implementation into mod_authz_core

Major Changes:
- Added the directives <RequireAll>, <RequireOne>, <RequireAlias>,
Reject
- Expanded the functionality of the directive 'Require' to handle all
authorization and access control
- Added the new authz providers 'env', 'ip', 'host', 'all' to handle
host-based access control
- Removed the directives 'Allow', 'Deny', 'Order', 'Satisfy',
'AuthzXXXAuthoritative'
- Removed the ap_require() API
- Moved the directives 'AuthType', 'AuthName' out of mod_core and into
mod_authn_core
- Moved the directive 'Require' out of mod_core and into
mod_authz_core
- Merged mod_authn_alias into mod_authn_core
- Renamed mod_authz_dbm authz providers from 'group' and 'file-group'
to 'dbm-group' and 'dbm-file-group'

Benefits:
- All authorization and access control is now handle through two
directives, 'Require' and 'Reject'
- Authorization has been expanded to allow for complex 'AND/OR' control
logic through the directives '<RequireAll>' and '<RequireOne>'
- Configuration is now much simpler and consistent across the board
- Other modules like mod_ssl and mod_proxy should be able to plug into
and take advantage of  the same provider based authorization mechanism
by implementing their own providers

Issues:
- Backwards compatibility between 2.2 and 2.3 configurations will be
broken in the area  of authorization and access control due to the fact
that the directives 'allow', 'deny',  'order' and 'satisfy' have been
removed.  When moving from 2.2 to 2.3 these directives  will have to be
changed to 'Require all granted', 'Require all denied' or some variation
 of the authz host-based providers.
- Existing third party authorization modules will have to adapt to the
new structure.

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

18 years ago* Fix PR38017 by handling the selection of the hostname in the same way for
Ruediger Pluem [Tue, 10 Jan 2006 21:34:11 +0000 (21:34 +0000)]
* Fix PR38017 by handling the selection of the hostname in the same way for
  non proxied and reverse proxied requests.

  We need to handle both cases in the same manner as for the reverse proxy
  case we have the following situation:

  If a cached entry is looked up by mod_cache's quick handler r->proxyreq
  is still unset in the reverse proxy case as it only gets set in the
  translate name hook (either by ProxyPass or mod_rewrite) which is run
  after the quick handler hook. This is different to the forward proxy
  case where it gets set before the quick handler is run (in the
  post_read_request hook).
  If a cache entry is created by the CACHE_SAVE filter we always have
  r->proxyreq set correctly.
  So we must ensure that in the reverse proxy case we use the same code
  path and using the canonical name seems to be the right thing to do
  in the reverse proxy case.

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

18 years agoUpdate copyright current year to 2006
Nick Kew [Tue, 10 Jan 2006 04:06:36 +0000 (04:06 +0000)]
Update copyright current year to 2006

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

18 years agosync.
Hiroaki Kawai [Mon, 9 Jan 2006 14:19:23 +0000 (14:19 +0000)]
sync.
English Revision: 349917

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

18 years agosync.
Hiroaki Kawai [Mon, 9 Jan 2006 13:57:16 +0000 (13:57 +0000)]
sync.
English Revision: 350286

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

18 years agosync.
Hiroaki Kawai [Mon, 9 Jan 2006 13:56:53 +0000 (13:56 +0000)]
sync.
English Revision: 333005

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

18 years agoSync.
Hiroaki Kawai [Mon, 9 Jan 2006 10:56:14 +0000 (10:56 +0000)]
Sync.
English Revision: 290816

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

18 years agosymc.
Hiroaki Kawai [Mon, 9 Jan 2006 10:39:00 +0000 (10:39 +0000)]
symc.
English revision: 327999

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

18 years agoExplain how we're checking to see if ap_proxy_backend_broke()
Jim Jagielski [Fri, 6 Jan 2006 20:04:43 +0000 (20:04 +0000)]
Explain how we're checking to see if ap_proxy_backend_broke()
has been called or not.

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

18 years agoClarify (I hope) the comment better :)
Jim Jagielski [Fri, 6 Jan 2006 19:45:36 +0000 (19:45 +0000)]
Clarify (I hope) the comment better :)

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

18 years agoAs long as we have the AP_BUCKET_IS_ERROR macro, let's use it
Jim Jagielski [Fri, 6 Jan 2006 01:02:19 +0000 (01:02 +0000)]
As long as we have the AP_BUCKET_IS_ERROR macro, let's use it

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

18 years agoUpdate status before we run the logging hook
Jim Jagielski [Thu, 5 Jan 2006 23:29:57 +0000 (23:29 +0000)]
Update status before we run the logging hook

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

18 years ago* Call ap_proxy_http_cleanup after ap_log_rerror because it resets
Ruediger Pluem [Thu, 5 Jan 2006 21:02:36 +0000 (21:02 +0000)]
* Call ap_proxy_http_cleanup after ap_log_rerror because it resets
  backend->hostname to NULL.

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

18 years ago* Fix a regression from 2.2.x: Set c->aborted to 1 if the return code from
Ruediger Pluem [Thu, 5 Jan 2006 20:56:43 +0000 (20:56 +0000)]
* Fix a regression from 2.2.x: Set c->aborted to 1 if the return code from
  writing to the client is different from APR_SUCCESS in the blocking case or
  APR_SUCCESS or APR_EAGAIN in the non blocking case.

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

18 years ago* If a subrequest has a broken backend also set no_cache for the main request
Ruediger Pluem [Thu, 5 Jan 2006 13:46:57 +0000 (13:46 +0000)]
* If a subrequest has a broken backend also set no_cache for the main request
  and ensure that the chunk filter does not sent the last chunk marker in this
  case.

  modules/http/chunk_filter.c: Memorize HTTP_BAD_GATEWAY error buckets that
                               had been seen in filter context to ensure
                               that we do not sent the last chunk marker in
                               this case.
  modules/proxy/proxy_util.c : Set no_cache also for main request if we are
                               a subrequest.

  Thanks to Joe Orton and André Malo for the "invented unique pointer" trick.

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

18 years ago* Correctly signal broken backend connections up the chain also for the ajp
Ruediger Pluem [Mon, 2 Jan 2006 16:39:22 +0000 (16:39 +0000)]
* Correctly signal broken backend connections up the chain also for the ajp
  backend (see also r357461). Furthermore move common code in mod_proxy_http.c
  and mod_proxy_ajp.c into a new function (ap_proxy_backend_broke) in
  proxy_util.c.

  modules/proxy/mod_proxy_ajp.c : Signal broken backend connection for ajp backend
  modules/proxy/proxy_util.c    : Add ap_proxy_backend_broke
  modules/proxy/mod_proxy_http.c: - Use ap_proxy_backend_broke
                                  - Return DONE also if backend broke
  modules/proxy/mod_proxy.h     : Add declaration of ap_proxy_backend_broke

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

18 years agoPR#38084
Nick Kew [Sun, 1 Jan 2006 17:51:03 +0000 (17:51 +0000)]
PR#38084
Correct DBDParams string in example
INOUE Seiichiro (who reported the bug) suggests referencing the
pgsql documentation.  I disagree, but I wonder if PgSQL is really
a good choice of example, since it (untypically) parses the params
itself rather than have the apr_dbd driver do it.

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

18 years agoRefactoring of ap_read_request() to store partial request state
Brian Pane [Sat, 31 Dec 2005 23:45:11 +0000 (23:45 +0000)]
Refactoring of ap_read_request() to store partial request state
in the request rec.  The point of this is to allow asynchronous
MPMs do do nonblocking reads of requests.  (Backported from the
async-read-dev branch)

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

18 years agoRemoved the destruction of the bucket allocator prior to
Brian Pane [Sat, 31 Dec 2005 07:16:09 +0000 (07:16 +0000)]
Removed the destruction of the bucket allocator prior to
clearing the transaction pool.  The bucket allocator will
now get destroyed when apr_pool_clear() invokes its cleanup
callback.  With the old logic, memory corruption was possible
if the pool contained any brigades that referenced any
buckets allocated from the bucket allocator.

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

18 years agoGeneral cleanup:
Sander Temme [Fri, 30 Dec 2005 05:36:08 +0000 (05:36 +0000)]
General cleanup:

* Change version number to 2.3
* Change documentation links to new layout
* Updated, concise but hopefully correct discussion of build system
  behaviour w.r.t. threads on FreeBSD
* A little more discussion of buildconf and minimum libtool version on
  Darwin
* More caveat on availability of Windows sourceballs and installers

Initially submitted by pgolluci, subsequently kicked around some.

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

18 years agoSmall spelling fix.
Graham Leggett [Wed, 28 Dec 2005 17:17:53 +0000 (17:17 +0000)]
Small spelling fix.

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

18 years agoFix Cookie2 header problems that originates back
Mladen Turk [Fri, 23 Dec 2005 08:36:18 +0000 (08:36 +0000)]
Fix Cookie2 header problems that originates back
from mod_jk. Cookie2 was always sent as Cookie.

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

18 years agoUpdate 'apache_pb2' images for Apache-2.2 (NOTE: not for 2.3!)
Martin Kraemer [Wed, 21 Dec 2005 12:14:38 +0000 (12:14 +0000)]
Update 'apache_pb2' images for Apache-2.2 (NOTE: not for 2.3!)

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

18 years ago This shift was treated in 32 bit scope, then masked to 64 bits,
William A. Rowe Jr [Tue, 20 Dec 2005 17:10:38 +0000 (17:10 +0000)]
  This shift was treated in 32 bit scope, then masked to 64 bits,
  which was probably quite uncool.

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

18 years agoMorph the ap_http_broken_backend_filter() proxy "specific"
Jim Jagielski [Tue, 20 Dec 2005 15:50:37 +0000 (15:50 +0000)]
Morph the ap_http_broken_backend_filter() proxy "specific"
filter to a generic http error handling output filter.

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

18 years ago Quiet warnings of POSIX deprecation in win32 support sources.
William A. Rowe Jr [Mon, 19 Dec 2005 15:05:50 +0000 (15:05 +0000)]
  Quiet warnings of POSIX deprecation in win32 support sources.

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

18 years agoIn Apache-2.x, the function is called apr_pstrdup().
Martin Kraemer [Mon, 19 Dec 2005 14:50:56 +0000 (14:50 +0000)]
In Apache-2.x, the function is called apr_pstrdup().
The 'tmp' variable is not really necessary.

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

18 years ago Add our new eor_bucket.c module to libhttpd
William A. Rowe Jr [Mon, 19 Dec 2005 02:08:38 +0000 (02:08 +0000)]
  Add our new eor_bucket.c module to libhttpd

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

18 years ago* Move code for broken backend detection out of core filter into a new http
Ruediger Pluem [Sun, 18 Dec 2005 22:09:05 +0000 (22:09 +0000)]
* Move code for broken backend detection out of core filter into a new http
  protocol filter (ap_http_broken_backend_filter) that is only run in the
  proxy case.

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

18 years ago* If the mod_proxy backend connection broke in the middle of the response,
Ruediger Pluem [Sun, 18 Dec 2005 12:07:39 +0000 (12:07 +0000)]
* If the mod_proxy backend connection broke in the middle of the response,
  then
  - Do not cache it.
  - Signal the client that something went wrong by closing the connection
    and not sending the last-chunk marker if the response was T-E chunked.

server/core_filters.c         : Close the connection to the client by setting
                                c->keepalive to AP_CONN_CLOSE.
modules/http/chunk_filter.c   : Do not send last-chunk marker in the case
                                the backend broke.
modules/proxy/mod_proxy_http.c: Signal that the backend connection broke.
modules/cache/mod_disk_cache.c: Respect r->no_cache for discarding the response

Submitted by: Roy T. Fielding, Jim Jagielski, Ruediger Pluem
Reviewed by: Roy T. Fielding, Jim Jagielski, Ruediger Pluem

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

18 years ago* Resync with 2.0.x and 2.2.x CHANGES file
Ruediger Pluem [Sun, 18 Dec 2005 11:37:24 +0000 (11:37 +0000)]
* Resync with 2.0.x and 2.2.x CHANGES file

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

18 years ago* Fix ap_http_chunk_filter to create correct chunks in the case that a
Ruediger Pluem [Sat, 17 Dec 2005 09:25:09 +0000 (09:25 +0000)]
* Fix ap_http_chunk_filter to create correct chunks in the case that a
  flush bucket is pre- and postfixed by data buckets in the brigade.

Submitted by: Ruediger Pluem
Reviewed by: Justin Erenkrantz, Joe Orton, Jim Jagielski

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

18 years ago Add the module details for our /base:@...,mod_foo.so magic
William A. Rowe Jr [Fri, 16 Dec 2005 21:15:12 +0000 (21:15 +0000)]
  Add the module details for our /base:@...,mod_foo.so magic

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

18 years ago A more generic explanation
William A. Rowe Jr [Fri, 16 Dec 2005 21:06:45 +0000 (21:06 +0000)]
  A more generic explanation

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

18 years ago Test _NMAKE_VER define to determine nmake -nologo behavior,
William A. Rowe Jr [Fri, 16 Dec 2005 20:54:27 +0000 (20:54 +0000)]
  Test _NMAKE_VER define to determine nmake -nologo behavior,
  and use $(MAKEOPT) -f syntax throughout to avoid problems
  on mingw, borland, etc.

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

18 years ago New Win32 9x efforts are a nonstarter.
William A. Rowe Jr [Fri, 16 Dec 2005 20:28:43 +0000 (20:28 +0000)]
  New Win32 9x efforts are a nonstarter.

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

18 years ago Not Applicable anymore
William A. Rowe Jr [Fri, 16 Dec 2005 20:24:45 +0000 (20:24 +0000)]
  Not Applicable anymore

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

18 years ago* server/protocol.c (ap_old_write_filter): Use NULL for the NULL
Joe Orton [Fri, 16 Dec 2005 14:48:22 +0000 (14:48 +0000)]
* server/protocol.c (ap_old_write_filter): Use NULL for the NULL
pointer not 0.

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

18 years ago* acinclude.m4 (APACHE_ENABLE_MODULES): Support passing "none" to
Joe Orton [Fri, 16 Dec 2005 14:46:54 +0000 (14:46 +0000)]
* acinclude.m4 (APACHE_ENABLE_MODULES): Support passing "none" to
--enable-modules to build an httpd with no optional modules enabled.

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

18 years agoBring forward the fix for CVE-2005-3352 already on the branches:
Joe Orton [Fri, 16 Dec 2005 14:27:47 +0000 (14:27 +0000)]
Bring forward the fix for CVE-2005-3352 already on the branches:

* modules/mappers/mod_imagemap.c (imap_url): Escape the referer.

* server/util.c (ap_escape_html): Escape the " character.

Submitted by: mjc
Reviewed by: fielding, jorton

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

18 years ago* modules/debug/mod_bucketeer.c (bucketeer_out_filter): Only pass on
Joe Orton [Fri, 16 Dec 2005 13:08:32 +0000 (13:08 +0000)]
* modules/debug/mod_bucketeer.c (bucketeer_out_filter): Only pass on
the brigade if the pass delimiter is reached and not for any flush
delimiter; allows creating brigades with a flush bucket in the middle.
Fail if ap_pass_brigade() fails.

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

18 years agoSorry, previous commit was not ok.
Jean-Frederic Clere [Thu, 15 Dec 2005 16:58:10 +0000 (16:58 +0000)]
Sorry, previous commit was not ok.

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

18 years agoThe string comming from TC is in ASCII and the string returned by apr_psprintf isn't.
Jean-Frederic Clere [Thu, 15 Dec 2005 14:44:39 +0000 (14:44 +0000)]
The string comming from TC is in ASCII and the string returned by apr_psprintf isn't.

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

18 years ago Mirror Makefile.win from the GUI environment. The path here must be
William A. Rowe Jr [Wed, 14 Dec 2005 20:16:52 +0000 (20:16 +0000)]
  Mirror Makefile.win from the GUI environment.  The path here must be
  explicit to help point the debugger at the resulting, installed binaries.

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

18 years ago Revert 1/2 of my last commit, keep Apache2 as the default name so we don't
William A. Rowe Jr [Wed, 14 Dec 2005 20:14:46 +0000 (20:14 +0000)]
  Revert 1/2 of my last commit, keep Apache2 as the default name so we don't
  need to keep syncing this with releases.

  Retain the other 1/2 - a better message since apr's must be in the build
  tree srclib/ not the install target srclib/.

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

18 years ago Keep default INSTDIR out of a 2.0, 2.2 tree when working in svn trunk
William A. Rowe Jr [Wed, 14 Dec 2005 20:07:37 +0000 (20:07 +0000)]
  Keep default INSTDIR out of a 2.0, 2.2 tree when working in svn trunk

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

18 years agoupdate transformation
André Malo [Wed, 14 Dec 2005 16:39:01 +0000 (16:39 +0000)]
update transformation

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

18 years agofix that paste error and properties
André Malo [Wed, 14 Dec 2005 16:34:19 +0000 (16:34 +0000)]
fix that paste error and properties

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

18 years ago* include/ap_config.h: Fix the macro name.
Joe Orton [Mon, 12 Dec 2005 11:14:10 +0000 (11:14 +0000)]
* include/ap_config.h: Fix the macro name.

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

18 years ago* include/ap_config.h: Define AP_HAVE_DESIGNATED_INITIALIZER for GCC
Joe Orton [Mon, 12 Dec 2005 10:10:33 +0000 (10:10 +0000)]
* include/ap_config.h: Define AP_HAVE_DESIGNATED_INITIALIZER for GCC
(but not G++) or any compiler which claims C99 support.

* configure.in: Don't define AP_HAVE_DESIGNATED_INITIALIZER here.

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

18 years agoOK, while we ponder how best to reuse conn pools for workers,
Jim Jagielski [Sun, 11 Dec 2005 21:36:27 +0000 (21:36 +0000)]
OK, while we ponder how best to reuse conn pools for workers,
clean this section up.

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

18 years agoDetails about changing auth provider.
Rich Bowen [Sun, 11 Dec 2005 20:40:56 +0000 (20:40 +0000)]
Details about changing auth provider.

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

18 years agoA few additional seealso links
Rich Bowen [Sun, 11 Dec 2005 18:25:59 +0000 (18:25 +0000)]
A few additional seealso links

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

18 years ago* revert r355823 and r355837
Ruediger Pluem [Sun, 11 Dec 2005 01:28:13 +0000 (01:28 +0000)]
* revert r355823 and r355837

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

18 years ago* Let the proxy handler know that the backend connection broke after we have
Ruediger Pluem [Sun, 11 Dec 2005 00:50:21 +0000 (00:50 +0000)]
* Let the proxy handler know that the backend connection broke after we have
  sent the headers.

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

18 years ago* Move handling of backends that broke after the headers have been sent
Ruediger Pluem [Sun, 11 Dec 2005 00:15:27 +0000 (00:15 +0000)]
* Move handling of backends that broke after the headers have been sent
  into the proxy handler of mod_proxy.

  This patch still sets r->connection->aborted to 1 which is currently
  vetoed by Roy. Moving it from the scheme handler to the proxy handler
  should ease the reimplementation of this, as the scheme handlers only
  needs to return PROXY_BACKEND_BROKEN to signal the above situation to
  the proxy handler.

  mod_proxy.h: Add define for PROXY_BACKEND_BROKEN
  mod_proxy.c: Handle PROXY_BACKEND_BROKEN in proxy handler
  mod_proxy_http.c: Sent back PROXY_BACKEND_BROKEN if backend broke
  after we sent the headers.

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

18 years agoSplit the Access Control stuff off into it's own howto, because I wanted
Rich Bowen [Sat, 10 Dec 2005 19:39:24 +0000 (19:39 +0000)]
Split the Access Control stuff off into it's own howto, because I wanted
to do some stuff that really isn't auth related.

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

18 years agoupdate transformation
André Malo [Sat, 10 Dec 2005 15:52:24 +0000 (15:52 +0000)]
update transformation

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

18 years agofix xml validation error
André Malo [Sat, 10 Dec 2005 15:45:41 +0000 (15:45 +0000)]
fix xml validation error

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

18 years agoMention that digest can also be used with authn_dbd
Rich Bowen [Sat, 10 Dec 2005 14:00:05 +0000 (14:00 +0000)]
Mention that digest can also be used with authn_dbd

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

18 years agoAdd required AuthName directive
Rich Bowen [Fri, 9 Dec 2005 02:41:20 +0000 (02:41 +0000)]
Add required AuthName directive

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

18 years ago* include/httpd.h (conn_state_e): Remove trailing comma from enum.
Joe Orton [Thu, 8 Dec 2005 17:12:36 +0000 (17:12 +0000)]
* include/httpd.h (conn_state_e): Remove trailing comma from enum.

Submitted by: Per Olausson <pao darkheim.freeserve.co.uk>
PR: 37840

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

18 years agoAdd a comment and use proper grammar for another comment.
Justin Erenkrantz [Wed, 7 Dec 2005 00:44:13 +0000 (00:44 +0000)]
Add a comment and use proper grammar for another comment.
(No functional changes.)

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

18 years agoIf a connection aborts while waiting for a chunked line, flag the connection as
Justin Erenkrantz [Wed, 7 Dec 2005 00:21:38 +0000 (00:21 +0000)]
If a connection aborts while waiting for a chunked line, flag the connection as
errored out and send errors upwards.

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

18 years agoIf we get an error reading the upstream response, we should bail.
Justin Erenkrantz [Wed, 7 Dec 2005 00:18:58 +0000 (00:18 +0000)]
If we get an error reading the upstream response, we should bail.

Reported by: Brian Akins

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

18 years agoAdd the mod_dbd exports to the NetWare make file
Bradley Nicholes [Tue, 6 Dec 2005 16:48:48 +0000 (16:48 +0000)]
Add the mod_dbd exports to the NetWare make file

Submitted by: Guenter Knauf <fuankg apache.org>

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

18 years agoImprove defaults from 'test' values (and get meaningful errors on
Nick Kew [Tue, 6 Dec 2005 10:54:57 +0000 (10:54 +0000)]
Improve defaults from 'test' values (and get meaningful errors on
startup if database is down); trivial tidyups.

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

18 years ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Omit further
Joe Orton [Tue, 6 Dec 2005 10:21:41 +0000 (10:21 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Omit further
access control checks if SSL is not in use regardless of vhost
settings.

Submitted by: Rüdiger Plüm, Joe Orton
PR: 37791

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

18 years ago* os/unix/unixd.h: Use extern "C" linkage.
Joe Orton [Tue, 6 Dec 2005 09:48:19 +0000 (09:48 +0000)]
* os/unix/unixd.h: Use extern "C" linkage.

PR: 37357

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

18 years agoFix documentation bugs
Nick Kew [Tue, 6 Dec 2005 00:54:29 +0000 (00:54 +0000)]
Fix documentation bugs

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

18 years agoGive a clue about what event really does, and some
Joshua Slive [Mon, 5 Dec 2005 20:35:24 +0000 (20:35 +0000)]
Give a clue about what event really does, and some
small improvements to the leader and worker docs.

Submitted by: Noirin Plunkett <firebird nerdchic.net>, Joshua Slive

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

18 years agoPR 36090
Nick Kew [Mon, 5 Dec 2005 18:22:29 +0000 (18:22 +0000)]
PR 36090
Fix recursive ErrorDocument handling

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

18 years agoFix for Bug 37790 (hangs on error return from post_read_request)
Nick Kew [Mon, 5 Dec 2005 15:30:15 +0000 (15:30 +0000)]
Fix for Bug 37790 (hangs on error return from post_read_request)

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

18 years agoupdate transformation
André Malo [Sat, 3 Dec 2005 21:56:02 +0000 (21:56 +0000)]
update transformation

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

18 years agofix remaining mod_imap occurences
André Malo [Sat, 3 Dec 2005 21:39:50 +0000 (21:39 +0000)]
fix remaining mod_imap occurences

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

18 years ago* Fix PR37753. Off by one bug in get_path_param eats up too much of the string
Ruediger Pluem [Sat, 3 Dec 2005 20:17:11 +0000 (20:17 +0000)]
* Fix PR37753. Off by one bug in get_path_param eats up too much of the string
  such that session identifier for sticky sessions is never found in URL.

Submitted by: Kazuhiro Osawa <ko yappo.ne.jp>
Reviewed by: Ruediger Pluem

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

18 years agoOnly define sendfile_nonblocking if APR_HAS_SENDFILE is true.
Paul Querna [Sat, 3 Dec 2005 18:22:25 +0000 (18:22 +0000)]
Only define sendfile_nonblocking if APR_HAS_SENDFILE is true.

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

18 years agoPoint the breadcrump links to the new docs index page.
Joshua Slive [Fri, 2 Dec 2005 19:45:19 +0000 (19:45 +0000)]
Point the breadcrump links to the new docs index page.

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

18 years ago Recover text
William A. Rowe Jr [Fri, 2 Dec 2005 13:46:07 +0000 (13:46 +0000)]
  Recover text

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

18 years ago Style nit - alpha order is slightly easier to later review
William A. Rowe Jr [Fri, 2 Dec 2005 12:34:40 +0000 (12:34 +0000)]
  Style nit - alpha order is slightly easier to later review

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

18 years agorebuild.
Paul Querna [Thu, 1 Dec 2005 17:51:23 +0000 (17:51 +0000)]
rebuild.

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

18 years agoNuke really old version recommendation on GCC. Any modern version should be acceptable.
Paul Querna [Thu, 1 Dec 2005 17:40:17 +0000 (17:40 +0000)]
Nuke really old version recommendation on GCC. Any modern version should be acceptable.

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

18 years agoUntil we determine whether we should dip into the connection
Jim Jagielski [Thu, 1 Dec 2005 13:50:11 +0000 (13:50 +0000)]
Until we determine whether we should dip into the connection
pool each time, rearrange the logic to avoid a double
check which is unneeded. No matter what (if it's reusable or
not) a null conn->hostname needs to be set. At that
point it doesn't matter if we're not reusing it or
if the string comparison happens, since what we
would do in that case has already been done.

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

18 years agominor doc changes already on 2.2 branch
Roy T. Fielding [Thu, 1 Dec 2005 07:51:52 +0000 (07:51 +0000)]
minor doc changes already on 2.2 branch

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

18 years agoCheck that conn->hostname is valid before we do the string
Jim Jagielski [Wed, 30 Nov 2005 18:40:05 +0000 (18:40 +0000)]
Check that conn->hostname is valid before we do the string
comparison

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

18 years agoEscape the dots in the regular expression.
Colm MacCarthaigh [Wed, 30 Nov 2005 10:11:35 +0000 (10:11 +0000)]
Escape the dots in the regular expression.

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