--- loncom/loncapa_apache.conf 2006/06/26 20:23:28 1.142 +++ loncom/loncapa_apache.conf 2007/03/28 00:12:48 1.165 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.142 2006/06/26 20:23:28 albertel Exp $ +## $Id: loncapa_apache.conf,v 1.165 2007/03/28 00:12:48 albertel Exp $ ## # @@ -120,7 +120,9 @@ ErrorDocument 500 /adm/errorhandler -PerlAuthzHandler Apache::lonuploadedacc +PerlAuthenHandler Apache::lonuploadedacc +PerlAuthzHandler Apache::lonuploadedacc::skip_phase +PerlAccessHandler Apache::lonuploadedacc::skip_phase @@ -180,26 +182,27 @@ 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::lonsimplepage +PerlHandler Apache::lonaboutme ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler - + AuthType LONCAPA Require valid-user -PerlAuthzHandler Apache::lonacc +PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonsimplepage ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/notinit.html -ErrorDocument 500 /adm/errorhandler +ErrorDocument 500 /adm/errorhandler @@ -249,13 +252,11 @@ ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler -AllowOverride None AuthType LONCAPA Require valid-user -PerlAccessHandler Apache::publiccheck PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonhelper @@ -505,6 +506,26 @@ SetHandler perl-script PerlHandler Apache::lonlogin + +PerlAccessHandler Apache::publiccheck +AuthType LONCAPA +Require valid-user +SetHandler perl-script +PerlAuthzHandler Apache::lonacc +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 @@ -512,6 +533,7 @@ PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonlogout ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler @@ -521,6 +543,7 @@ PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::switchserver ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler @@ -674,6 +697,17 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::domainprefs +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -885,6 +919,28 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::groupboards +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::grouproster +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -1048,7 +1104,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 @@ -1085,9 +1141,11 @@ PerlHandler Apache::lonerrorhandler AuthType LONCAPA Require valid-user +PerlAccessHandler Apache::publiccheck PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonhelp +ErrorDocument 500 /adm/errorhandler @@ -1096,6 +1154,7 @@ Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonhelpmenu +ErrorDocument 500 /adm/errorhandler @@ -1104,16 +1163,37 @@ 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 + + + +SetHandler perl-script +PerlHandler Apache::londns +ErrorDocument 500 /adm/errorhandler # ------------------------------------------------- Backdoor Adm Tests/Programs @@ -1198,6 +1278,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 @@ -1213,7 +1313,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 @@ -1256,6 +1367,7 @@ PerlSetVar londPort 5663 PerlSetVar lonSysEMail korte@lite.msu.edu PerlSetVar lonDaemons /home/httpd/perl PerlSetVar lonSockDir /home/httpd/sockets +PerlSetVar lonSockCreate /home/httpd/sockets/common PerlSetVar lonDocRoot /home/httpd/html PerlSetVar lonPrtDir /home/httpd/prtspool PerlSetVar lonIncludes /home/httpd/html/res/adm/includes