--- loncom/loncapa_apache.conf 2006/07/17 17:34:53 1.150 +++ loncom/loncapa_apache.conf 2006/11/10 02:06:54 1.161 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.150 2006/07/17 17:34:53 albertel Exp $ +## $Id: loncapa_apache.conf,v 1.161 2006/11/10 02:06:54 raeburn Exp $ ## # @@ -122,7 +122,7 @@ ErrorDocument 500 /adm/errorhandler PerlAuthenHandler Apache::lonuploadedacc PerlAuthzHandler Apache::lonuploadedacc::skip_phase -PerlAcessHandler Apache::lonuploadedacc::skip_phase +PerlAccessHandler Apache::lonuploadedacc::skip_phase @@ -182,6 +182,18 @@ ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::publiccheck +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonaboutme +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/notinit.html +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -497,9 +509,11 @@ PerlHandler Apache::lonlogin PerlAccessHandler Apache::publiccheck AuthType LONCAPA +Require valid-user SetHandler perl-script PerlAuthzHandler Apache::lonacc PerlHandler Apache::restrictedaccess +ErrorDocument 500 /adm/errorhandler @@ -509,6 +523,7 @@ PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonlogout ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler @@ -518,6 +533,7 @@ PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::switchserver ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler @@ -1067,7 +1083,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 @@ -1108,6 +1124,7 @@ PerlAccessHandler Apache::publicche PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonhelp +ErrorDocument 500 /adm/errorhandler @@ -1116,6 +1133,7 @@ Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonhelpmenu +ErrorDocument 500 /adm/errorhandler @@ -1124,16 +1142,31 @@ Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonsupportreq +ErrorDocument 500 /adm/errorhandler SetHandler perl-script PerlHandler Apache::lonsupportreq +ErrorDocument 500 /adm/errorhandler SetHandler perl-script 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 @@ -1218,6 +1251,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 @@ -1233,7 +1286,18 @@ allow from all AllowOverride None -Options ExecCGI +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