>>>petrus vloet said:
> Doc_AddRoot can only be called after ...thread.tcl has been sourced:
>
>
> if {[catch {source $Config(main)} message]} then {
> global errorInfo
> set error "Error processing main startup script \"[file nativename
> $Config(m
> ain)]\"."
> append error "\n$errorInfo"
> error $error
> }
>
> Doc_AddRoot /aaa /usr/local/www/docs/aaa
> Doc_AddRoot /bbb /usr/local/www/docs/bbb
This doesn't surprise me, but it probably surprises everyone else.
The ".rc" file is really meant only for variable settings, not
initialization calls. You really are supposed to hand-edit the
httpdthread.tcl file to add your custom additions. I plan a cleaner
way to add code to the server, but that won't materialize for a month
or two.
-- Brent Welch <[EMAIL PROTECTED]>
http://www.scriptics.com
Scriptics: The Tcl Platform Company