You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2006/11/07 03:02:19 UTC

[Httpd Wiki] Trivial Update of "Recipes/CanonicalHostNames" by ChrisPepper

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by ChrisPepper:
http://wiki.apache.org/httpd/Recipes/CanonicalHostNames

The comment on the change is:
Mention first match is the default catchall.

------------------------------------------------------------------------------
  NameVirtualHost *:80
  
  <VirtualHost *:80>
+   # First virtual host is the default
+   #This will catch any hostnames not listed, such as:
+   # localhost, IP address, example.net, example.com, etc.
    ServerName www.example.net
    ServerAlias example.com
    Redirect permanent / http://www.example.com/