--- loncom/interface/lonhelper.pm 2011/11/05 22:42:14 1.186 +++ loncom/interface/lonhelper.pm 2011/11/07 18:22:03 1.187 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # .helper XML handler to implement the LON-CAPA helper # -# $Id: lonhelper.pm,v 1.186 2011/11/05 22:42:14 www Exp $ +# $Id: lonhelper.pm,v 1.187 2011/11/07 18:22:03 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -261,7 +261,7 @@ sub real_handler { my $uri = shift; if (!defined($uri)) { $uri = $r->uri(); } $env{'request.uri'} = $uri; - my $filename = '/home/httpd/html' . $uri; + my $filename = $r->dir_config('lonDocRoot').$uri; my $fh = Apache::File->new($filename); my $file; read $fh, $file, 100000000;