El Thu, 15 Feb 2007 14:47:00 -0500 , Alex [EMAIL PROTECTED] escribió:
Besides, 4.5 CVS which comes with tcl 8.4.14, do not have this issue
apparently, but I had other troubles with it before (eg segfaults on
ns_returnredirect) so I am not sure if it's save to move production
server 4.0.10 -
Tom,
Changing url doesn't make difference, and I did try to define and
register the proc in global namespace explicitly, with no luck.
File is located in directory pointed by ns_param library. From the
log, I am positively sure that it's being picked up on server startup.
No virtual servers
On Feb 16, 2007, at 2:49 PM, Alex wrote:
Changing url doesn't make difference, and I did try to define and
register the proc in global namespace explicitly, with no luck.
File is located in directory pointed by ns_param library. From the
log, I am positively sure that it's being picked up on
Alex,
It seems that at least ns_register_proc is firing at the correct url, but the
proc itself isn't found. So here is an idea:
register the same url, but use this proc ns_returnredirect:
ns_register_proc GET /test/ ns_returnredirect /ws/
You have to provide some following url to redirect
Tom,
thanks for suggestion ...
redirect worked just as expected (that is, redirected to server/ws/)
Thanks,
~ Alex.
On 2/16/07, Tom Jackson [EMAIL PROTECTED] wrote:
Alex,
It seems that at least ns_register_proc is firing at the correct url, but the
proc itself isn't found. So here is an
Okay, so the next potential step is to place a call to your proc on a regular
tcl page, making sure tcl pages are enabled. visit the page and see if you
get the same error: the proc isn't found.
You also might try putting the proc on the same tcl page as the call to the
proc. So:
repeat the