pepper 00/12/02 19:10:15 Modified: htdocs/manual/mod mod_vhost_alias.html Log: More cleanup of mismatched
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 byprintf which have a number of formats:
+
+
%%
%
@@ -80,7 +82,6 @@
%N.M
N and M are used to specify substrings of
@@ -107,6 +108,8 @@
1+ and -1+
0
+
+
If N or M is greater than the number of
parts available a single underscore is interpolated.
For simple name-based virtual hosts you might use the following directives in your server configuration file: +
UseCanonicalName Off VirtualDocumentRoot /usr/local/apache/vhosts/%0+ +
A request for http://www.example.com/directory/file.html
will be satisfied by the file
/usr/local/apache/vhosts/www.example.com/directory/file.html.
@@ -147,7 +153,8 @@
VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2.4+-The example request would come from + +
The example request would come from
/usr/local/apache/vhosts/isp.com/e/x/a/mple/directory/file.html.
A request for http://www.example.isp.com/directory/file.html
would be satisfied by the file
/usr/local/apache/vhosts/10/20/30/40/docs/directory/file.html if
@@ -176,6 +185,8 @@
VirtualDocumentRoot /usr/local/apache/vhosts/%2.0.%3.0+ +
A request for http://www.example.isp.com/directory/file.html
will be satisfied by the file
/usr/local/apache/vhosts/example.isp/directory/file.html.