Resending, something is wrong with ADF's ISP.

-------- Original Message --------
Subject: [cherokee-dev] Re: [Cherokee] Sample version 6 configuration
Date: Thu, 23 Aug 2007 18:42:37 +0000
From: A.D.F. <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Organization: Private
To: [EMAIL PROTECTED]
References: <[EMAIL PROTECTED]>


Vernon Mauery wrote:
> 

May someone send this message to [email protected] ?
My ISP has banned that list :-(

> 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.

NOTE: the following is some rough info about logging (cherokee.conf).


Logging has the following properties:

[virtual_server_name]!logger[!logger_property]

# logger format: [combined|ncsa|w3c]
vserver!default!logger = combined

# logger stream-type: [access|error|all]!type = [syslog|stderr|file|exec]
# NOTE: for each virtual server + outstream you have to choose
#       only 1 type: syslog or stderr or file or exec (program name)
# NOTE: all means access + error
# NOTE: the fastest method to log info should be "file" (syslog is slow).

# logger!syslog
vserver!default!logger!all!type = syslog

# logger!stderr + syslog
vserver!default!logger!access!type = stderr
vserver!default!logger!error!type = syslog

# logger!exec + syslog
vserver!default!logger!access!type = syslog
vserver!default!logger!error!exec!command = /usr/local/bin/mylogger

# logger!file
vserver!default!logger!access!type = file
vserver!default!logger!access!filename = /var/log/cherokee.access
vserver!default!logger!access!bufsize  = 16384
vserver!default!logger!error!filename = /var/log/cherokee.error
vserver!default!logger!error!bufsize  = 8192

NOTE: bufsize is the output buffer size in bytes used to buffer
       writes to output log stream.

                 Greetings.

-- 
Nick Name:     A.D.F.
E-Mail:        <adefacc () tin ! it>
E-Mail-Format: Plain Text only (please); view using font Courier New
--


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

Reply via email to