[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf /auth publiccheck.pm
raeburn
raeburn@source.lon-capa.org
Wed, 17 Mar 2010 19:41:11 -0000
raeburn Wed Mar 17 19:41:11 2010 EDT
Modified files:
/loncom loncapa_apache.conf
/loncom/auth publiccheck.pm
Log:
- Reverse publiccheck.pm,v 1.18, loncapa_apache.conf,v 1.189.
- No need to assign a public user session for coursecatalog just to
change inline menu (lonmenu.pm v 1.319 provides a general solution).
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.193 loncom/loncapa_apache.conf:1.194
--- loncom/loncapa_apache.conf:1.193 Wed Mar 10 21:25:22 2010
+++ loncom/loncapa_apache.conf Wed Mar 17 19:41:06 2010
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.193 2010/03/10 21:25:22 droeschl Exp $
+## $Id: loncapa_apache.conf,v 1.194 2010/03/17 19:41:06 raeburn Exp $
##
#
@@ -1275,7 +1275,6 @@
<LocationMatch "^/adm/coursecatalog">
SetHandler perl-script
PerlHandler Apache::coursecatalog
-PerlAccessHandler Apache::publiccheck
ErrorDocument 500 /adm/errorhandler
</LocationMatch>
Index: loncom/auth/publiccheck.pm
diff -u loncom/auth/publiccheck.pm:1.18 loncom/auth/publiccheck.pm:1.19
--- loncom/auth/publiccheck.pm:1.18 Mon Oct 26 18:59:02 2009
+++ loncom/auth/publiccheck.pm Wed Mar 17 19:41:11 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Cookie Based Access Handler
#
-# $Id: publiccheck.pm,v 1.18 2009/10/26 18:59:02 droeschl Exp $
+# $Id: publiccheck.pm,v 1.19 2010/03/17 19:41:11 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -64,8 +64,7 @@
|| $requrl=~m|^/adm/help/.*\.hlp$|
|| $requrl=~m|^/adm/[^/]+/[^/]+/aboutme/portfolio$|
|| (&Apache::lonnet::metadata($requrl,'copyright') eq 'public')
- || $requrl=~m|^/adm/blockingstatus/.*$|
- || $requrl eq '/adm/coursecatalog') {
+ || $requrl=~m|^/adm/blockingstatus/.*$|) {
&process_public($r,$requrl);
return OK;
} elsif (&Apache::lonnet::is_portfolio_url($requrl)) {