summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Bowen <rbowen@apache.org>2009-03-12 15:18:17 +0000
committerRich Bowen <rbowen@apache.org>2009-03-12 15:18:17 +0000
commit90478ce30609dbe215a61b361ff2d5b3235ee31e (patch)
tree44a507be5628b0770747281516cfe33eb9bef94a
parent70699d021e6654c11b38d466507083d8809f6998 (diff)
downloadhttpd-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.en3
-rw-r--r--docs/manual/mod/core.xml3
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>
- &lt;VirtualHost *&gt;<br />
+ &lt;VirtualHost *:80&gt;<br />
ServerName server.domain.com<br />
ServerAlias server server2.domain.com server2<br />
+ ServerAlias *.example.com<br />
# ...<br />
&lt;/VirtualHost&gt;
</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>
- &lt;VirtualHost *&gt;<br />
+ &lt;VirtualHost *:80&gt;<br />
ServerName server.domain.com<br />
ServerAlias server server2.domain.com server2<br />
+ ServerAlias *.example.com<br />
# ...<br />
&lt;/VirtualHost&gt;
</example>