From: Gustaf N. <ne...@wu...> - 2012-11-02 10:04:12
|
Hi David, i think, this is intentional. all config options for serving static files are under ns/server/${servername}/fastpath see: https://bitbucket.org/naviserver/naviserver/src/d34fc2681cf1fb4dec89b7172d09a187c37efe32/sample-config.tcl.in?at=default#cl-301 -gustaf On 02.11.12 10:22, David Osborne wrote: > Thanks Jeff and Gustaf. > > I found that setting pagedir had no effect under the > server section (as is in the newly changed > tests/http-test-config.tcl file) eg: > > ns_section "ns/server/${server_name}" > ns_param pagedir $pageroot > > But if I added a subsequent fastpath section and added it > there instead then it worked. Is this what would be expected? > > ns_section "ns/server/${server_name}/fastpath" > ns_param pagedir $pageroot > > > On 1 November 2012 19:51, Gustaf Neumann <ne...@wu... > <mailto:ne...@wu...>> wrote: > > > hmm, i found two occurrences of "nsparam pageroot", and > changed these. > > % egrep -R "ns_param *pageroot" * > openacs-config.tcl: ns_param pageroot > $pageroot > tests/http-test-config.tcl:ns_param pageroot $pageroot > > i have added as well "ns_info pagedir" as an alias for > "ns_info pageroot". > One should mark the latter as deprecated. > > -gustaf > > > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_d2d > > > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel |