Re: [naviserver-devel] Changing pageroot

2012-11-02 Thread Stephen Deasey
On Thu, Nov 1, 2012 at 4:03 PM, David Osborne wrote: > > Trying to work out if this is a config error or a code difference... any > pointers? In general, add this to your config: ns_section "ns/parameters" ns_param logdev true And the log file will tell you exactly which config param

Re: [naviserver-devel] Changing pageroot

2012-11-02 Thread Gustaf Neumann
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 O

Re: [naviserver-devel] Changing pageroot

2012-11-02 Thread David Osborne
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_parampagedir $pageroot But if I added a subsequent fastpath section and added

Re: [naviserver-devel] Changing pageroot

2012-11-01 Thread Gustaf Neumann
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

Re: [naviserver-devel] Changing pageroot

2012-11-01 Thread Jeff Rogers
It's "pagedir" rather than "pageroot", and it's relative to the server root for virtual hosts (it can still be absolute). The documentation appears to be not up to date on this item. -J David Osborne wrote: > Hi again, > > In Aolserver we used to change pageroot in the config as so: > ns_para

[naviserver-devel] Changing pageroot

2012-11-01 Thread David Osborne
Hi again, In Aolserver we used to change pageroot in the config as so: ns_param pageroot /new/page/root Should the same work in Naviserver? ns_info pageroot is returning /usr/local/ns/pages no matter what I put in the config for pageroot (built from the latest version in bitbucket). Trying to wor