if {[string compare $f "pkgIndex.tcl"]}to
if {[string compare $f "pkgIndex.tcl"] == 0} {This page should be deleted when V 3.4.3 is released.
While this works in terms of sourcing files in the custom directory when tclhttpd starts, I wasn't able to source them through the debugging URL (/debug/source?source=foo.tcl). I found that I could fix this by placing the following in httpthread.tcl:
Doc_TemplateLibrary $Config(library)-WJR