From 3cd3d0265a12858510b0809ab79e98b0418ba403 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Thu, 12 Mar 2009 15:27:00 +0000 Subject: [PATCH] Add an example of using a wildcard with ServerAlias Change to git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@752894 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 c4d8994b90..00e962285b 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -2675,9 +2675,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 fd172e34b4..137acf4a00 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -2657,9 +2657,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>
-- 2.50.1