On 3/20/07, Ulf Pietruschka <[EMAIL PROTECTED]> wrote:
Thank you very much for the hint! It solved my problem!
As far as I understand, the first VirtualHost entry is used as default,
even if it contains an explicit server name (or even none), which
differs from the requested server name or IP - somewhat confusing to me ...

Yes, when using NameVirtualHost, the first listed host is the default.
It is often best to put nothing in this vhost except a Redirect  as
demonstrated here:
http://wiki.apache.org/httpd/Recipes/CanonicalHostNames

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to