--- rat/lonratsrv.pm 2008/11/20 15:19:05 1.41 +++ rat/lonratsrv.pm 2011/10/25 19:23:20 1.42 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Server for RAT Maps # -# $Id: lonratsrv.pm,v 1.41 2008/11/20 15:19:05 jms Exp $ +# $Id: lonratsrv.pm,v 1.42 2011/10/25 19:23:20 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -51,13 +51,6 @@ sub handler { $url=~s{/loadonly/ratserver$}{/save/ratserver}; my $fn=$r->filename; - my $lonDocRoot=$r->dir_config('lonDocRoot'); - if ( $fn =~ /\Q$lonDocRoot\E/ ) { - #internal authentication, needs fixup. - $fn = $url; - $fn=~s{^/~($LONCAPA::username_re)}{/home/$1/public_html}; - $fn=~s{/[^/]*/ratserver$}{}; - } my $errtext=''; my $infotext=''; my $outtext=''; @@ -115,4 +108,4 @@ connection.) This is part of the LearningOnline Network with CAPA project described at http://www.lon-capa.org. -=cut \ No newline at end of file +=cut