I have used the same configuration:

<VirtualHost www.smallco.com>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /groups/smallco/www
    ServerName www.smallco.com
    ErrorLog /groups/smallco/logs/error_log
    TransferLog /groups/smallco/logs/access_log
    </VirtualHost>

But still it loads the primary site.

----- Original Message -----
From: Marcel Hicking <[EMAIL PROTECTED]>
To: <debian-isp@lists.debian.org>
Sent: Tuesday, April 03, 2001 8:44 AM
Subject: Re: Virtual Hosts


> http://httpd.apache.org/docs/vhosts/index.html
> esp.
> http://httpd.apache.org/docs/vhosts/ip-based.html
>
> basically use something like
> <VirtualHost 10.0.0.1>
>     ServerName www.abc.dom
>     ServerAdmin [EMAIL PROTECTED]
>     DocumentRoot /www/abc
> </VirtualHost>
>
> Cheers, Marcel
>
> Y2KNET <[EMAIL PROTECTED]> 3 Apr 2001, at 8:37:
>
> > I have installed Debian 2.2r2 and now trying to put
> > more IP based virtual hosts. I have used
> > the VirtualHost directives, and gave the IP number
> > to each site. But when I tried to look on the Virtual host
> > site, it brings the primary site.
> >
> > I will appreciate, if I get information about how to setup
> > VirtualHost on 2.2r2.
> >
> > Abu Umair.
> >
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>


Reply via email to