diff options
author | Rich Bowen <rbowen@apache.org> | 2009-03-12 15:18:17 +0000 |
---|---|---|
committer | Rich Bowen <rbowen@apache.org> | 2009-03-12 15:18:17 +0000 |
commit | 90478ce30609dbe215a61b361ff2d5b3235ee31e (patch) | |
tree | 44a507be5628b0770747281516cfe33eb9bef94a | |
parent | 70699d021e6654c11b38d466507083d8809f6998 (diff) | |
download | httpd-90478ce30609dbe215a61b361ff2d5b3235ee31e.tar.gz |
Add an example of wildcard ServerAlias.
Replace <VirtualHost *> with <VirtualHost *:80>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@752891 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | docs/manual/mod/core.html.en | 3 | ||||
-rw-r--r-- | docs/manual/mod/core.xml | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 6cee5ce346..563c622594 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -2812,9 +2812,10 @@ to name-virtual hosts</td></tr> <code class="directive">ServerAlias</code> may include wildcards, if appropriate.</p> <div class="example"><p><code> - <VirtualHost *><br /> + <VirtualHost *:80><br /> ServerName server.domain.com<br /> ServerAlias server server2.domain.com server2<br /> + ServerAlias *.example.com<br /> # ...<br /> </VirtualHost> </code></p></div> diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 51226b9202..2910cf85c8 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -2802,9 +2802,10 @@ to name-virtual hosts</description> <directive>ServerAlias</directive> may include wildcards, if appropriate.</p> <example> - <VirtualHost *><br /> + <VirtualHost *:80><br /> ServerName server.domain.com<br /> ServerAlias server server2.domain.com server2<br /> + ServerAlias *.example.com<br /> # ...<br /> </VirtualHost> </example> |