chuck 97/05/09 02:23:03
Modified: htdocs/manual/mod mod_proxy.html
Log:
Redo 'controlling access to proxy' section, noting that Limit block is
required, that Files block is required for versions < 1.2b10, and using
all allowable methods in the Limit block.
Revision Changes Path
1.21 +4 -1 apache/htdocs/manual/mod/mod_proxy.html
Index: mod_proxy.html
===================================================================
RCS file: /export/home/cvs/apache/htdocs/manual/mod/mod_proxy.html,v
retrieving revision 1.20
retrieving revision 1.21
diff -C3 -r1.20 -r1.21
*** mod_proxy.html 1997/05/01 05:27:01 1.20
--- mod_proxy.html 1997/05/09 09:23:02 1.21
***************
*** 301,313 ****
<pre>
<Directory proxy:*>
! <Limit GET>
order deny,allow
deny from [machines you'd like *not* to allow by IP address or name]
allow from [machines you'd like to allow by IP address or name]
</Limit>
</Directory>
</pre><p>
<h2><a name="shortname">Using Netscape hostname shortcuts</a></h2>
--- 301,316 ----
<pre>
<Directory proxy:*>
! <Limit GET PUT POST DELETE CONNECT OPTIONS>
order deny,allow
deny from [machines you'd like *not* to allow by IP address or name]
allow from [machines you'd like to allow by IP address or name]
</Limit>
</Directory>
</pre><p>
+
+ A <Files> block will also work, and is the only method known to work
+ for all possible URLs in Apache versions earlier than 1.2b10.<p>
<h2><a name="shortname">Using Netscape hostname shortcuts</a></h2>