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

Re: apache virtual hosting



Quoth Bill West on 10 Aug, 1999:

> Strange problem here. I just moved on of my machines at work to debian from
> redhat. The apache server on that machine was doing virtual hosting of
> several sites using the same IP via VirtualName directives. Worked very well
> in fact. Now the debian apache will not do the same thing for some reason.
> When you try and go to one of the virtual hosts you always end up looking at
> the main page and not the virtual hosts page. I've even put the httpd.conf
> and srm.conf files from the working redhat server in place with no luck.
> 
> Anyone run into this type thing before? Or know what I can look for. Could
> very well be that I've goofed in the config somewhere and havn't found it yet.

What version of Apache were you using on Red Hat?  Since 1.3, you need to
explicitly define IP addresses you want to have named-based virtual hosts on
with the 'NameVirtualHost' directive -- if you were on 1.2, and upgraded to
1.3, this could be your problem.


Reply to: