From: André Malo Date: Mon, 7 Oct 2002 09:33:24 +0000 (+0000) Subject: remove forgotten mod_access.html.en X-Git-Tag: 2.0.44~356 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=631c60669d01521c328c8e202cbe1cced1012475;p=apache remove forgotten mod_access.html.en update transforming of upgrading.xml (due to relative path errors) (Justin, is your build.xml out of date?) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97124 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_access.html.en b/docs/manual/mod/mod_access.html.en deleted file mode 100644 index a046b48630..0000000000 --- a/docs/manual/mod/mod_access.html.en +++ /dev/null @@ -1,251 +0,0 @@ - - -mod_access - Apache HTTP Server
<-
Apache > HTTP Server > Documentation > Version 2.0 > Modules

Apache Module mod_access

Description: - Provides access control based on client hostname, IP -address, or other characteristics of the client request.
Status: - Base
Module Identifier: - access_module
Source File: - mod_access.c

Summary

-

The directives provided by mod_access are used in <Directory>, <Files>, and <Location> sections as well as - .htaccess - files to control access to particular parts of the server. Access - can be controlled based on the client hostname, IP address, or - other characteristics of the client request, as captured in environment variables. The Allow and Deny directives are used to - specify which clients are or are not allowed access to the server, - while the Order - directive sets the default access state, and configures how the - Allow and Deny directives interact with each - other.

- -

Both host-based access restrictions and password-based - authentication may be implemented simultaneously. In that case, - the Satisfy directive is used - to determine how the two sets of restrictions interact.

- -

In general, access restriction directives apply to all - access methods (GET, PUT, - POST, etc). This is the desired behavior in most - cases. However, it is possible to restrict some methods, while - leaving other methods unrestricted, by enclosing the directives - in a <Limit> section.

-

Directives

See also

top

Allow Directive

Description: - Controls which hosts can access an area of the -server
Syntax: - Allow from - all|host|env=env-variable - [host|env=env-variable] ...
Context: - directory, .htaccess
Override: - Limit
Status: - Base
Module: - mod_access
- -

The Allow directive affects which hosts can - access an area of the server. Access can be controlled by - hostname, IP Address, IP Address range, or by other - characteristics of the client request captured in environment - variables.

- -

The first argument to this directive is always - from. The subsequent arguments can take three - different forms. If Allow from all is specified, then - all hosts are allowed access, subject to the configuration of the - Deny and Order directives as discussed - below. To allow only particular hosts or groups of hosts to access - the server, the host can be specified in any of the - following formats:

- -
-
A (partial) domain-name
- -
Example: Allow from apache.org
- Hosts whose names match, or end in, this string are allowed - access. Only complete components are matched, so the above - example will match foo.apache.org but it will - not match fooapache.org. This configuration will - cause the server to perform a reverse DNS lookup on the - client IP address, regardless of the setting of the HostnameLookups - directive.
- -
A full IP address
- -
Example: Allow from 10.1.2.3
- An IP address of a host allowed access
- -
A partial IP address
- -
Example: Allow from 10.1
- The first 1 to 3 bytes of an IP address, for subnet - restriction.
- -
A network/netmask pair
- -
Example: Allow from - 10.1.0.0/255.255.0.0
- A network a.b.c.d, and a netmask w.x.y.z. For more - fine-grained subnet restriction.
- -
A network/nnn CIDR specification
- -
Example: Allow from 10.1.0.0/16
- Similar to the previous case, except the netmask consists of - nnn high-order 1 bits.
-
- -

Note that the last three examples above match exactly the - same set of hosts.

- -

IPv6 addresses and IPv6 subnets can be specified as shown - below:

- -

- Allow from fe80::a00:20ff:fea7:ccea
- Allow from fe80::a00:20ff:fea7:ccea/10 -

- -

The third format of the arguments to the - Allow directive allows access to the server - to be controlled based on the existence of an environment variable. When Allow from - env=env-variable is specified, then the request is - allowed access if the environment variable env-variable - exists. The server provides the ability to set environment - variables in a flexible way based on characteristics of the client - request using the directives provided by - mod_setenvif. Therefore, this directive can be - used to allow access based on such factors as the clients - User-Agent (browser type), Referer, or - other HTTP request header fields.

- -

Example:

- -SetEnvIf User-Agent ^KnockKnock/2.0 let_me_in
-<Directory /docroot>
-   Order Deny,Allow
-   Deny from all
-   Allow from env=let_me_in
-</Directory> -

- -

In this case, browsers with a user-agent string beginning - with KnockKnock/2.0 will be allowed access, and all - others will be denied.

-
top

Deny Directive

Description: - Controls which hosts are denied access to the -server
Syntax: - Deny from - all|host|env=env-variable - [host|env=env-variable] ...
Context: - directory, .htaccess
Override: - Limit
Status: - Base
Module: - mod_access
-

This directive allows access to the server to be restricted - based on hostname, IP address, or environment variables. The - arguments for the Deny directive are - identical to the arguments for the Allow directive.

-
top

Order Directive

Description: - Controls the default access state and the order in which -Allow and Deny are -evaluated.
Syntax: - Order ordering
Default: - Order Deny,Allow
Context: - directory, .htaccess
Override: - Limit
Status: - Base
Module: - mod_access
- -

The Order directive controls the default - access state and the order in which Allow and Deny directives are evaluated. - Ordering is one of

- -
-
Deny,Allow
- -
The Deny directives - are evaluated before the Allow directives. Access is - allowed by default. Any client which does not match a - Deny directive or does - match an Allow - directive will be allowed access to the server.
- -
Allow,Deny
- -
The Allow - directives are evaluated before the Deny directives. Access is denied - by default. Any client which does not match an Allow directive or does match a - Deny directive will be - denied access to the server.
- -
Mutual-failure
- -
Only those hosts which appear on the Allow list and do not appear on - the Deny list are - granted access. This ordering has the same effect as Order - Allow,Deny and is deprecated in favor of that - configuration.
-
- -

Keywords may only be separated by a comma; no whitespace is - allowed between them. Note that in all cases every Allow and Deny statement is evaluated.

- -

In the following example, all hosts in the apache.org domain - are allowed access; all other hosts are denied access.

- -

- Order Deny,Allow
- Deny from all
- Allow from apache.org
-

- -

In the next example, all hosts in the apache.org domain are - allowed access, except for the hosts which are in the - foo.apache.org subdomain, who are denied access. All hosts not - in the apache.org domain are denied access because the default - state is to deny access to the server.

- -

- Order Allow,Deny
- Allow from apache.org
- Deny from foo.apache.org
-

- -

On the other hand, if the Order in the last - example is changed to Deny,Allow, all hosts will - be allowed access. This happens because, regardless of the - actual ordering of the directives in the configuration file, - the Allow from apache.org will be evaluated last - and will override the Deny from foo.apache.org. - All hosts not in the apache.org domain will also - be allowed access because the default state will change to - allow.

- -

The presence of an Order directive can affect - access to a part of the server even in the absence of accompanying - Allow and Deny directives because of its effect - on the default access state. For example,

- -

- <Directory /www>
-   Order Allow,Deny
- </Directory> -

- -

will deny all access to the /www directory - because the default access state will be set to - deny.

- -

The Order directive controls the order of access - directive processing only within each phase of the server's - configuration processing. This implies, for example, that an - Allow or Deny directive occurring in a - <Location> section will - always be evaluated after an Allow or Deny directive occurring in a - <Directory> section or - .htaccess file, regardless of the setting of the - Order directive. For details on the merging - of configuration sections, see the documentation on How Directory, Location and Files sections - work.

-
\ No newline at end of file diff --git a/docs/manual/upgrading.html.en b/docs/manual/upgrading.html.en index fd485146d7..a5b5af0f72 100644 --- a/docs/manual/upgrading.html.en +++ b/docs/manual/upgrading.html.en @@ -4,13 +4,13 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - -->Upgrading to 2.0 from 1.3 - Apache HTTP Server
<-
Apache > HTTP Server > Documentation > Version 2.0

Upgrading to 2.0 from 1.3

+ -->Upgrading to 2.0 from 1.3 - Apache HTTP Server
<-

Upgrading to 2.0 from 1.3

In order to assist folks upgrading, we maintain a document describing information critical to existing Apache users. These are intended to be brief notes, and you should be able to find more information in either the New Features document, or in the src/CHANGES file.

-
top
top

Compile-Time Configuration Changes

-
top
top

Run-Time Configuration Changes

    @@ -46,19 +46,19 @@ implemented as a filter may no longer accept requests with PATH_INFO. Filters such as INCLUDES are implemented on top of the core handler, and therefore reject requests with - PATH_INFO. You can use the AcceptPathInfo directive to + PATH_INFO. You can use the AcceptPathInfo directive to force the core handler to accept requests with PATH_INFO and thereby restore the ability to use PATH_INFO in server-side includes. -
  • The CacheNegotiatedDocs +
  • The CacheNegotiatedDocs directive now takes the argument on or off. Existing instances of CacheNegotiatedDocs should be replaced with CacheNegotiatedDocs on.
  • - The ErrorDocument + The ErrorDocument directive no longer uses a quote at the beginning of the argument to indicate a text message. Instead, you should enclose the message in double quotes. For example, existing @@ -80,7 +80,7 @@
  • The AccessConfig and ResourceConfig directives no longer exist. Existing instances of these directives can be replaced with - the Include + the Include directive which has equivalent functionality. If you were making use of the default values of these directives without including them in the configuration files, you may need to @@ -95,13 +95,13 @@
  • The BindAddress and Port directives no longer exist. Equivalent functionality is provided with the more flexible - Listen + Listen directive.
  • Another use of the Port directive in Apache-1.3 was setting the port number to be used in self-referential URL's. The Apache-2.0 equivalent is - the new ServerName + the new ServerName syntax: it has been changed to allow specifying both the hostname and the port number for self-referential URL's in one directive.
  • @@ -115,8 +115,8 @@ provided the AgentLog, RefererLog and RefererIgnore directives have been removed. Agent and referer logs are still available using the - CustomLog - directive of mod_log_config. + CustomLog + directive of mod_log_config.
  • The AddModule and ClearModuleList directives no longer exist. @@ -127,10 +127,10 @@
  • The FancyIndexing directive has been removed. The same functionality is available through the - FancyIndexing option to the IndexOptions + FancyIndexing option to the IndexOptions directive.
-
top
top

Misc Changes

    @@ -139,11 +139,11 @@ configuration has been replaced by -t -D DUMP_VHOSTS. -
  • The module mod_auth_digest, which was +
  • The module mod_auth_digest, which was experimental in Apache 1.3, is now a standard module.
  • The mod_mmap_static module, which was experimental in - Apache 1.3, has been replaced with mod_file_cache.
  • + Apache 1.3, has been replaced with mod_file_cache.
  • The distribution has been completely reorganized so that it no longer contains an independent src @@ -152,7 +152,7 @@ compiled server should be directed to a separate directory.
-
top
top

Third Party Modules

Extensive changes were made to the server API in Apache 2.0. @@ -160,4 +160,4 @@ not work in Apache 2.0 without modification. Details are provided in the developer documentation.

-
\ No newline at end of file +
\ No newline at end of file