Re: [users@httpd] virtual server problems

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

 



On 3/20/06, RYAN M. vAN GINNEKEN <luck@xxxxxxxxxxxxxxx> wrote:
> Hello all everthing was working fine until i reset my fedora box today not sure what happened but apache is a bit broken now.  The only content that comes up are for www.computerking.ca site. ie if i point browser at www.computerking.ca everthing works fine.  If i point my browser at blazebartending.com i still get the www.computerking.ca content. I know the default behavior for apache is to use the first vhost listed if it cannot find an apporpatly named site.  But why is it doing this to me?
>
> [root@shoemasters conf.v]# /usr/sbin/apachectl -S
> VirtualHost configuration:
> wildcard NameVirtualHosts and _default_ servers:
> *:*                    www.computerking.ca (/etc/httpd/conf.v/computerking.ca:4)
> *:80                   is a NameVirtualHost
>          default server mail.computerking.ca (/etc/httpd/conf.v/computerking.ca:19)
>          port 80 namevhost mail.computerking.ca (/etc/httpd/conf.v/computerking.ca:19)

snip...

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

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