version 1.17, 2001/12/15 20:48:47
|
version 1.18, 2001/12/17 00:57:59
|
Line 191 Apache::lonpubdir - Publication Handler
|
Line 191 Apache::lonpubdir - Publication Handler
|
|
|
Invoked (for various locations) by /etc/httpd/conf/srm.conf: |
Invoked (for various locations) by /etc/httpd/conf/srm.conf: |
|
|
<LocationMatch "^/\~.*/$"> |
<LocationMatch "^/\~.*/$"> |
PerlAccessHandler Apache::loncacc |
PerlAccessHandler Apache::loncacc |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonpubdir |
PerlHandler Apache::lonpubdir |
ErrorDocument 403 /adm/login |
ErrorDocument 403 /adm/login |
ErrorDocument 404 /adm/notfound.html |
ErrorDocument 404 /adm/notfound.html |
ErrorDocument 406 /adm/unauthorized.html |
ErrorDocument 406 /adm/unauthorized.html |
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</LocationMatch> |
</LocationMatch> |
|
|
<Location /adm/pubdir> |
<Location /adm/pubdir> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonpubdir |
PerlHandler Apache::lonpubdir |
ErrorDocument 403 /adm/login |
ErrorDocument 403 /adm/login |
ErrorDocument 404 /adm/notfound.html |
ErrorDocument 404 /adm/notfound.html |
ErrorDocument 406 /adm/unauthorized.html |
ErrorDocument 406 /adm/unauthorized.html |
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
=head1 INTRODUCTION |
=head1 INTRODUCTION |
|
|
This module enables cookie based authentication and is used |
This module publishes a directory of files. |
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 is part of the LearningOnline Network with CAPA project |
This is part of the LearningOnline Network with CAPA project |
described at http://www.lon-capa.org. |
described at http://www.lon-capa.org. |