Re: this is killing me



xvart wrote:
I am trying to use tclhttpd 3.5.1
I have modified tclhttpd.rc to contain "Config Auth {user,webmaster
password}"
I am trying to work out what happens to Config(Auth), it appears to
disappear, I can see it getting set but the auth.tcl file never see's
it.

I have placed a parray Config in config::init to try and trace this,
Specifically

array set Config [interp eval $i {array get Config}]
interp delete $i
set ConfigFile $config
parray Config
flush stdout
}

The parray produces no output.

A quick search of the TclHttpd sources shows that in utils.tcl parray is defined to return the information and not print it.

Try:

puts [parray Config]


--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
.