proc ns_returnmoved {url} { ns_set update [ns_conn outputheaders] Location $url ns_return 301 "text/html" [subst \ {
[ns_info name]/[ns_info patchlevel] en [ns_conn location]