mod_access.html revision 618d2847990e59c6fa82b74b160453e1048a2957
6ae232055d4d8a97267517c5e50074c2c819941and<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
6ae232055d4d8a97267517c5e50074c2c819941and BGCOLOR="#FFFFFF"
6ae232055d4d8a97267517c5e50074c2c819941and TEXT="#000000"
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen LINK="#0000FF"
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen VLINK="#000080"
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen ALINK="#FF0000"
6ae232055d4d8a97267517c5e50074c2c819941and<!--#include virtual="header.html" -->
3f08db06526d6901aa08c110b5bc7dde6bc39905ndThis module is contained in the <CODE>mod_access.c</CODE> file, and
6ae232055d4d8a97267517c5e50074c2c819941andis compiled in by default. It provides access control based on client
6ae232055d4d8a97267517c5e50074c2c819941andhostname or IP address.
6ae232055d4d8a97267517c5e50074c2c819941and<!--%plaintext <?INDEX {\tt allow} directive> -->
6ae232055d4d8a97267517c5e50074c2c819941and REL="Help"
6ae232055d4d8a97267517c5e50074c2c819941and><STRONG>Syntax:</STRONG></A> allow from <EM>host host ...</EM><BR>
6ae232055d4d8a97267517c5e50074c2c819941and HREF="directive-dict.html#Context"
6ae232055d4d8a97267517c5e50074c2c819941and REL="Help"
6ae232055d4d8a97267517c5e50074c2c819941and HREF="directive-dict.html#Override"
6ae232055d4d8a97267517c5e50074c2c819941and REL="Help"
6ae232055d4d8a97267517c5e50074c2c819941and REL="Help"
6ae232055d4d8a97267517c5e50074c2c819941and REL="Help"
6ae232055d4d8a97267517c5e50074c2c819941andThe allow directive affects which hosts can access a given directory.
6ae232055d4d8a97267517c5e50074c2c819941and<DD>All hosts are allowed access
6ae232055d4d8a97267517c5e50074c2c819941and<DT>A (partial) domain-name
6ae232055d4d8a97267517c5e50074c2c819941and<DD>Hosts whose names match, or end in, this string are allowed access.
6ae232055d4d8a97267517c5e50074c2c819941and<DT>A full IP address
6ae232055d4d8a97267517c5e50074c2c819941and<DD>An IP address of a host allowed access
6ae232055d4d8a97267517c5e50074c2c819941and<DT>A partial IP address
6ae232055d4d8a97267517c5e50074c2c819941and<DD>The first 1 to 3 bytes of an IP address, for subnet restriction.
6ae232055d4d8a97267517c5e50074c2c819941and<DT>A network/netmask pair (<STRONG>Apache 1.3 and later</STRONG>)
6ae232055d4d8a97267517c5e50074c2c819941and<DD>A network a.b.c.d, and a netmask w.x.y.z. For more fine-grained subnet
6ae232055d4d8a97267517c5e50074c2c819941and<DT>A network/nnn CIDR specification (<STRONG>Apache 1.3 and later</STRONG>)
6ae232055d4d8a97267517c5e50074c2c819941and<DD>Similar to the previous case, except the netmask consists of nnn
6ae232055d4d8a97267517c5e50074c2c819941and high-order 1 bits. (i.e. 10.1.0.0/16 is the same as 10.1.0.0/255.255.0.0)
6ae232055d4d8a97267517c5e50074c2c819941and<BLOCKQUOTE><CODE>allow from .ncsa.uiuc.edu</CODE></BLOCKQUOTE>
6ae232055d4d8a97267517c5e50074c2c819941andAll hosts in the specified domain are allowed access.
6ae232055d4d8a97267517c5e50074c2c819941andNote that this compares whole components; <CODE>bar.edu</CODE>
6ae232055d4d8a97267517c5e50074c2c819941andSee also <A HREF="#deny">deny</A>, <A HREF="#order">order</A>, and
6ae232055d4d8a97267517c5e50074c2c819941and<A name="allowfromenv"><STRONG>Syntax:</STRONG> allow from env=<EM>variablename</EM></A><BR>
6ae232055d4d8a97267517c5e50074c2c819941and HREF="directive-dict.html#Context"
6ae232055d4d8a97267517c5e50074c2c819941and REL="Help"
b43f840409794ed298e8634f6284741f193b6c4ftakashi><STRONG>Context:</STRONG></A> directory, .htaccess<BR>
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung HREF="directive-dict.html#Override"
6ae232055d4d8a97267517c5e50074c2c819941and REL="Help"
HREF="directive-dict.html#Compatibility"
HREF="directive-dict.html#Syntax"
HREF="directive-dict.html#Context"
HREF="directive-dict.html#Override"
HREF="directive-dict.html#Status"
HREF="directive-dict.html#Module"
HREF="directive-dict.html#Context"
HREF="directive-dict.html#Override"
HREF="directive-dict.html#Status"
HREF="directive-dict.html#Module"
HREF="directive-dict.html#Compatibility"
HREF="directive-dict.html#Syntax"
HREF="directive-dict.html#Default"
HREF="directive-dict.html#Context"
HREF="directive-dict.html#Override"
HREF="directive-dict.html#Status"
HREF="directive-dict.html#Module"
Hosts in the ncsa.uiuc.edu domain are allowed access; all other hosts are
<!--#include virtual="footer.html" -->