[thelist] apache virtual hosts

Bob Fowler bob at rjf.ca
Fri Jan 4 13:05:42 CST 2002


Ok... you said "Other" machines....  Are you trying to access your
development machine from another computer on the network?

127.0.0.1 is a loopback address, so it would appear to ping correctly, but
would in fact be pinging the machine you are pinging from.

So you need to give the site a different IP address.

Bob.

P.S.  You should be able to test the site FROM the Linux box they way it is
currently set up.

----- Original Message -----
From: <mbox937 at pop3.proteusweb.com>
To: <thelist at lists.evolt.org>
Sent: Friday, January 04, 2002 1:54 PM
Subject: RE: Re: [thelist] apache virtual hosts


> Yep - its in /etc/hosts on the linux server, and a hostfile on the other
network machines - pinging music.airside.co.uk from either the server or
other machines works just fine...
>
> Original Message:
> -----------------
> From: Bob Fowler bob at rjf.ca
> Date: Fri, 4 Jan 2002 13:24:30 -0500
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] apache virtual hosts
>
>
> Just a simple little thing, but do you have DNS or a hosts file resolving
> music.airside.co.uk to 127.0.0.1?
>
> Bob.
> ----- Original Message -----
> From: "// kerin | airside.co.uk" <kerin at airside.co.uk>
> To: "evolt" <thelist at lists.evolt.org>
> Sent: Friday, January 04, 2002 1:11 PM
> Subject: [thelist] apache virtual hosts
>
>
> > hi all,
> >
> > Does anyone know of any "Apache Virtual Hosts for dummies"-style
> > resources on the web? I've been battling with Apache on my dev linux box
> > for a couple of hours now, and nothing i do seems to make any
difference.
> > I've read through all the Apache documentation, and I'm still getting
> nowhere.
> >
> > This is a snippet of my httpd.conf file:
> >
> >
> >
> > NameVirtualHost 127.0.0.1
> >
> > #
> > # VirtualHost example:
> > # Almost any Apache directive may go into a VirtualHost container.
> > # The first VirtualHost section is used for requests without a known
> > # server name.
> > #
> > #<VirtualHost *>
> > #    ServerAdmin webmaster at dummy-host.example.com
> > #    DocumentRoot /www/docs/dummy-host.example.com
> > #    ServerName dummy-host.example.com
> > #    ErrorLog logs/dummy-host.example.com-error_log
> > #    CustomLog logs/dummy-host.example.com-access_log common
> > #</VirtualHost>
> >
> > <VirtualHost 127.0.0.1>
> >         ServerName music.airside.co.uk
> >         ServerAlias music
> >         DocumentRoot /www/servers/music
> > </VirtualHost>
> >
> >
> >
> > i want to be ablt to enter http://music.airside.co.uk into my browser
> > (and do the same on the other machines on the network), and have apache
> > send the request to /www/servers/music. As far as i can see, Ive got the
> > httpd.conf file set up directly, but apache sends music.airside requests
> > to /www/servers, not /www/servers/music
> >
> > can anyone point me in the right direction?
> >
> >
> > Thanks in advance,
> >
> > Kerin Cosford
> > Codemonkey
> > Airside
> > 0207 354 9912
> > -------------------------------
> > http://www.airside.co.uk
> > -------------------------------
> >
> >
> > --
> > For unsubscribe and other options, including
> > the Tip Harvester and archive of TheList go to:
> > http://lists.evolt.org Workers of the Web, evolt !
> >
>
>
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !






More information about the thelist mailing list