From 90478ce30609dbe215a61b361ff2d5b3235ee31e Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Thu, 12 Mar 2009 15:18:17 +0000 Subject: Add an example of wildcard ServerAlias. Replace with git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@752891 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.html.en | 3 ++- 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 ServerAlias may include wildcards, if appropriate.

- <VirtualHost *>
+ <VirtualHost *:80>
ServerName server.domain.com
ServerAlias server server2.domain.com server2
+ ServerAlias *.example.com
# ...
</VirtualHost>

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 ServerAlias may include wildcards, if appropriate.

- <VirtualHost *>
+ <VirtualHost *:80>
ServerName server.domain.com
ServerAlias server server2.domain.com server2
+ ServerAlias *.example.com
# ...
</VirtualHost>
-- cgit v1.2.1