rbowen 2003/08/13 17:58:35
Modified: htdocs/manual/mod core.html.en
Log:
Added documentation of the proxy: argument to <Directory>
Removed comment about putting <Directory> sections primarily in
access.conf
Revision Changes Path
1.255 +24 -3 httpd-docs-1.3/htdocs/manual/mod/core.html.en
Index: core.html.en
===================================================================
RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/core.html.en,v
retrieving revision 1.254
retrieving revision 1.255
diff -u -r1.254 -r1.255
--- core.html.en 6 Aug 2003 13:43:25 -0000 1.254
+++ core.html.en 14 Aug 2003 00:58:34 -0000 1.255
@@ -878,7 +878,8 @@
<a href="directive-dict.html#Syntax"
rel="Help"><strong>Syntax:</strong></a> <Directory
- <em>directory-path</em>> ... </Directory> <br />
+ <em>directory-path</em>|proxy:<em>url-path</em>>
+ ... </Directory> <br />
<a href="directive-dict.html#Context"
rel="Help"><strong>Context:</strong></a> server config, virtual
host<br />
@@ -986,11 +987,31 @@
<em>want</em> accessible. See the <a
href="../misc/security_tips.html">Security Tips</a> page for
more details.</strong></p>
- The directory sections typically occur in the access.conf file,
- but they may appear in any configuration file.
<Directory> directives cannot nest, and cannot appear in
a <a href="#limit"><Limit></a> or <a
href="#limitexcept"><LimitExcept></a> section.
+
+ <p>If you have <a href="mod_proxy.html">mod_proxy</a> enabled, you
+ can use the <code>proxy:</code> syntax to apply configuration
+ directives to proxied content. The syntax for this is to specify the
+ proxied URLs to which you wish to apply the configuration, or to
+ specify <code>*</code> to apply to all proxied content:</p>
+
+ <p>To apply to all proxied content:</p>
+
+ <pre>
+ <Directory proxy:*>
+ ... directives here ...
+ </Directory>
+ </pre>
+
+ <p>To apply to just a subset of proxied content:</p>
+
+ <pre>
+ <Directory proxy:http://www.example.com/>
+ ... directives here ...
+ </Directory>
+ </pre>
<p><strong>See also</strong>: <a href="../sections.html">How
Directory, Location and Files sections work</a> for an
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]