]> granicus.if.org Git - apache/log
apache
18 years ago* Remove link to CacheSize as this directive is no longer present.
Ruediger Pluem [Mon, 30 Jan 2006 20:54:00 +0000 (20:54 +0000)]
* Remove link to CacheSize as this directive is no longer present.

PR: 38449
Submitted by: Bjoern Voigt <bjoern cs.tu-berlin.de>

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

18 years agomod_speling: Stop crashing with certain non-file requests.
Jeff Trawick [Mon, 30 Jan 2006 14:54:22 +0000 (14:54 +0000)]
mod_speling: Stop crashing with certain non-file requests.

(r->filename unset)

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

18 years agoThe AuthnProviderAlias directive has been merged into mod_authn_core. mod_authn_alia...
Bradley Nicholes [Sat, 28 Jan 2006 01:00:32 +0000 (01:00 +0000)]
The AuthnProviderAlias directive has been merged into mod_authn_core.  mod_authn_alias is no longer needed.

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

18 years agoDocumentation for mod_authn_alias is no longer needed since the only directive it...
Bradley Nicholes [Sat, 28 Jan 2006 00:43:57 +0000 (00:43 +0000)]
Documentation for mod_authn_alias is no longer needed since the only directive it documented has been merged in to mod_authn_core.

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

18 years agoMove the AuthnProviderAlias documentation into mod_authn_core since that is now where...
Bradley Nicholes [Sat, 28 Jan 2006 00:34:20 +0000 (00:34 +0000)]
Move the AuthnProviderAlias documentation into mod_authn_core since that is now where the directive lives

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

18 years agoIf the proxied response lacks a Server header, then
Jim Jagielski [Fri, 27 Jan 2006 19:55:45 +0000 (19:55 +0000)]
If the proxied response lacks a Server header, then
create one.

PR: 38002 (Bugz)
Submitted: william barker at wilshire com

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

18 years agoFixing up typos
Noirin Plunkett [Wed, 25 Jan 2006 10:06:14 +0000 (10:06 +0000)]
Fixing up typos

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

18 years agoadd Colm's explanation of the cache_info structure from his explaination on dev@
Ian Holsman [Wed, 25 Jan 2006 04:03:31 +0000 (04:03 +0000)]
add Colm's explanation of the cache_info structure from his explaination on dev@
Message-ID: <20060124223004.GA26461@dochas.stdlib.net>

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

18 years agoUse HTMLTable option in the config example so that directory listings will satisfy
Joshua Slive [Tue, 24 Jan 2006 14:44:03 +0000 (14:44 +0000)]
Use HTMLTable option in the config example so that directory listings will satisfy
people concerned about html spec compliance.

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

18 years agoLanguage fixes for mod_rewrite reference manual
Noirin Plunkett [Tue, 24 Jan 2006 10:32:00 +0000 (10:32 +0000)]
Language fixes for mod_rewrite reference manual

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

18 years agoMove DOAP file to site tree.
Erik Abele [Mon, 23 Jan 2006 22:42:17 +0000 (22:42 +0000)]
Move DOAP file to site tree.

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

18 years agoRemove NetWare makefiles that are no longer needed
Bradley Nicholes [Mon, 23 Jan 2006 20:30:55 +0000 (20:30 +0000)]
Remove NetWare makefiles that are no longer needed

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

18 years agoBuild mod_access_compat on NetWare
Bradley Nicholes [Mon, 23 Jan 2006 20:23:42 +0000 (20:23 +0000)]
Build mod_access_compat on NetWare

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

18 years agoUse the correct logging #define
Bradley Nicholes [Mon, 23 Jan 2006 20:22:37 +0000 (20:22 +0000)]
Use the correct logging #define

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

18 years agoAllow,deny stuff added to example
Noirin Plunkett [Mon, 23 Jan 2006 18:50:27 +0000 (18:50 +0000)]
Allow,deny stuff added to example

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

18 years agoMinor language fixes
Noirin Plunkett [Mon, 23 Jan 2006 16:43:16 +0000 (16:43 +0000)]
Minor language fixes

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

18 years ago- add a first pass at a "real" doap file for the httpd project.
David Reid [Sun, 22 Jan 2006 22:17:29 +0000 (22:17 +0000)]
- add a first pass at a "real" doap file for the httpd project.

This needs to be maintained and so we should add details to the
file detailing how to issue a release :-)

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

18 years ago Lineends
William A. Rowe Jr [Sun, 22 Jan 2006 15:39:21 +0000 (15:39 +0000)]
  Lineends

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

18 years ago Lineends, ugh :)
William A. Rowe Jr [Sun, 22 Jan 2006 15:34:49 +0000 (15:34 +0000)]
  Lineends, ugh :)

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

18 years ago* Improve fix for PR38123. This fixes PR38123 and PR37790 (whose fix has been
Ruediger Pluem [Sat, 21 Jan 2006 23:22:23 +0000 (23:22 +0000)]
* Improve fix for PR38123. This fixes PR38123 and PR37790 (whose fix has been
  already backported) by inserting the HTTP_IN filter uncondionally before
  we call ap_send_error_response or ap_die. This ensures that
  ap_discard_request_body called by ap_die and by ap_send_error_response works
  correctly on status codes that do not cause the connection to be dropped and
  in situations where the connection should be kept alive.

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

18 years ago* Fix PR38340 by actual getting the word and thus advancing the message buffer
Ruediger Pluem [Sat, 21 Jan 2006 11:30:41 +0000 (11:30 +0000)]
* Fix PR38340 by actual getting the word and thus advancing the message buffer
  pointer to the next data.

Submitted by: Aleksey Pesternikov <apesternikov yahoo.com>
Reviewed by: Ruediger Pluem

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

18 years agoFix the documentation for the LDAPTrustedMode directive.
Bradley Nicholes [Fri, 20 Jan 2006 17:03:51 +0000 (17:03 +0000)]
Fix the documentation for the LDAPTrustedMode directive.

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

18 years agoSet the LDAP protocol before setting extended LDAP options. [PR38146]
Bradley Nicholes [Fri, 20 Jan 2006 16:53:43 +0000 (16:53 +0000)]
Set the LDAP protocol before setting extended LDAP options. [PR38146]

Submitted by: Aaron Richton <richton nbcs.rutgers.edu>

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

18 years agoPR#38070: When a CGI script emits an explicit "Status:" header,
Nick Kew [Fri, 20 Jan 2006 01:36:44 +0000 (01:36 +0000)]
PR#38070: When a CGI script emits an explicit "Status:" header,
it takes charge, so we shouldn't use ap_meets_conditions.

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

18 years agoremove the unused per-dir-config structure.
Bradley Nicholes [Thu, 19 Jan 2006 16:15:44 +0000 (16:15 +0000)]
remove the unused per-dir-config structure.

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

18 years ago* Fix PR38123 by adding the HTTP_IN filter also in the case of an invalid
Ruediger Pluem [Wed, 18 Jan 2006 16:04:13 +0000 (16:04 +0000)]
* Fix PR38123 by adding the HTTP_IN filter also in the case of an invalid
  expect header.

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

18 years ago* Adjust format of bump comments. No functional change.
Ruediger Pluem [Wed, 18 Jan 2006 10:11:39 +0000 (10:11 +0000)]
* Adjust format of bump comments. No functional change.

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

18 years ago* Do a minor bump as minex and minex_set had been added to cache_server_conf
Ruediger Pluem [Wed, 18 Jan 2006 10:02:22 +0000 (10:02 +0000)]
* Do a minor bump as minex and minex_set had been added to cache_server_conf
  struct.

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

18 years agoRemove the call to ap_note_auth_failure() from the providers. mod_authz_core will...
Bradley Nicholes [Wed, 18 Jan 2006 04:19:04 +0000 (04:19 +0000)]
Remove the call to ap_note_auth_failure() from the providers.  mod_authz_core will make the call if it is necessary.

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

18 years ago* Add a sentence about DDOS.
Ruediger Pluem [Tue, 17 Jan 2006 19:58:19 +0000 (19:58 +0000)]
* Add a sentence about DDOS.
* Mention problems with low Timeouts and long running CGIs.
* Stress out the experimental character of event MPM and that it does not
  work with ssl currently.

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

18 years agoFix typos.
Joshua Slive [Tue, 17 Jan 2006 17:03:03 +0000 (17:03 +0000)]
Fix typos.

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

18 years agoA few small anti-DoS updates including the Limit* directives.
Joshua Slive [Tue, 17 Jan 2006 16:56:01 +0000 (16:56 +0000)]
A few small anti-DoS updates including the Limit* directives.

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

18 years ago* Removed patch again as it clashed with Joshua's on the same topic
Ruediger Pluem [Tue, 17 Jan 2006 16:14:49 +0000 (16:14 +0000)]
* Removed patch again as it clashed with Joshua's on the same topic

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

18 years ago* Add some remarks how to mitigate the risk of DoS attacks by setting
Ruediger Pluem [Tue, 17 Jan 2006 16:08:28 +0000 (16:08 +0000)]
* Add some remarks how to mitigate the risk of DoS attacks by setting
  proper values for the Timeout and Keepalive parameters.

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

18 years agoTake a stab at documenting how we respond to DoS issues.
Joshua Slive [Tue, 17 Jan 2006 16:01:56 +0000 (16:01 +0000)]
Take a stab at documenting how we respond to DoS issues.
Please review!

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

18 years agoNote the changes to Authz
Bradley Nicholes [Tue, 17 Jan 2006 16:00:38 +0000 (16:00 +0000)]
Note the changes to Authz

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

18 years ago* Update transformation
Ruediger Pluem [Tue, 17 Jan 2006 15:14:34 +0000 (15:14 +0000)]
* Update transformation

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

18 years ago* Add CacheMinExpire directive to set the minimum time in seconds to cache a document
Ruediger Pluem [Tue, 17 Jan 2006 15:12:23 +0000 (15:12 +0000)]
* Add CacheMinExpire directive to set the minimum time in seconds to cache a document
  in the case that no valid expire time was supplied with the document.

Submitted by: Brian Akins <brian.akins turner.com>
Reviewed by: Ruediger Pluem

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

18 years agoDocumentation for mod_access_compat (Allow,Deny,Order,Satisfy directives)
Bradley Nicholes [Mon, 16 Jan 2006 19:56:32 +0000 (19:56 +0000)]
Documentation for mod_access_compat (Allow,Deny,Order,Satisfy directives)

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

18 years agoUpdate svn:ignore properties so that generated files from a win32 VC++
Garrett Rooney [Sun, 15 Jan 2006 23:47:19 +0000 (23:47 +0000)]
Update svn:ignore properties so that generated files from a win32 VC++
Express build are ignored.

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

18 years agoFix properties, add missing transformed files and update transformation
André Malo [Sun, 15 Jan 2006 17:57:12 +0000 (17:57 +0000)]
Fix properties, add missing transformed files and update transformation

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

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