--- loncom/publisher/lonpubdir.pm 2001/12/15 20:48:47 1.17 +++ loncom/publisher/lonpubdir.pm 2001/12/17 00:57:59 1.18 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # (Publication Handler # -# $Id: lonpubdir.pm,v 1.17 2001/12/15 20:48:47 harris41 Exp $ +# $Id: lonpubdir.pm,v 1.18 2001/12/17 00:57:59 harris41 Exp $ # # Copyright Michigan State University Board of Trustees # @@ -191,36 +191,29 @@ Apache::lonpubdir - Publication Handler Invoked (for various locations) by /etc/httpd/conf/srm.conf: - -PerlAccessHandler Apache::loncacc -SetHandler perl-script -PerlHandler Apache::lonpubdir -ErrorDocument 403 /adm/login -ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized.html -ErrorDocument 500 /adm/errorhandler - - - -PerlAccessHandler Apache::lonacc -SetHandler perl-script -PerlHandler Apache::lonpubdir -ErrorDocument 403 /adm/login -ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized.html -ErrorDocument 500 /adm/errorhandler - + + PerlAccessHandler Apache::loncacc + SetHandler perl-script + PerlHandler Apache::lonpubdir + ErrorDocument 403 /adm/login + ErrorDocument 404 /adm/notfound.html + ErrorDocument 406 /adm/unauthorized.html + ErrorDocument 500 /adm/errorhandler + + + + PerlAccessHandler Apache::lonacc + SetHandler perl-script + PerlHandler Apache::lonpubdir + ErrorDocument 403 /adm/login + ErrorDocument 404 /adm/notfound.html + ErrorDocument 406 /adm/unauthorized.html + ErrorDocument 500 /adm/errorhandler + =head1 INTRODUCTION -This module enables cookie based authentication and is used -to control access for many different LON-CAPA URIs. - -Whenever the client sends the cookie back to the server, -this cookie is handled by either lonacc.pm or loncacc.pm -(see srm.conf for what is invoked when). If -the cookie is missing or invalid, the user is re-challenged -for login information. +This module publishes a directory of files. This is part of the LearningOnline Network with CAPA project described at http://www.lon-capa.org.