[Techtalk] Apache 2.2 - Virtual host redirecting to default domain if file isn't specified

Wim De Smet kromagg at gmail.com
Tue Apr 28 10:56:25 UTC 2015


On Tue, Apr 28, 2015 at 5:13 AM Terry <tech at futurecourse.com> wrote:

> On 27/04/2015 13:00, Linda Knapp wrote:
> > I haven't run into this myself, but I'd imagine there is some clue in the
> > logs as to why this is happening. What do the logs say for each access
> type?
> >
> > -Linda
>
>
> Sadly the logs say nothing.  Because it's name-based virtual hosts, the
> default is www.linuxchix.org domain. So it's not an error and there's
> nothing written to the access logs.  I'm starting to think that one of
> the old site files had a directive outside of VirtualHost that carried
> over.  I'll have to inspect the old files.
>
>
If you can afford to run with a higher loglevel for a while there might be
some more information. I didn't see anything wrong with the config at first
glance myself, but if you can see the lookup chain happen in realtime
perhaps there will be an obvious clue.

Wim


More information about the Techtalk mailing list