Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[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, Greg --- Message Received --- From: DocKimbel <dockimbel-free.fr> To: rebolist-rebol.com Reply-To: rebolist-rebol.com 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 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 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 %SYSTEM32%/drivers/etc/hosts. More info about hosts file: http://en.wikipedia.org/wiki/Hosts_file Hope that helps, -- DocKimbel 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). < > http://locahost/my.vhost.com> > > 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=