--- loncom/loncapa_apache.conf 2006/09/06 19:30:02 1.154.2.1 +++ loncom/loncapa_apache.conf 2006/12/11 14:06:06 1.162 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.154.2.1 2006/09/06 19:30:02 albertel Exp $ +## $Id: loncapa_apache.conf,v 1.162 2006/12/11 14:06:06 raeburn Exp $ ## # @@ -516,6 +516,16 @@ PerlHandler Apache::restrictedaccess ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::publiccheck +AuthType LONCAPA +Require valid-user +SetHandler perl-script +PerlAuthzHandler Apache::lonacc +PerlHandler Apache::blockedaccess +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -1083,7 +1093,7 @@ AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script -PerlHandler Apache::lonnavmaps +PerlHandler Apache::lonnavdisplay ErrorDocument 403 /adm/login ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler @@ -1157,6 +1167,18 @@ PerlHandler Apache::loncss ErrorDocument 500 /adm/errorhandler + +SetHandler perl-script +PerlHandler Apache::coursecatalog +ErrorDocument 500 /adm/errorhandler + + + +SetHandler perl-script +PerlHandler Apache::resetpw +ErrorDocument 500 /adm/errorhandler + + # ------------------------------------------------- Backdoor Adm Tests/Programs @@ -1239,6 +1261,26 @@ PerlChildExitHandler Apache::lonacc::goo Options None AllowOverride None +order deny,allow +deny from all + + +# Allow uploaded files to be served + + +Options Includes FollowSymLinks +AllowOverride None +order allow,deny +allow from all + + +# Allow construction space files to be served + + +Options Includes FollowSymLinks +AllowOverride +order allow,deny +allow from all # Yes to symbolic links and server-side includes @@ -1255,6 +1297,17 @@ allow from all AllowOverride None Options ExecCGI FollowSymLinks +order allow,deny +allow from all + + +# Allow serving of files in prtspool + + +Options Includes FollowSymLinks +AllowOverride None +order allow,deny +allow from all # ============================================================= Access Handlers