Changeset 574

Show
Ignore:
Timestamp:
01/01/07 17:57:59 (2 years ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/cherokee/main_admin.c

    r573 r574  
    6969        cherokee_buffer_add_str (&buf, "vserver!default!directory!/!handler!balancer!type = interpreter\n"); 
    7070        cherokee_buffer_add_str (&buf, "vserver!default!directory!/!handler!balancer!local1!host = localhost:4000\n"); 
     71        cherokee_buffer_add_va  (&buf, "vserver!default!directory!/!handler!balancer!local1!interpreter = %s/server.sh\n", document_root); 
    7172        cherokee_buffer_add_str (&buf, "vserver!default!directory!/!priority = 1000\n"); 
    72  
    73         printf ("%s", buf.buf); 
    7473 
    7574        ret = cherokee_server_read_config_string (srv, &buf);