Re: [users@httpd] virtual server problems SOLVED

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

 



On 3/20/06, RYAN M. vAN GINNEKEN <luck@xxxxxxxxxxxxxxx> wrote:
>
> ----- Krist van Besien <krist.vanbesien@xxxxxxxxx> wrote:
> > On 3/20/06, RYAN M. vAN GINNEKEN <luck@xxxxxxxxxxxxxxx> wrote:

> > I suspect you have somewhere in /etc/httpd/conf.v/computerking.ca
> > something like this:
> >
> > <VirtualHost *:*>
> >
> > ServerName www.computerking.ca
> > ...
> > </VirtualHost>
> >
> > What hapens if you change that to
> > <VirtualHost *:80> ?
> >
> Thanks had <virtualhost *> solved everything. must have taken priority over all the other vhosts.

If you look at the apache docs at:

http://httpd.apache.org/docs/2.0/mod/core.html#namevirtualhost

it says there:

"Note that the argument to the <VirtualHost> directive must exactly
match the argument to the NameVirtualHost directive."

That was the error here. Because the parameters didn't match you
created (unintentionally) an IP based Virtual Host that because of the
wildcard grabbed everything.

Krist

--
krist.vanbesien@xxxxxxxxx
Solothurn, Switzerland

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