1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-05 05:30:39 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Jim Jagielski
69c1a5c854 Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174747 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:36:39 +00:00
Jeff Trawick
2ce0fcf630 follow up r1042758 and r1043011 with more fixes to use
proper example domains

(and show some respect in our mangled version of prep.ai.mit.edu
by using .edu instead of .com)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1043126 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 16:53:01 +00:00
Stefan Fritsch
2690fbd325 Add 'local' authz provider that matches connections originating
on the local host.  PR 19938.

Also remove some cruft from mod_authz_host (we don't need a per-dir config)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001207 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 13:17:49 +00:00
Stefan Fritsch
3ecb593365 Move all, env, and method authz providers from mod_authz_host to mod_authz_core
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001200 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 12:01:14 +00:00
Stefan Fritsch
f2fe603117 Fix typos
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@998711 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 18:27:10 +00:00
Stefan Fritsch
39e871f7e4 Add method authz provider as potential Limit/LimitExcept replacement.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@998708 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 18:09:18 +00:00
Stefan Fritsch
f8caa331e0 Remove reference to the Match directive, which was removed in r726082 /
r728126.

PR: 46494
Submitted by:  Bob Ionescu


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@906266 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 22:14:45 +00:00
Chris Darroch
66b8ffda5e Documentation revisions for r709838 and r709839.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709841 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 04:28:02 +00:00
Vincent Bray
d699df5fa4 Correct 'require' capitalisation missed in previous commit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@635799 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 04:46:39 +00:00
Vincent Bray
abe71efea4 Pet peeve: fix capitalisation of 'Require' directive
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@635137 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 02:31:41 +00:00
Roy T. Fielding
44fa6e0073 update license header text
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420990 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 20:55:32 +00:00
Colm MacCarthaigh
dd95d7c37c Update the copyright year in all .c, .h and .xml files
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 12:11:27 +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
Colm MacCarthaigh
6d9c3cee77 fe80::/16 is for link-scope link-local addresses in IPv6, they are not
for goign in Listen directives, VirtualHost blocks, or anything like
that, and won't work. 

Perform a mass search and replace: 2001:db8 for fe80. 2001:db8 is the 
IPv6 documentation prefix. See RFC3849 for more details. 


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@327999 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 09:07:42 +00:00
Rich Bowen
59bdba49f4 Folks appear to be having trouble with multiple arguments to Allow. More
examples is always a good thing.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@160356 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 01:12:14 +00:00
Justin Erenkrantz
905cdf9f0b Update copyright year to 2005 and standardize on current copyright owner line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 20:28:49 +00:00
André Malo
9ade04f57c fix copyright notice
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@125277 13f79535-47bb-0310-9956-ffa450edef68
2005-01-15 17:01:17 +00:00
André Malo
4ac4e5a1e3 $Revision$ is slightly misdocumented (only available since svn 1.1)
use LastChangedRevision instead


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105989 13f79535-47bb-0310-9956-ffa450edef68
2004-11-20 18:42:58 +00:00
André Malo
3b900e6993 adjust properties and revision expansion of the English docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105981 13f79535-47bb-0310-9956-ffa450edef68
2004-11-20 17:06:17 +00:00
André Malo
f08df46e89 add $Revision$ keyword
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103423 13f79535-47bb-0310-9956-ffa450edef68
2004-04-17 10:49:23 +00:00
André Malo
b68721ed3a fix name of The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102617 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 20:22:54 +00:00
André Malo
f4bd111108 apply Apache License, Version 2.0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102532 13f79535-47bb-0310-9956-ffa450edef68
2004-02-07 15:12:30 +00:00
André Malo
e20d6dec7e Fix sample regex
Submitted by: Matthew Wilcox <willy@debian.org>
PR: 24165


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101663 13f79535-47bb-0310-9956-ffa450edef68
2003-11-01 23:35:39 +00:00
Joshua Slive
388a38d03c As suggested by Marc Slemko, document the double reverse
effect of Allow/Deny.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100878 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 18:56:40 +00:00
André Malo
94fc883415 add the metafile attribute to all xml files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99326 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 01:25:58 +00:00
André Malo
5af6b062b0 full clean-up of the auth-docs; feel free to shake out any
nits, if there are (probably there *are* :)

main changes:

- introduce docs for mod_authn_default, mod_authz_default and
  mod_authz_user
- fix argument lists of the provider directives
- fix the examples (intended to be better :)
- introduce the AuthDigestShmemSize directive
- remove AuthDigestUser/GroupFile
- mention htdigest in AuthUserFile docs
- mod_authn_anon is now an authn provider
- markup

Reviewed by: Astrid Ke�ler <kess@kess-net.de>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97823 13f79535-47bb-0310-9956-ffa450edef68
2002-12-09 22:19:13 +00:00
André Malo
c0ccc3cc52 fix compatibility notes (2.0.44 -> 2.1)
did no update of the japanese transformations, because it creates
somewhat weird on my system...


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97785 13f79535-47bb-0310-9956-ffa450edef68
2002-12-05 17:04:11 +00:00
André Malo
54c2f3418c fix many links in respect to the aaa changes.
Probably overlooked one or two ;-)

Some files are left unmodified, since the parts there
aren't clear or have to be (re-)written:

ebcdic.xml
new_features_2_0.xml
upgrading.xml


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97153 13f79535-47bb-0310-9956-ffa450edef68
2002-10-09 01:16:06 +00:00
Justin Erenkrantz
e23f2cf993 Update the docs to fully reflect the aaa changes by linking in the new
modules and removing the deleted ones; renaming mod_auth_anon->mod_authn_anon,
and mod_access->mod_authz_host.

All docs to the old modules are now deleted.

Translations were kept with their old modules.  (Can't read Japanese.)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97123 13f79535-47bb-0310-9956-ffa450edef68
2002-10-07 08:46:31 +00:00