[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf doc/loncapafiles loncapafiles.lpml
www
www@source.lon-capa.org
Sat, 23 Apr 2011 16:02:27 -0000
www Sat Apr 23 16:02:27 2011 EDT
Modified files:
/doc/loncapafiles loncapafiles.lpml
/loncom loncapa_apache.conf
Log:
Saving my work: separate handler to pick resources and folders
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.732 doc/loncapafiles/loncapafiles.lpml:1.733
--- doc/loncapafiles/loncapafiles.lpml:1.732 Fri Mar 25 19:15:13 2011
+++ doc/loncapafiles/loncapafiles.lpml Sat Apr 23 16:02:23 2011
@@ -2,7 +2,7 @@
"http://lpml.sourceforge.net/DTD/lpml.dtd">
<!-- loncapafiles.lpml -->
-<!-- $Id: loncapafiles.lpml,v 1.732 2011/03/25 19:15:13 raeburn Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.733 2011/04/23 16:02:23 www Exp $ -->
<!--
@@ -2202,6 +2202,15 @@
<status>works/unverified</status>
</file>
<file>
+<source>loncom/interface/lonpickresource.pm</source>
+<target dist='default'>home/httpd/lib/perl/Apache/lonpickresource.pm</target>
+<categoryname>handler</categoryname>
+<description>
+Handler to pick a resource or folder
+</description>
+<status>works/unverified</status>
+</file>
+<file>
<source>loncom/interface/lonpickuser.pm</source>
<target dist='default'>home/httpd/lib/perl/Apache/lonpickuser.pm</target>
<categoryname>handler</categoryname>
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.202 loncom/loncapa_apache.conf:1.203
--- loncom/loncapa_apache.conf:1.202 Thu Jan 27 14:38:40 2011
+++ loncom/loncapa_apache.conf Sat Apr 23 16:02:27 2011
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.202 2011/01/27 14:38:40 wenzelju Exp $
+## $Id: loncapa_apache.conf,v 1.203 2011/04/23 16:02:27 www Exp $
##
#
@@ -531,6 +531,16 @@
ErrorDocument 500 /adm/errorhandler
</Location>
+<Location /adm/pickresource>
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpickresource
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+</Location>
+
<Location /adm/pickauthor>
AuthType LONCAPA
Require valid-user