[TriLUG] Apache serving wrong website
Douglas Ward
dward at nccumc.org
Thu Mar 13 17:02:57 EDT 2008
Problem solved. I missed a duplicate entry in vhosts.conf way up at the
beginning of the file. It's always the typos... :( I appreciate
everyone's suggestions though...
On Wed, Mar 12, 2008 at 3:13 AM, Jeremy Portzer <jeremyp at pobox.com> wrote:
> Paul McLanahan wrote:
> > When I wrestled with what sounds like a very similar problem recently,
> > the problem turned out to be that I hadn't set Apache's ServerName
> > directive (the one in the main conf, not the VirtualHost) correctly,
> > and it was figuring out its own ServerName from /etc/hosts. That
> > seemed to cause it to feel that one certain subdomain was the same as
> > my default domain, even though I had a separate VirtualHost stanza for
> > it.
> >
>
> This sounds pretty likely, Paul. The original poster said there is no
> default domain in his configuration - but there always is, whatever the
> DocumentRoot is set to in the main httpd.conf .
>
> --Jeremy
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>
More information about the TriLUG
mailing list