1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-08 04:22:21 +03:00
Commit Graph

3287 Commits

Author SHA1 Message Date
André Malo
bd1e90ea81 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
2006-01-15 17:57:12 +00:00
Noirin Plunkett
5da80fcaed 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
2006-01-15 16:04:23 +00:00
Bradley Nicholes
9fed4c73d7 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
2006-01-11 14:30:28 +00:00
Nick Kew
8bee3696c9 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
2006-01-01 17:51:03 +00:00
André Malo
bbd325ccf9 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356801 13f79535-47bb-0310-9956-ffa450edef68
2005-12-14 16:39:01 +00:00
Rich Bowen
c2f36443a4 A few additional seealso links
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355990 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 18:25:59 +00:00
André Malo
618802d904 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355753 13f79535-47bb-0310-9956-ffa450edef68
2005-12-10 15:52:24 +00:00
André Malo
f431dcba13 fix xml validation error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355750 13f79535-47bb-0310-9956-ffa450edef68
2005-12-10 15:45:41 +00:00
Rich Bowen
5554f96249 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
2005-12-10 14:00:05 +00:00
Rich Bowen
c37082283c Add required AuthName directive
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355326 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 02:41:20 +00:00
Nick Kew
12164497e9 Fix documentation bugs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354248 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 00:54:29 +00:00
Joshua Slive
8c9f959b53 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
2005-12-05 20:35:24 +00:00
André Malo
1537670b90 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@352028 13f79535-47bb-0310-9956-ffa450edef68
2005-12-03 21:56:02 +00:00
André Malo
7e8ff90e54 fix remaining mod_imap occurences
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@352025 13f79535-47bb-0310-9956-ffa450edef68
2005-12-03 21:39:50 +00:00
André Malo
be41776f78 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349790 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 18:54:35 +00:00
Joshua Slive
79e3fd74a2 Fix a mixed-up module reference and document (carefully)
how to turn off require in a subdirectory.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349776 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 18:11:41 +00:00
Paul Querna
6c2a688c63 rebuild docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349498 13f79535-47bb-0310-9956-ffa450edef68
2005-11-28 20:44:08 +00:00
David Reid
43f57e6ef0 - try to add a note to explain the behaviour of clients use a pipelined
connection wrt to MaxRequestsPerChild and KeepAlive.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349476 13f79535-47bb-0310-9956-ffa450edef68
2005-11-28 19:41:42 +00:00
André Malo
f6f438669b update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345550 13f79535-47bb-0310-9956-ffa450edef68
2005-11-18 19:43:42 +00:00
André Malo
150fe462a6 fix properties
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345549 13f79535-47bb-0310-9956-ffa450edef68
2005-11-18 19:38:21 +00:00
Nick Kew
a7a0d0984c Add typemap file to mod_authz_dbd docs (oops!)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345393 13f79535-47bb-0310-9956-ffa450edef68
2005-11-18 00:48:16 +00:00
Nick Kew
7d02f7d410 Documentation for mod_authz_dbd
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345391 13f79535-47bb-0310-9956-ffa450edef68
2005-11-18 00:43:41 +00:00
Joshua Slive
5b5e981804 Remove redundant link.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345302 13f79535-47bb-0310-9956-ffa450edef68
2005-11-17 18:31:47 +00:00
Joshua Slive
acae04e76a * Deprecate AddOutputFilterByType
* Link up Require and AuthType to the relevant aaa modules.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345301 13f79535-47bb-0310-9956-ffa450edef68
2005-11-17 18:29:41 +00:00
André Malo
3c2f47f46c update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345067 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 17:38:52 +00:00
Joshua Slive
586be46115 Remove on/off arguments from AuthDigestProvider.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345064 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 17:23:46 +00:00
Joshua Slive
5f3be4a711 Remove on/off from the argument list for AuthBasicProvider,
attempt to clarify the discussion of AuthBasicAuthoritative,
and add some extra clarifications in a few places.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345057 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 16:40:57 +00:00
Colm MacCarthaigh
609d0155e2 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345045 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 15:56:13 +00:00
Colm MacCarthaigh
52bb0474fe Correct an XML validation error.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@344972 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 10:25:30 +00:00
Colm MacCarthaigh
6a6b021d1a Make references to 2.1 and later consistent with each other.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@344971 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 10:23:56 +00:00
Jim Jagielski
a17eedfad2 Revert UCN default change - set back to Off, which is
what 2.1/2.2 has been but is opposite from the 2.0 default.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@344408 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 18:28:23 +00:00
Jim Jagielski
ce503e00e3 Add in the UseCanonicalPhysicalPort directive, which
basically allows Apache to configurably ( :) )
use the physical port when constructing the
canonical port. Also add the exact ordering to
the docs, so people can easily see how it works.
We now have compatibility with both 2.0 and 1.3.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@344369 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 14:50:39 +00:00
André Malo
8fcb023001 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@333013 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 14:58:59 +00:00
André Malo
0550e8f49c centralize the versioning of the httpd and the docs directories
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@333005 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 14:11:48 +00:00
André Malo
507ba7643b update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332957 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 10:17:36 +00:00
Justin Erenkrantz
d147d2bcb0 Update transformations after version bump.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332905 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 06:16:08 +00:00
Justin Erenkrantz
515eb1640f Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332898 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 05:38:43 +00:00
Rich Bowen
73f24d4248 Warning about mixing +/- with bareword Options
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@330409 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 01:40:47 +00:00
Colm MacCarthaigh
e9469f9d4b Add a note about sendfile on Itanium
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@330271 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 15:27:16 +00:00
Nick Kew
fea99057d1 Bring documentation up to date with yesterdays fix
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@329645 13f79535-47bb-0310-9956-ffa450edef68
2005-10-30 21:06:36 +00:00
André Malo
f94eaece50 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@329543 13f79535-47bb-0310-9956-ffa450edef68
2005-10-30 08:50:49 +00:00
Nick Kew
a5af8acb5d Add a usage example to documentation page
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@329397 13f79535-47bb-0310-9956-ffa450edef68
2005-10-29 11:25:06 +00:00
Nick Kew
0a11e354c3 Document ap_dbd_cacquire
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@329396 13f79535-47bb-0310-9956-ffa450edef68
2005-10-29 11:24:32 +00:00
Colm MacCarthaigh
eb716dd8fd Update the transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@329391 13f79535-47bb-0310-9956-ffa450edef68
2005-10-29 10:11:30 +00:00
Colm MacCarthaigh
990d669370 Document the mod_cache / mod_authz_host problem.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@329388 13f79535-47bb-0310-9956-ffa450edef68
2005-10-29 10:07:01 +00:00
Nick Kew
2697fc5575 Typo fix (from noodl@irc)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@328623 13f79535-47bb-0310-9956-ffa450edef68
2005-10-26 10:31:47 +00:00
Nick Kew
f638997e36 Update mod_dbd docs to describe it as "extension"
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@328617 13f79535-47bb-0310-9956-ffa450edef68
2005-10-26 10:04:57 +00:00
Nick Kew
e004bab8f6 Update mod_filter docs to mention API functions and promote
out of experimental.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@328616 13f79535-47bb-0310-9956-ffa450edef68
2005-10-26 10:03:13 +00:00
André Malo
5a616f52c8 fix revision references
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@328094 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 16:50:08 +00:00
Colm MacCarthaigh
501a083bf6 Correct the port specified to match the example given.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@328084 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 15:29:04 +00:00