problems with setup apache and virtual hosts file
王 鹏辉
wangpenghui at gmail.com
Fri Apr 28 15:42:17 UTC 2006
It seems that you have missed the
NameVirtualHost 202.189.72.35
before the two virtual hosts setting.
On 4/28/06, Trevor Tregoweth <trevor at bitmore.net> wrote:
>
> Hi
>
> Yes I did close the virtualhost, and restart apache.
>
> When I go to the web address they both go to the first one
>
> Thanks for the help
>
> Trevor
>
> -----Original Message-----
> From: ubuntu-users-bounces at lists.ubuntu.com
> [mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Todd Slater
> Sent: Saturday, 29 April 2006 12:54 AM
> To: Ubuntu Help and User Discussions
> Subject: Re: problems with setup apache and virtual hosts file
>
> On 4/28/06, Trevor Tregoweth <trevor at bitmore.net> wrote:
> >
> >
> >
> > Hi All
> >
> > I am trying to set up apache with virtual host, have created 2 files,
> with
> > the following config, i would really appreciate some help in getting it
> > running
> >
> > OS Ubuntu 5.10
> > Apache/2.0.54
> >
> >
> > lccsa.org.au
> > <VirtualHost 202.189.72.35>
> > ServerAdmin webmaster at localhost
> > ServerName www.lccsa.org.au
> > DocumentRoot /var/www/lcc-web/
> >
> >
> >
> > intranet.lccsa.org.au
> > <VirtualHost 202.189.72.35>
> > ServerAdmin webmaster at localhost
> > ServerName intranet.lccsa.org.au
> > DocumentRoot /var/www/intranet/
> >
> >
> > Cheers, Trevor
>
> So what happens?
>
> Did you close out the VirtualHost directive with </VirtualHost>?
>
> Did you restart apache?
>
> Todd
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
--
王 鹏辉
0592-8389650
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060428/9aae7723/attachment.html>
More information about the ubuntu-users
mailing list