You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2009/03/12 16:27:01 UTC
svn commit: r752894 - in /httpd/httpd/trunk/docs/manual/mod: core.html.en
core.xml
Author: rbowen
Date: Thu Mar 12 15:27:00 2009
New Revision: 752894
URL: http://svn.apache.org/viewvc?rev=752894&view=rev
Log:
Add an example of using a wildcard with ServerAlias
Change <VirtualHost *> to <VirtualHost *:80>
Modified:
httpd/httpd/trunk/docs/manual/mod/core.html.en
httpd/httpd/trunk/docs/manual/mod/core.xml
Modified: httpd/httpd/trunk/docs/manual/mod/core.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.html.en?rev=752894&r1=752893&r2=752894&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.html.en Thu Mar 12 15:27:00 2009
@@ -2675,9 +2675,10 @@
<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>
Modified: httpd/httpd/trunk/docs/manual/mod/core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml?rev=752894&r1=752893&r2=752894&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.xml Thu Mar 12 15:27:00 2009
@@ -2657,9 +2657,10 @@
<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>