httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] mixing dynamic and static virtual host definitions
Date Sat, 23 Oct 2010 13:33:25 GMT
> 1) if the new stanza is placed above the old one, then ALL traffic arriving
> at this server is directed to  /home/drupal-commons/drupal_commons.
> 2) if the new stanza goes below the old, it is ignored entirely (this is
> what I expected).

You need 1  "NameVirtualHost *:80" to tell Apache to do name-based
vhosts on those vhosts.   Then keep the generic one listed first, so
it will be the default for *:80.

(You might have "NameVirtualHost *" in your debian conf, but it needs
to be a literal match.)

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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