]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
rebuild
authorDaniel Gruno <humbedooh@apache.org>
Fri, 11 May 2012 10:24:35 +0000 (10:24 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Fri, 11 May 2012 10:24:35 +0000 (10:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1337102 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_authnz_ldap.xml.fr
docs/manual/mod/mod_authnz_ldap.xml.meta
docs/manual/mod/mod_vhost_alias.html.en
docs/manual/mod/mod_vhost_alias.xml.tr

index 90f6c4a805a424eacf1cf53973d3d468a081e0ff..cfd9c3b0c28363248c98fff86762ca2486b8b9ce 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision : 1330921 -->
+<!-- English Revision: 1330921:1337035 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 4ec661a32dd5046d4535dedae299bc720b9734f6..7a6a237d9a1fa816284676c7782fd5bc9431d6d0 100644 (file)
@@ -8,6 +8,6 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
   </variants>
 </metafile>
index 2f0ad83aacfefe31ab0ad7c05e6de35242ce8f8e..4c9051d419f607a7a38a42fa9986a2e95b12af0c 100644 (file)
@@ -193,6 +193,26 @@ VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2
     <p>The example request would come from
     <code>/usr/local/apache/vhosts/example.com/d/o/m/ain/directory/file.html</code>.</p>
 
+<p> A very common request by users is the ability to point multiple domains to multiple 
+document roots without having to worry about the length or number of parts of the 
+hostname being requested. If the requested hostname is <code>sub.www.domain.example.com</code>
+ instead of simply <code>www.domain.example.com</code>, then using %3+ will result in the document
+root being <code>/usr/local/apache/vhosts/domain.example.com/...</code> instead of the
+intended <code>example.com</code> directory. In such cases, it can be beneficial to use 
+the combination <code>%-2.0.%-1.0</code>, which will always yield the domain name and the 
+tld, for example <code>example.com</code> regardless of the number of subdomains appended 
+to the hostname. As such, one can make a configuration that will direct all first, second 
+or third level subdomains to the same directory:
+</p>
+<pre class="prettyprint lang-config">
+    VirtualDocumentRoot "/usr/local/apache/vhosts/%-2.0.%-1.0"
+</pre>
+
+<p>
+In the example above, both <code>www.example.com</code> as well as <code>www.sub.example.com</code>
+or <code>example.com</code> will all point to <code>/usr/local/apache/vhosts/example.com</code>.
+</p>
+
     <p>For IP-based virtual hosting you might use the following in
     your configuration file:</p>
 
index 6dd2a3ff8669044bfe2d414283e49ec11d6be679..c3747928fe48ab9b60d2dec632ef664dc15d9438 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1174747:1331230 (outdated) -->
+<!-- English Revision: 1174747:1337101 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by: Orhan Berent <berent belgeler.org>