You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pe...@locus.apache.org on 2000/12/03 04:10:16 UTC

cvs commit: httpd-docs-1.3/htdocs/manual/mod mod_vhost_alias.html

pepper      00/12/02 19:10:15

  Modified:    htdocs/manual/mod mod_vhost_alias.html
  Log:
  More cleanup of mismatched </p>s.
  
  Revision  Changes    Path
  1.10      +13 -2     httpd-docs-1.3/htdocs/manual/mod/mod_vhost_alias.html
  
  Index: mod_vhost_alias.html
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/mod_vhost_alias.html,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- mod_vhost_alias.html	2000/11/30 12:42:39	1.9
  +++ mod_vhost_alias.html	2000/12/03 03:10:15	1.10
  @@ -72,6 +72,8 @@
   the virtual host on the server in dotted-quad format. The
   interpolation is controlled by specifiers inspired by
   <CODE>printf</CODE> which have a number of formats:
  +</P>
  +
   <DL>
     <DT><CODE>%%</CODE>
       <DD>insert a <CODE>%</CODE>
  @@ -80,7 +82,6 @@
     <DT><CODE>%N.M</CODE>
       <DD>insert (part of) the name
   </DL>
  -</P>
   
   <P>
   <CODE>N</CODE> and <CODE>M</CODE> are used to specify substrings of
  @@ -107,6 +108,8 @@
     <DT><CODE>1+</CODE> and <CODE>-1+</CODE>
       <DD>the same as <CODE>0</CODE>
   </DL>
  +
  +<p>
   If <CODE>N</CODE> or <CODE>M</CODE> is greater than the number of
   parts available a single underscore is interpolated.
   </P>
  @@ -116,10 +119,13 @@
   <P>
   For simple name-based virtual hosts you might use the following
   directives in your server configuration file:
  +</p>
   <PRE>
   	UseCanonicalName	Off
   	VirtualDocumentRoot	/usr/local/apache/vhosts/%0
   </PRE>
  +
  +<p>
   A request for <CODE>http://www.example.com/directory/file.html</CODE>
   will be satisfied by the file
   <CODE>/usr/local/apache/vhosts/www.example.com/directory/file.html</CODE>.
  @@ -147,7 +153,8 @@
   <PRE>
   	VirtualDocumentRoot	/usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2.4+
   </PRE>
  -The example request would come from
  +
  +<p>The example request would come from
   <CODE>/usr/local/apache/vhosts/isp.com/e/x/a/mple/directory/file.html</CODE>.
   </P>
   
  @@ -159,6 +166,8 @@
   	VirtualDocumentRootIP	/usr/local/apache/vhosts/%1/%2/%3/%4/docs
   	VirtualScriptAliasIP	/usr/local/apache/vhosts/%1/%2/%3/%4/cgi-bin
   </PRE>
  +
  +<p>
   A request for <CODE>http://www.example.isp.com/directory/file.html</CODE>
   would be satisfied by the file
   <CODE>/usr/local/apache/vhosts/10/20/30/40/docs/directory/file.html</CODE> if
  @@ -176,6 +185,8 @@
   <PRE>
   	VirtualDocumentRoot	/usr/local/apache/vhosts/%2.0.%3.0
   </PRE>
  +
  +<p>
   A request for <CODE>http://www.example.isp.com/directory/file.html</CODE>
   will be satisfied by the file
   <CODE>/usr/local/apache/vhosts/example.isp/directory/file.html</CODE>.