Branch: Tag:

2001-11-07

2001-11-07 12:52:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Potential fix for [bug 2445 (#2445)].

Rev: server/bin/create_configif.pike:1.36

1:   /* -  * $Id: create_configif.pike,v 1.35 2001/10/16 01:28:37 nilsson Exp $ +  * $Id: create_configif.pike,v 1.36 2001/11/07 12:52:40 grubba Exp $    *    * Create an initial administration interface server.    */
89:    string def_port = "http://*:"+(random(20000)+10000)+"/";   #endif    +  //werror("Argv: ({%{%O, %}})\n", argv); +     if(has_value(argv, "--help")) {    write(#"   Creates and initializes a Roxen WebServer configuration
141:    "../configurations");    int admin = has_value(argv, "-a");    +  werror("Admin mode: %O\n" +  "Argv: ({%{%O, %}})\n", admin, argv); +     int batch_args = search(argv, "--batch");    if(batch_args>=0)    batch = mkmapping(@Array.transpose(argv[batch_args+1..]/2));
361:   <region name='spider#0'>    <var name='Domain'> <str></str> </var>    <var name='MyWorldLocation'><str></str></var> -  <var name='URLs'> <a> <str>$URL$</str></a> </var> +  <var name='URLs'> <a> <str>$URL$#ip=;nobind=0;</str></a> </var>       <var name='comment'>    <str>Automatically created by create_configuration</str>