On Tue, Sep 22, 2009 at 1:13 PM, Christian A Vogl <c.v...@kinetiqa.de> wrote: > Yes, you're right, Stephen, thank you! > > Responsible's my own ns_returnforbidden, and I was misguided by the > different behaviour for files and directories. In detail, for maybe > helping other misguided half-blinds like me: > > I checked file access using TCL's "file normalize", > which returns > "/path/to/real/file.ext" > for requests of "/path/to/webserver/pages/symdir/file.ext" in a > symbolically linked directory (symbolic link > "symdir --> /path/to/real" > in physical naviserver page root "/path/to/webserver/pages"), > > but returns > "/path/to/webserver/pages/physdir/file.ext" > if only "file.ext" links symbolically somewhere else (symbolic link > "file.ext --> /path/to/real/file.ext" > in physical directory "/path/to/webserver/pages/realdir") > > > So I just had to drop the normalizing.
Check out ns_register_fasturl2file: http://naviserver.sourceforge.net/n/naviserver/files/ns_register_url2file.html It's like the 'mount' command in linux, or like symlinking one directory to another. Some examples (bit obscure...) here: http://bitbucket.org/naviserver/naviserver/src/tip/tests/url2file.test#cl-73 ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel