--- loncom/auth/lonauth.pm 2011/09/29 13:43:22 1.119 +++ loncom/auth/lonauth.pm 2011/11/07 18:15:07 1.120 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.119 2011/09/29 13:43:22 raeburn Exp $ +# $Id: lonauth.pm,v 1.120 2011/11/07 18:15:07 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -195,9 +195,10 @@ sub reroute { sub handler { my $r = shift; + my $londocroot = $r->dir_config('lonDocRoot'); my $form; # Are we re-routing? - if (-e '/home/httpd/html/lon-status/reroute.txt') { + if (-e "$londocroot/lon-status/reroute.txt") { &reroute($r); return OK; }