NAME

Apache::lonpublisher - Publication Handler


SYNOPSIS

Invoked by /etc/httpd/conf/srm.conf:

 <Location /adm/publish>
 PerlAccessHandler       Apache::lonacc
 SetHandler perl-script
 PerlHandler Apache::lonpublisher
 ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized.html
 ErrorDocument    500 /adm/errorhandler
 </Location>


INTRODUCTION

This module publishes a file. This involves gathering metadata, versioning the file, copying file from construction space to publication space, and copying metadata from construction space to publication space.

This is part of the LearningOnline Network with CAPA project described at http://www.lon-capa.org.


HANDLER SUBROUTINE

This routine is called by Apache and mod_perl.


OTHER SUBROUTINES