]> granicus.if.org Git - apache/commitdiff
use example.com for example domain name
authorTakashi Sato <takashi@apache.org>
Mon, 19 May 2008 14:44:47 +0000 (14:44 +0000)
committerTakashi Sato <takashi@apache.org>
Mon, 19 May 2008 14:44:47 +0000 (14:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@657842 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/public_html.xml
docs/manual/misc/security_tips.xml
docs/manual/mod/core.xml
docs/manual/mod/mod_authnz_ldap.xml
docs/manual/mod/mod_imagemap.xml
docs/manual/mod/mod_proxy.xml
docs/manual/mod/mod_proxy_balancer.xml
docs/manual/mod/mod_status.xml
docs/manual/mod/mod_userdir.xml
docs/manual/mod/mod_usertrack.xml
docs/manual/rewrite/rewrite_guide_advanced.xml

index ba76f979d505b663cd9bbb21a139f55a26ae4690..6665d61b69d60aff95a7e944c3766da686385a4a 100644 (file)
       used to redirect user directory requests to external URLs.</p>
       
     <example>
-      UserDir http://www.foo.com/users/*/
+      UserDir http://example.org/users/*/
     </example>
     
     <p>The above example will redirect a request for
     <code>http://example.com/~bob/abc.html</code> to
-    <code>http://www.foo.com/users/bob/abc.html</code>.</p>
+    <code>http://example.org/users/bob/abc.html</code>.</p>
   </section>
 
   <section id="enable">
index b51245473fa8f854bb0ee7f4c17a2b3b481c2bf3..c77408587c8c672fdae8275ffc8ab1846028070b 100644 (file)
     the second example will list the ten last denied clients, for example:</p>
     
     <example>
-      [Thu Jul 11 17:18:39 2002] [error] [client foo.bar.com] client denied 
+      [Thu Jul 11 17:18:39 2002] [error] [client foo.example.com] client denied 
       by server configuration: /usr/local/apache/htdocs/.htpasswd
     </example>
     
     would have seen something similar to:</p>
     
     <example>
-      foo.bar.com - - [12/Jul/2002:01:59:13 +0200] "GET /.htpasswd HTTP/1.1"
+      foo.example.com - - [12/Jul/2002:01:59:13 +0200] "GET /.htpasswd HTTP/1.1"
     </example>
     
     <p>in your <a href="../logs.html#accesslog">Access Log</a>. This means 
index c1596423030b04d562bd59e1926600317b1fed70..094ae78bd03e0a5bf4656851197b4e5c86d6f161 100644 (file)
@@ -1947,7 +1947,7 @@ URLs</description>
     functionality is especially useful when combined with the
     <directive module="core">SetHandler</directive>
     directive. For example, to enable status requests, but allow them
-    only from browsers at <code>foo.com</code>, you might use:</p>
+    only from browsers at <code>example.com</code>, you might use:</p>
 
     <example>
       &lt;Location /status&gt;<br />
@@ -1955,7 +1955,7 @@ URLs</description>
         SetHandler server-status<br />
         Order Deny,Allow<br />
         Deny from all<br />
-        Allow from .foo.com<br />
+        Allow from .example.com<br />
       </indent>
       &lt;/Location&gt;
     </example>
@@ -3152,11 +3152,11 @@ hostname or IP address</description>
     <example><title>Example</title>
       &lt;VirtualHost 10.1.2.3&gt;<br />
       <indent>
-        ServerAdmin webmaster@host.foo.com<br />
-        DocumentRoot /www/docs/host.foo.com<br />
-        ServerName host.foo.com<br />
-        ErrorLog logs/host.foo.com-error_log<br />
-        TransferLog logs/host.foo.com-access_log<br />
+        ServerAdmin webmaster@host.example.com<br />
+        DocumentRoot /www/docs/host.example.com<br />
+        ServerName host.example.com<br />
+        ErrorLog logs/host.example.com-error_log<br />
+        TransferLog logs/host.example.com-access_log<br />
       </indent>
       &lt;/VirtualHost&gt;
     </example>
index dc0bbbba98c02b7b7132f552ce46a164781d2ec8..3daa940330e88747bace2325349bf23a52894310 100644 (file)
@@ -654,12 +654,12 @@ Require valid-user
     a User Principle Name (UPN) can be added to a user's entry in the
     directory. This UPN usually takes the form of the user's account
     name, followed by the domain components of the particular domain,
-    for example <em>somebody@nz.somedomain.com</em>.</p>
+    for example <em>somebody@nz.example.com</em>.</p>
 
     <p>You may wish to configure the <module>mod_authnz_ldap</module>
     module to authenticate users present in any of the domains making up
     the Active Directory forest. In this way both
-    <em>somebody@nz.somedomain.com</em> and <em>someone@au.somedomain.com</em>
+    <em>somebody@nz.example.com</em> and <em>someone@au.example.com</em>
     can be authenticated using the same query at the same time.</p>
 
     <p>To make this practical, Active Directory supports the concept of
@@ -675,13 +675,13 @@ Require valid-user
     an empty search root, like so:</p>
 
 <example>
-AuthLDAPBindDN apache@somedomain.com<br />
+AuthLDAPBindDN apache@example.com<br />
 AuthLDAPBindPassword password<br />
 AuthLDAPURL ldap://10.0.0.1:3268/?userPrincipalName?sub
 </example>
 
     <p>Users will need to enter their User Principal Name as a login, in
-    the form <em>somebody@nz.somedomain.com</em>.</p>
+    the form <em>somebody@nz.example.com</em>.</p>
 
 </section>
 
index 9fcba6c2b1ecbac37ba621012dfd9d92de826eb3..b65c8352363ff4dea976b759fafddfa7ef3b0cfe 100644 (file)
       generated:</p>
 
       <example>
-        &lt;a href="http://foo.com/"&gt;<var>Menu text</var>&lt;/a&gt;
+        &lt;a href="http://example.com/"&gt;<var>Menu text</var>&lt;/a&gt;
       </example>
 
       <p>If no quoted text is present, the name of the link will be
       used as the text:</p>
 
       <example>
-        &lt;a href="http://foo.com/"&gt;http://foo.com&lt;/a&gt;
+        &lt;a href="http://example.com/"&gt;http://example.com&lt;/a&gt;
       </example>
 
       <p>If you want to use double quotes within this text, you have to
       base referer<br />
       poly map "Could I have a menu, please?" 0,0 0,10 10,10 10,0<br />
       rect .. 0,0 77,27 "the directory of the referer"<br />
-      circle http://www.inetnebr.com/lincoln/feedback/ 195,0 305,27<br />
+      circle http://www.inetnebr.example.com/lincoln/feedback/ 195,0 305,27<br />
       rect another_file "in same directory as referer" 306,0 419,27<br />
-      point http://www.zyzzyva.com/ 100,100<br />
-      point http://www.tripod.com/ 200,200<br />
-      rect mailto:nate@tripod.com 100,150 200,0 "Bugs?"<br />
+      point http://www.zyzzyva.example.com/ 100,100<br />
+      point http://www.tripod.example.com/ 200,200<br />
+      rect mailto:nate@tripod.example.com 100,150 200,0 "Bugs?"<br />
     </example>
 
 </section>
index a95a23c11e8e80456985a4fcdb46c58d06f51291..8252059658b29bf811cac9adaddf57983c798172 100644 (file)
@@ -1196,8 +1196,8 @@ directly</description>
     <directive module="mod_proxy">ProxyRemote</directive> proxy server(s).</p>
 
     <example><title>Example</title>
-      ProxyRemote  *  http://firewall.mycompany.com:81<br />
-      NoProxy         .mycompany.com 192.168.112.0/21
+      ProxyRemote  *  http://firewall.example.com:81<br />
+      NoProxy         .example.com 192.168.112.0/21
     </example>
 
     <p>The <var>host</var> arguments to the <directive>NoProxy</directive>
@@ -1224,8 +1224,8 @@ directly</description>
     <note><title>Note</title>
       <p>Domain name comparisons are done without regard to the case, and
       <var>Domain</var>s are always assumed to be anchored in the root of the
-      DNS tree, therefore two domains <code>.MyDomain.com</code> and
-      <code>.mydomain.com.</code> (note the trailing period) are considered
+      DNS tree, therefore two domains <code>.ExAmple.com</code> and
+      <code>.example.com.</code> (note the trailing period) are considered
       equal. Since a domain comparison does not involve a DNS lookup, it is much
       more efficient than subnet comparison.</p>
     </note></dd>
@@ -1282,7 +1282,7 @@ directly</description>
     of hosts with different <var><a href="#ipaddr">IPAddr</a></var>s).</p>
 
     <example><title>Examples</title>
-      prep.ai.mit.edu<br />
+      prep.ai.example.com<br />
       www.apache.org
     </example>
 
@@ -1294,8 +1294,8 @@ directly</description>
       link.</p>
       <p><var>Hostname</var> comparisons are done without regard to the case,
       and <var>Hostname</var>s are always assumed to be anchored in the root
-      of the DNS tree, therefore two hosts <code>WWW.MyDomain.com</code>
-      and <code>www.mydomain.com.</code> (note the trailing period) are
+      of the DNS tree, therefore two hosts <code>WWW.ExAmple.com</code>
+      and <code>www.example.com.</code> (note the trailing period) are
       considered equal.</p>
      </note></dd>
     </dl>
@@ -1336,9 +1336,9 @@ directly</description>
     will be generated.</p>
 
     <example><title>Example</title>
-      ProxyRemote  *  http://firewall.mycompany.com:81<br />
-      NoProxy         .mycompany.com 192.168.112.0/21<br />
-      ProxyDomain     .mycompany.com
+      ProxyRemote  *  http://firewall.example.com:81<br />
+      NoProxy         .example.com 192.168.112.0/21<br />
+      ProxyDomain     .example.com
     </example>
 </usage>
 </directivesynopsis>
index f3302e00d07fd181e1806d47a0e685dc2c2da636..cec901779c2783a8bee64b0f0fad793ef75f1f4b 100644 (file)
@@ -354,7 +354,7 @@ candidate lbstatus -= total factor</code></pre>
     <module>mod_status</module> and <module>mod_proxy_balancer</module>
     have to be present in the server.</p>
 
-    <p>To enable load balancer management for browsers from the foo.com
+    <p>To enable load balancer management for browsers from the example.com
     domain add this code to your <code>httpd.conf</code>
     configuration file</p>
 <example>
@@ -363,7 +363,7 @@ candidate lbstatus -= total factor</code></pre>
 <br />
     Order Deny,Allow<br />
     Deny from all<br />
-    Allow from .foo.com<br />
+    Allow from .example.com<br />
     &lt;/Location&gt;
 </example>
 
index a38ac4ac2519643e23b3af4c12e4c87053677d4d..51a4364e53e0d29f157f33c4ae3fff9414a8640f 100644 (file)
@@ -72,7 +72,7 @@ performance</description>
 <section id="enable">
     <title>Enabling Status Support</title>
 
-    <p>To enable status reports only for browsers from the foo.com
+    <p>To enable status reports only for browsers from the example.com
     domain add this code to your <code>httpd.conf</code>
     configuration file</p>
 <example>
@@ -81,7 +81,7 @@ performance</description>
 <br />
     Order Deny,Allow<br />
     Deny from all<br />
-    Allow from .foo.com<br />
+    Allow from .example.com<br />
     &lt;/Location&gt;
 </example>
 
index 650a5593217d64ee9f44d700a5623de71e8de751..71989d0e2a2bc3641fb2128bef597afa4ee7ea7d 100644 (file)
@@ -81,7 +81,7 @@ host</context></contextlist>
     <code>Userdir</code> directive, the argument is treated as a
     filename pattern, and is used to turn the name into a directory
     specification. A request for
-    <code>http://www.foo.com/~bob/one/two.html</code> will be
+    <code>http://www.example.com/~bob/one/two.html</code> will be
     translated to:</p>
 
 <table>
@@ -97,11 +97,11 @@ host</context></contextlist>
 <table>
 <tr><th>UserDir directive used</th>
 <th>Translated path</th></tr>
-<tr><td>UserDir http://www.foo.com/users</td><td>http://www.foo.com/users/bob/one/two.html</td></tr>
+<tr><td>UserDir http://www.example.com/users</td><td>http://www.example.com/users/bob/one/two.html</td></tr>
 <tr><td>UserDir
-http://www.foo.com/*/usr</td><td>http://www.foo.com/bob/usr/one/two.html</td></tr>
+http://www.example.com/*/usr</td><td>http://www.example.com/bob/usr/one/two.html</td></tr>
 <tr><td>UserDir
-http://www.foo.com/~*/</td><td>http://www.foo.com/~bob/one/two.html</td></tr>
+http://www.example.com/~*/</td><td>http://www.example.com/~bob/one/two.html</td></tr>
 </table> 
 
 <note>
@@ -136,12 +136,12 @@ UserDir disabled user4 user5 user6
 <p>It is also possible to specify alternative user directories.
 If you use a command like:</p>
 <example>
-Userdir public_html /usr/web http://www.foo.com/
+Userdir public_html /usr/web http://www.example.com/
 </example>
-<p>With a request for http://www.foo.com/~bob/one/two.html, will try to 
+<p>With a request for http://www.example.com/~bob/one/two.html, will try to 
 find the page at ~bob/public_html/one/two.html first, then
 /usr/web/bob/one/two.html, and finally it will send a redirect
-to http://www.foo.com/bob/one/two.html.</p>
+to http://www.example.com/bob/one/two.html.</p>
 <p>If you add a redirect, it must be the last alternative in the list.
 Apache cannot determine if the redirect succeeded or not, so if you have
 the redirect earlier in the list, that will always be the alternative
index 510f48f9af74fad036f27f3555547a8e07fd2923..bc6bfc180905c27cccdb106a617b45f1ff8933f1 100644 (file)
@@ -122,7 +122,7 @@ time late in the year "37".
 
     <p>The domain string <strong>must</strong> begin with a dot, and
     <strong>must</strong> include at least one embedded dot. That is,
-    <code>.foo.com</code> is legal, but <code>foo.bar.com</code> and 
+    <code>.example.com</code> is legal, but <code>foo.example.com</code> and 
     <code>.com</code> are not.</p>
 
     <note>Most browsers in use today will not allow cookies to be set
index 5ec114042990381a02d0a5ca19a43a4ce63829b5..81b026deb27cca633f3c590e9aebd2e0e121fda0 100644 (file)
@@ -587,7 +587,7 @@ RewriteRule ^/home/([^/]+)/.www/?(.*) http://<strong>www2</strong>.quux-corp.dom
 
         <dd>
           <p>Suppose we want to load balance the traffic to
-          <code>www.foo.com</code> over <code>www[0-5].foo.com</code>
+          <code>www.example.com</code> over <code>www[0-5].example.com</code>
           (a total of 6 servers). How can this be done?</p>
         </dd>
 
@@ -604,7 +604,7 @@ RewriteRule ^/home/([^/]+)/.www/?(.*) http://<strong>www2</strong>.quux-corp.dom
 
               <p>The simplest method for load-balancing is to use
               DNS round-robin.
-              Here you just configure <code>www[0-9].foo.com</code>
+              Here you just configure <code>www[0-9].example.com</code>
               as usual in your DNS with A (address) records, e.g.,</p>
 
 <example><pre>
@@ -626,15 +626,15 @@ www   IN  A       1.2.3.4
 www   IN  A       1.2.3.5
 </pre></example>
 
-              <p>Now when <code>www.foo.com</code> gets
+              <p>Now when <code>www.example.com</code> gets
               resolved, <code>BIND</code> gives out <code>www0-www5</code>
               - but in a permutated (rotated) order every time.
               This way the clients are spread over the various
               servers. But notice that this is not a perfect load
               balancing scheme, because DNS resolutions are
               cached by clients and other nameservers, so
-              once a client has resolved <code>www.foo.com</code>
-              to a particular <code>wwwN.foo.com</code>, all its
+              once a client has resolved <code>www.example.com</code>
+              to a particular <code>wwwN.example.com</code>, all its
               subsequent requests will continue to go to the same
               IP (and thus a single server), rather than being
               distributed across the other available servers. But the
@@ -661,15 +661,15 @@ www   IN  A       1.2.3.5
 
               <p>In this variant we use <module>mod_rewrite</module>
               and its proxy throughput feature. First we dedicate
-              <code>www0.foo.com</code> to be actually
-              <code>www.foo.com</code> by using a single</p>
+              <code>www0.example.com</code> to be actually
+              <code>www.example.com</code> by using a single</p>
 
 <example><pre>
-www    IN  CNAME   www0.foo.com.
+www    IN  CNAME   www0.example.com.
 </pre></example>
 
               <p>entry in the DNS. Then we convert
-              <code>www0.foo.com</code> to a proxy-only server,
+              <code>www0.example.com</code> to a proxy-only server,
               i.e., we configure this machine so all arriving URLs
               are simply passed through its internal proxy to one of
               the 5 other servers (<code>www1-www5</code>). To
@@ -709,7 +709,7 @@ while (&lt;STDIN&gt;) {
 </pre></example>
 
               <note>A last notice: Why is this useful? Seems like
-              <code>www0.foo.com</code> still is overloaded? The
+              <code>www0.example.com</code> still is overloaded? The
               answer is yes, it is overloaded, but with plain proxy
               throughput requests, only! All SSI, CGI, ePerl, etc.
               processing is handled done on the other machines.