Forum OpenACS Q&A: Re: Current AOLserver, nspostgres, etc. versions

Collapse
Posted by Tom Jackson on

Jamie,

Thanks for pointing out that my website was screwed up. My site runs OpenACS, but before that happens, my VAT module runs. For some reason directory listings stopped working. But why? It turns out that now the private tcl directory is sourced first in AOLserver 3.5.1, and then the modules/tcl public directory, which contains the file fastpath.tcl. My module redefines ns_info so that 'ns_info server' will return the correct virtual server. ns_info server is used in nsfastpath.tcl to hard code the directorylisting parameter type to either 'fancy', 'simple' or default 'none'. The good news is that I use my own version of _ns_dirlist in VAT, so a small change has allowed me to set directory listings on a per virtual server basis.

But why is the public tcl directory now sourced after the private directory?

The two modules are available at http://zmbh.com/ . I never added them to sf. The main reason was due to Jeff Davis providing an i18n aware version of nsreturnz. I guess I should add this one anyway and worry about i18n for the 4.0 AOLserver.