Dockimbel, I see my problem straight off, and many thanks -- everything n=
ow working 100% in under 30 seconds.

I have never dealt with web servers before and have zero knowledge. If I =
can manage (with your kind help) anyone can. Cheyenne works well, and wor=
king in the Rebol environment is a delight.

All the best in the new year,
Greg

--- Message Received ---
From: DocKimbel <[email protected]>
To: [email protected]
Reply-To: [email protected]
Date: Thu, 01 Jan 2009 20:20:52 +0100
Subject: [REBOL] Re: Idiot question on Cheyenne


Hi Greg,

You seem confused by what a virtual domain is. A virtual domain is=3D20
defined in cheyenne's config file as (for example) :

my.vhost.com [
     root-dir %/c/www/
]

That means that Cheyenne will serve content from local folder %/c/www/=3D=
20
when asked for virtual domain http://my.vhost.com/.

Also, your OS needs to know the mapping between domain names and their=3D=
20
IP addresses. This is done by querying a DNS server (mainly for public=3D=
20
names) or looking in local hosts file for name/IP mapping.

So, in order for http://my.vhost.com to respond, the domain=3D20
"my.vhost.com" must be defined somewhere, in a DNS database or locally=3D=
20
in the hosts file.

On UNIX, hosts file is located at /etc/hosts, on Windows, it's at=3D20
%SYSTEM32%/drivers/etc/hosts.

More info about hosts file: http://en.wikipedia.org/wiki/Hosts_file

Hope that helps,
--
DocKimbel

[email protected] a =3DE9crit :
> I have a problem that is so stupidly simple I am embarrassed to ask abo=
=3D
ut=3D3D
>  it. Basically I have either missed the plot entirely or have made a ba=
=3D
si=3D3D
> c error so simple I have not seen it.
>=3D20
> The problem is getting virtual hosting working with Cheyenne. I have tr=
=3D
ie=3D3D
> d every combination I can think of to no avail. I don't think I am even=
=3D
 c=3D3D
> orrectly addressing the browser (<http://locahost/my.vhost.com>, <http:=
=3D
//=3D3D
> my.vhost.com/>,  <http://locahost/~my.vhost.com>, etc., etc.,). Either =
=3D
I =3D3D
> get file not found (Cheyenne internal), or server not found (external).=
=3D
 <=3D3D
> http://locahost/my.vhost.com>
>=3D20
> I need baby instructions.
>=3D20
> What I am trying to achieve is a browser interface to file directories =
=3D
th=3D3D
> at are either scattered throughout the local computer or on through the=
=3D
 L=3D3D
> an system, At the moment I can't get an index.html recognised in the sa=
=3D
me=3D3D
>  directory as Cheyenne or its www directory.
>=3D20
> I may have even got this possibility wrong.
>=3D20
> Any help would be gratefully appreciated.
>=3D20
> Greg Schofield, Perth.

--=20
To unsubscribe from the list, just send an email to=20
lists at rebol.com with unsubscribe as the subject.

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to