Re: mixing dynamic and static virtual host definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux