Index: openacs-4/packages/cms/www/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/index.vuh,v diff -u -r1.1 -r1.2 --- openacs-4/packages/cms/www/index.vuh 20 Apr 2001 20:51:09 -0000 1.1 +++ openacs-4/packages/cms/www/index.vuh 24 Sep 2002 00:14:43 -0000 1.2 @@ -2,7 +2,6 @@ # Try and look up the item in the content repository ################################################# - # Get the paths set the_url [ad_conn path_info] @@ -17,11 +16,13 @@ # Serve the page -ns_log notice "RESOLVING URL: $the_root $the_url" +# DRB: Note that content::init modifies the local variable the_root, which is treated +# as though it's been passed by reference. This requires that the redirect treat the +# path as an absolute path within the filesystem. + if { [content::init the_url the_root $content_root $template_root] } { set file "$the_root/$the_url" - ns_log notice "RESOLVED URL: $file" - rp_serve_abstract_file $file + rp_internal_redirect -absolute_path $file } else { ns_returnnotfound }