[REBOL] Re: Idiot question on Cheyenne
From: greg::schofield::iinet::net::au at: 2-Jan-2009 7:31
Dockimbel, I see my problem straight off, and many thanks -- everything now 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 working in the Rebol environment
is a delight.
All the best in the new year,
--- Message Received ---
From: DocKimbel <dockimbel-free.fr>
Date: Thu, 01 Jan 2009 20:20:52 +0100
Subject: [REBOL] Re: Idiot question on Cheyenne
You seem confused by what a virtual domain is. A virtual domain is
defined in cheyenne's config file as (for example) :
That means that Cheyenne will serve content from local folder %/c/www/==
when asked for virtual domain http://my.vhost.com/.
Also, your OS needs to know the mapping between domain names and their==
IP addresses. This is done by querying a DNS server (mainly for public==
names) or looking in local hosts file for name/IP mapping.
So, in order for http://my.vhost.com to respond, the domain
must be defined somewhere, in a DNS database or locally==
in the hosts file.
On UNIX, hosts file is located at /etc/hosts, on Windows, it's at
More info about hosts file: http://en.wikipedia.org/wiki/Hosts_file
Hope that helps,
greg.schofield-iinet.net.au a =E9crit :
> I have a problem that is so stupidly simple I am embarrassed to ask about
> it. Basically I have either missed the plot entirely or have made a basi
> c error so simple I have not seen it.
> The problem is getting virtual hosting working with Cheyenne. I have trie
> d every combination I can think of to no avail. I don't think I am even c
> orrectly addressing the browser (<http://locahost/my.vhost.com>, <http://
> my.vhost.com/>, <http://locahost/~my.vhost.com>, etc., etc.,). Either I
> get file not found (Cheyenne internal), or server not found (external). <
> I need baby instructions.
> What I am trying to achieve is a browser interface to file directories th
> at are either scattered throughout the local computer or on through the L
> an system, At the moment I can't get an index.html recognised in the same=