--- doc/loncapafiles/sanitycheck.piml 2002/11/27 15:33:10 1.10 +++ doc/loncapafiles/sanitycheck.piml 2006/09/15 20:55:15 1.17 @@ -1,9 +1,8 @@ - - + /etc/httpd/conf/loncapa.conf +/etc/httpd/loncapa.conf +/etc/apache2/loncapa.conf open IN, "<"; my $hbug=-1; @@ -131,13 +160,12 @@ while (<IN>) { $dbug=1 if $a[0]=~/\_/; $dbug=1 if $a[1]=~/\_/; $dbug=1 if $a[1]=~/\W/; - $fbug=1 if (@a<5 || @a>6); + $fbug=1 if (@a<4 || @a>5); my $expr='\s.+$'; $sbug=1 if ($a[0] =~ /$expr/ || $a[1] =~ /$expr/ || $a[2] =~ /$expr/ || - $a[3] =~ /$expr/ || - $a[4] =~ /$expr/ ) + $a[3] =~ /$expr/ ) ; } } @@ -149,7 +177,7 @@ if ($dbug) { print "**** ERROR **** has invalid host id or domain id\n"; } if ($fbug) { - print "**** ERROR **** is lacking 5 or 6 columns for every row\n"; + print "**** ERROR **** is lacking 4 or 5 columns for every row\n"; } if ($sbug) { print "**** ERROR **** has illegal whitespace character\n";