httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/docs/manual/vhosts name-based.html.en name-based.xml
Date Fri, 10 Oct 2003 23:08:19 GMT
nd          2003/10/10 16:08:19

  Modified:    docs/manual/vhosts name-based.html.en name-based.xml
  Log:
  add a note about *:80 and change the example to use it.
  
  PR: 23606
  
  Revision  Changes    Path
  1.35      +9 -7      httpd-2.0/docs/manual/vhosts/name-based.html.en
  
  Index: name-based.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/vhosts/name-based.html.en,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -u -r1.34 -r1.35
  --- name-based.html.en	10 Oct 2003 22:48:53 -0000	1.34
  +++ name-based.html.en	10 Oct 2003 23:08:19 -0000	1.35
  @@ -77,10 +77,12 @@
       address (and possibly port) on the server that will be accepting
       requests for the hosts.  This is configured using the <code class="directive"><a
href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> directive.
       In the normal case where any and all IP addresses on the server should
  -    be used, you can use <code>*</code> as the argument to <code class="directive"><a
href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code>. Note that
mentioning an
  -    IP address in a <code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code>
  -    directive does not automatically make the server listen to that IP address.
  -    See <a href="../bind.html">Setting which addresses and ports Apache uses</a>

  +    be used, you can use <code>*</code> as the argument to <code class="directive"><a
href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code>. If you're
planning to use
  +    multiple ports (e.g. running SSL) you should add a Port to the argument,
  +    such as <code>*:80</code>. Note that mentioning an IP address in a
  +    <code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code>
directive does not
  +    automatically make the server listen to that IP address. See
  +    <a href="../bind.html">Setting which addresses and ports Apache uses</a>
       for more details. In addition, any IP address specified here must be
       associated with a network interface	on the server.</p>
   
  @@ -109,9 +111,9 @@
       Then you simply add the following to <code>httpd.conf</code>:</p>
   
       <div class="example"><p><code>
  -        NameVirtualHost *<br />
  +        NameVirtualHost *:80<br />
           <br />
  -        &lt;VirtualHost *&gt;<br />
  +        &lt;VirtualHost *:80&gt;<br />
           <span class="indent">
               ServerName www.domain.tld<br />
               ServerAlias domain.tld *.domain.tld<br />
  @@ -119,7 +121,7 @@
           </span>
           &lt;/VirtualHost&gt;<br />
           <br />
  -        &lt;VirtualHost *&gt;<br />
  +        &lt;VirtualHost *:80&gt;<br />
           <span class="indent">ServerName www.otherdomain.tld<br />
               DocumentRoot /www/otherdomain<br />
           </span>
  
  
  
  1.12      +9 -7      httpd-2.0/docs/manual/vhosts/name-based.xml
  
  Index: name-based.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/vhosts/name-based.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -u -r1.11 -r1.12
  --- name-based.xml	10 Oct 2003 22:48:53 -0000	1.11
  +++ name-based.xml	10 Oct 2003 23:08:19 -0000	1.12
  @@ -76,10 +76,12 @@
       module="core">NameVirtualHost</directive> directive.
       In the normal case where any and all IP addresses on the server should
       be used, you can use <code>*</code> as the argument to <directive
  -    module="core">NameVirtualHost</directive>. Note that mentioning an
  -    IP address in a <directive module="core">NameVirtualHost</directive>
  -    directive does not automatically make the server listen to that IP address.
  -    See <a href="../bind.html">Setting which addresses and ports Apache uses</a>

  +    module="core">NameVirtualHost</directive>. If you're planning to use
  +    multiple ports (e.g. running SSL) you should add a Port to the argument,
  +    such as <code>*:80</code>. Note that mentioning an IP address in a
  +    <directive module="core">NameVirtualHost</directive> directive does not
  +    automatically make the server listen to that IP address. See
  +    <a href="../bind.html">Setting which addresses and ports Apache uses</a>
       for more details. In addition, any IP address specified here must be
       associated with a network interface	on the server.</p>
   
  @@ -114,9 +116,9 @@
       Then you simply add the following to <code>httpd.conf</code>:</p>
   
       <example>
  -        NameVirtualHost *<br />
  +        NameVirtualHost *:80<br />
           <br />
  -        &lt;VirtualHost *&gt;<br />
  +        &lt;VirtualHost *:80&gt;<br />
           <indent>
               ServerName www.domain.tld<br />
               ServerAlias domain.tld *.domain.tld<br />
  @@ -124,7 +126,7 @@
           </indent>
           &lt;/VirtualHost&gt;<br />
           <br />
  -        &lt;VirtualHost *&gt;<br />
  +        &lt;VirtualHost *:80&gt;<br />
           <indent>ServerName www.otherdomain.tld<br />
               DocumentRoot /www/otherdomain<br />
           </indent>
  
  
  

Mime
View raw message