[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf
raeburn
lon-capa-cvs@mail.lon-capa.org
Fri, 16 Jun 2006 22:48:03 -0000
raeburn Fri Jun 16 18:48:03 2006 EDT
Modified files:
/loncom loncapa_apache.conf
Log:
Enable public viewing of portfolio files belonging to users and to course groups, when appropriate access controls are set.
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.139 loncom/loncapa_apache.conf:1.140
--- loncom/loncapa_apache.conf:1.139 Thu Jun 1 18:29:43 2006
+++ loncom/loncapa_apache.conf Fri Jun 16 18:48:02 2006
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.139 2006/06/01 22:29:43 albertel Exp $
+## $Id: loncapa_apache.conf,v 1.140 2006/06/16 22:48:02 raeburn Exp $
##
#
@@ -123,6 +123,19 @@
PerlAuthzHandler Apache::lonuploadedacc
</LocationMatch>
+<LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
+PerlAccessHandler Apache::publiccheck
+AuthType Basic
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+</LocationMatch>
+
+<LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
+PerlAccessHandler Apache::publiccheck
+AuthType Basic
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+</LocationMatch>
<LocationMatch "^/+uploaded/.*\.page$">
SetHandler perl-script