On 3/20/07, Ulf Pietruschka <ulf.pietruschka@xxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx