On Sat, May 04, 2013 at 08:23:12AM -0700, Michael Rasmussen wrote:
> Cluestick?
> 
> Given this configuration:
> 
>     NameVirtualHost *:80
>     Listen 80
> 
>     <VirtualHost *:80>
>         ServerName default.example.com
>     </VirtualHost>
>     <VirtualHost *:80>
>             ServerName    www.example.net
>             ServerAlias   testy.example.net
>     </VirtualHost>
>     <VirtualHost *:80>
>             ServerName    www.example.org
>             ServerAlias   new.example.org
>     </VirtualHost>
> 
> Requests for www.* are served as I expect, the page(s) for the .net and .org 
> sites are delivered.
> 
> However requests for the ServerAliases, new.example.org and 
> testy.example.net, are fufilled from default.example.com

I'm by no means an apache expert,  but my configuration (arrived
at by trial and error, years of accumulation, for a huge number
of URLs) is far more complex than that.  Among other things, each
Virtualhost stanza has a DocumentRoot or some other handler in it. 
Not sure how your config finds the content it serves.  I assume
you left the handlers out of the above for simplicity.

I would experiment with changing the ServerAliases to separate
stanzas with experimental handlers on them.  And set LogLevel
to "biblical flood".  

It probably isn't necessary, but I use the specific dotquad IP
address in NameVirtualHost instead of the wildcard *.  But then,
I use an http port on one of my IP addresses to sneak VPN traffic
past aggressive institutional firewalls.

Keith

-- 
Keith Lofstrom          [email protected]         Voice (503)-520-1993
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to