Brian Rosner wrote, On 23/08/07 17:08:
 > On 2007-08-22 23:27:41 -0600, "Vernon Mauery" <[EMAIL PROTECTED]> said:
 >
 >> Hi,
 >>
 >> I am testing out the 6.0 beta and have found documentation on the
 >> config files to be rather sparse (read non-existent).  What I have so
 >> far is cobbled together from various sources that google could
 >> scrounge up for me, reading the 05to60.py script, and browsing the
 >> cherokee source.
 >>
 >> Alvaro, could you please post a sample configuration file that you use
 >> for testing the parsing of the configuration files?
 >>
 >> I finally did manage to get the scgi interface working to interface
 >> with the pyscgi server (version 1.2) with the error_handler enabled,
 >> so things are mostly working, but I would like to figure out how to do
 >> virtual hosts (I only have vserver!default! right now) and how to get
 >> logging working.
 >>
 >> Any help would be appreciated.
 >>
 >> --Vernon
 >
 > vserver!default is for the default virtual server.  If you do
 > vserver!example.com then you will have a vserver for example.com.

qa/021-VirtualHost2.py is a good example for that:

You have to define the domain names with !domain!<number> entries. You
can either set domain name strings or regular expressions. For
instance:

vserver!test1!domain!1 = www.example.com
vserver!test1!domain!2 = "*.local.alobbs.com"

-- 
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to