Hi Greg,
You seem confused by what a virtual domain is. A virtual domain is=20
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/=20
when asked for virtual domain http://my.vhost.com/.
Also, your OS needs to know the mapping between domain names and their=20
IP addresses. This is done by querying a DNS server (mainly for public=20
names) or looking in local hosts file for name/IP mapping.
So, in order for http://my.vhost.com to respond, the domain=20
"my.vhost.com" must be defined somewhere, in a DNS database or locally=20
in the hosts file.
On UNIX, hosts file is located at /etc/hosts, on Windows, it's at=20
%SYSTEM32%/drivers/etc/hosts.
More info about hosts file: http://en.wikipedia.org/wiki/Hosts_file
Hope that helps,
--
DocKimbel
[email protected] a =E9crit :
> I have a problem that is so stupidly simple I am embarrassed to ask abo=
ut=3D
> it. Basically I have either missed the plot entirely or have made a ba=
si=3D
> c error so simple I have not seen it.
>=20
> The problem is getting virtual hosting working with Cheyenne. I have tr=
ie=3D
> d every combination I can think of to no avail. I don't think I am even=
c=3D
> orrectly addressing the browser (<http://locahost/my.vhost.com>, <http:=
//=3D
> my.vhost.com/>, <http://locahost/~my.vhost.com>, etc., etc.,). Either =
I =3D
> get file not found (Cheyenne internal), or server not found (external).=
<=3D
> http://locahost/my.vhost.com>
>=20
> I need baby instructions.
>=20
> What I am trying to achieve is a browser interface to file directories =
th=3D
> at are either scattered throughout the local computer or on through the=
L=3D
> an system, At the moment I can't get an index.html recognised in the sa=
me=3D
> directory as Cheyenne or its www directory.
>=20
> I may have even got this possibility wrong.
>=20
> Any help would be gratefully appreciated.
>=20
> Greg Schofield, Perth.
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.