[Klone-users] Klone CGI PATH_TRANSLATED

kenet3 at yahoo.com kenet3 at yahoo.com
Tue Feb 17 21:32:00 EST 2009


Here is the config file I used.



----- Original Message ----
From: Stefano Barbato <barbato at koanlogic.com>
To: Klone users <klone-users at koanlogic.com>
Sent: Monday, February 16, 2009 8:51:48 PM
Subject: Re: [Klone-users] Klone CGI PATH_TRANSLATED


On 16/feb/09, at 10:14, kenet3 at yahoo.com wrote:

> Hi,
> 
> I'm wondering if my Klone configuration setup for CGI is behaving normally.
> The PATH_TRANSLATED is passed as an argument to the CGI process.
> Is this normal? Shouldn't this be set as an environment variable instead?
> 
> Thanks,
> Kenneth


Hi Kenneth,

PATH_TRANSLATED should be set in the environment as usual but it's also passed to cgis that provide handlers of unknown file types (like php, perl files, etc.).

Could you post your configuration file (kloned.conf)?

thanks.
s


_______________________________________________
Klone-users mailing list
Klone-users at koanlogic.com
http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users



      
-------------- next part --------------
#   $Id: kloned.conf,v 1.1 2007/07/07 14:09:57 tat Exp $

server_list    app_http

# needed if you want to run KLone daemon as root
allow_root yes

# syslog logging using LOCAL0 facility (set /etc/syslog.conf accordingly)
log
{
    type                syslog
    syslog.facility     LOG_LOCAL0
}

app_http
{
    type            http
    model           fork
    addr.type       IPv4
    addr.port       8081

    dir_root        /www

    #prefork.max_child               50
    #prefork.max_request_per_child   1
    #prefork.start_child             5

    # session type 'file'.  session data are stored in a file
    type            file
    file.path       /var/tmp

    cgi
    {
        #script_alias    /cgi-bin   /var/tmp/www/cgi-bin/
        script_alias    /cgi-bin   /path/to/web/

        # .<ext>             handler
        html.handler         /var/tmp/cgiprocesor
    }
}


More information about the Klone-users mailing list