httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Open proxy problem
Date Tue, 20 Mar 2007 17:43:27 GMT
On 3/20/07, Ulf Pietruschka <ulf.pietruschka@etenso.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message