[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf /auth lonacc.pm rat lonuserstate.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Fri, 07 Jul 2006 22:01:52 -0000


raeburn		Fri Jul  7 18:01:52 2006 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
    /rat	lonuserstate.pm 
    /loncom/auth	lonacc.pm 
  Log:
  grppg replaces with smppg for group homepages.  Context determined from course domain and course number in URL.
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.145 loncom/loncapa_apache.conf:1.146
--- loncom/loncapa_apache.conf:1.145	Thu Jul  6 17:20:22 2006
+++ loncom/loncapa_apache.conf	Fri Jul  7 18:00:49 2006
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.145 2006/07/06 21:20:22 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.146 2006/07/07 22:00:49 raeburn Exp $
 ##
 
 #
@@ -191,17 +191,6 @@
 ErrorDocument	  500 /adm/errorhandler
 </LocationMatch>
 
-<LocationMatch "^/adm/.*/grppg$">
-AuthType LONCAPA
-Require valid-user
-PerlAuthzHandler       Apache::lonacc
-SetHandler              perl-script
-PerlHandler             Apache::lonsimplepage
-ErrorDocument     404 /adm/notfound.html
-ErrorDocument     406 /adm/notinit.html
-ErrorDocument     500 /adm/errorhandler
-</LocationMatch>
-
 <LocationMatch "^/adm/.*/bulletinboard$">
 AuthType LONCAPA
 Require valid-user
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.117 rat/lonuserstate.pm:1.118
--- rat/lonuserstate.pm:1.117	Fri Jun 30 00:23:25 2006
+++ rat/lonuserstate.pm	Fri Jul  7 18:01:25 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Construct and maintain state and binary representation of course for user
 #
-# $Id: lonuserstate.pm,v 1.117 2006/06/30 04:23:25 raeburn Exp $
+# $Id: lonuserstate.pm,v 1.118 2006/07/07 22:01:25 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -199,7 +199,7 @@
                         $hash{'ids_'.$idsuri}=''.$rid;
                     }
                
-                    if ($turi=~/\/(syllabus|aboutme|navmaps|smppg|grppg|bulletinboard)$/) {
+                    if ($turi=~/\/(syllabus|aboutme|navmaps|smppg|bulletinboard)$/) {
 			$turi.='?register=1';
 		    }
 
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.83 loncom/auth/lonacc.pm:1.84
--- loncom/auth/lonacc.pm:1.83	Fri Jun 30 00:23:33 2006
+++ loncom/auth/lonacc.pm	Fri Jul  7 18:01:52 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.83 2006/06/30 04:23:33 raeburn Exp $
+# $Id: lonacc.pm,v 1.84 2006/07/07 22:01:52 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -414,7 +414,7 @@
 	    &Apache::lonnet::countacc($requrl);
             $requrl=~/\.(\w+)$/;
             if ((&Apache::loncommon::fileembstyle($1) eq 'ssi') ||
- ($requrl=~/^\/adm\/.*\/(aboutme|navmaps|smppg|grppg|bulletinboard)(\?|$)/) ||
+ ($requrl=~/^\/adm\/.*\/(aboutme|navmaps|smppg|bulletinboard)(\?|$)/) ||
  ($requrl=~/^\/adm\/wrapper\//) ||
  ($requrl=~m|^/adm/coursedocs/showdoc/|) ||
  ($requrl=~m|\.problem/smpedit$|) ||