--- loncom/loncapa_apache.conf 2006/04/07 22:09:10 1.126 +++ loncom/loncapa_apache.conf 2007/04/26 00:59:32 1.167 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.126 2006/04/07 22:09:10 albertel Exp $ +## $Id: loncapa_apache.conf,v 1.167 2007/04/26 00:59:32 banghart Exp $ ## # @@ -35,6 +35,7 @@ ExtendedStatus On # # ===================================================================== Aliases +Alias /zipspool/ /home/httpd/zipspool/ Alias /prtspool/ /home/httpd/prtspool/ ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/" @@ -43,16 +44,15 @@ ScriptAlias /cgi-bin/ "/home/httpd/cgi-b # ------------------------------------------------------------- Access Handlers PerlTransHandler Apache::lontrans -PerlCleanupHandler Apache::lonnet::save_cache +PerlCleanupHandler Apache::lonacc::cleanup PerlAuthenHandler Apache::checkauthen PerlSetVar lonOtherAuthen no #PerlWarn On -#AuthName "LON-CAPA Auth" -AuthType Basic +AuthType LONCAPA Require valid-user PerlAccessHandler Apache::publiccheck @@ -71,7 +71,7 @@ ErrorDocument 500 /adm/errorhandler SetHandler perl-script -PerlHandler Apache::lonenc +PerlHandler Apache::lonencurl ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/roles @@ -79,7 +79,15 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::portfolio + + + +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -89,11 +97,11 @@ PerlHandler Apache::portfolio PerlAccessHandler Apache::lontokacc PerlCleanupHandler Apache::lontokacc::removefile -PerlCleanupHandler Apache::lonnet::save_cache +PerlCleanupHandler Apache::lonacc::cleanup -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc PerlHeaderParserHandler Apache::lonuploadrep @@ -104,7 +112,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc ErrorDocument 403 /adm/login @@ -113,9 +121,24 @@ ErrorDocument 500 /adm/errorhandler -PerlAccessHandler Apache::lonuploadedacc +PerlAuthenHandler Apache::lonuploadedacc +PerlAuthzHandler Apache::lonuploadedacc::skip_phase +PerlAccessHandler Apache::lonuploadedacc::skip_phase + + + +PerlAccessHandler Apache::publiccheck +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc + +PerlAccessHandler Apache::publiccheck +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc + SetHandler perl-script @@ -128,7 +151,8 @@ PerlHandler Apache::lonsequence -AuthType Basic +PerlAccessHandler Apache::publiccheck +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -138,7 +162,8 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +PerlAccessHandler Apache::publiccheck +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -148,7 +173,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -158,30 +183,31 @@ ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler - -AuthType Basic + +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 Basic + +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 -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -193,7 +219,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -204,6 +230,8 @@ ErrorDocument 500 /adm/errorhandler +AuthType LONCAPA +Require valid-user PerlAuthzHandler Apache::loncacc SetHandler perl-script PerlHandler Apache::lonconstruct @@ -218,18 +246,19 @@ PerlAccessHandler Apache::lonracc +AuthType LONCAPA +Require valid-user PerlAuthzHandler Apache::loncacc ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler -AllowOverride None -AuthType Basic +AuthType LONCAPA Require valid-user -PerlAuthzHandler Apache::lonacc +PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonhelper ErrorDocument 403 /adm/login @@ -239,7 +268,18 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/roles +ErrorDocument 413 /adm/overloaded.txt +ErrorDocument 500 /adm/errorhandler + + + +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc ErrorDocument 403 /adm/login @@ -271,7 +311,7 @@ PerlHandler Apache::lonratmenu -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -286,7 +326,7 @@ ErrorDocument 500 /adm/errorhandler SetHandler perl-script PerlHandler Apache::lonindexer PerlCleanupHandler Apache::lonindexer::cleanup -PerlCleanupHandler Apache::lonnet::save_cache +PerlCleanupHandler Apache::lonacc::cleanup @@ -305,13 +345,14 @@ PerlHandler Apache::lonsequence +PerlAccessHandler Apache::publiccheck SetHandler perl-script PerlHandler Apache::lonmeta ErrorDocument 413 /adm/overloaded.txt -AuthType Basic +AuthType LONCAPA Require valid-user SetHandler perl-script PerlAuthzHandler Apache::lonacc @@ -337,7 +378,7 @@ PerlHandler Apache::lonhomework -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -347,7 +388,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -359,7 +400,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -371,7 +412,7 @@ ErrorDocument 500 /adm/errorhandler # -------------------------------------------------------------- Admin Programs -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -381,7 +422,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -391,7 +432,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -402,7 +443,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -413,7 +454,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -423,17 +464,17 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script -PerlHandler Apache::lonmenu +PerlHandler Apache::lonmainmenu ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -443,7 +484,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -453,7 +494,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -463,7 +504,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -477,22 +518,44 @@ 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 Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonlogout ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::switchserver ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler @@ -506,7 +569,7 @@ PerlHandler Apache::migrateuser -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -516,7 +579,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -526,7 +589,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -536,42 +599,42 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonpageflip PerlCleanupHandler Apache::lonpageflip::cleanup -PerlCleanupHandler Apache::lonnet::save_cache +PerlCleanupHandler Apache::lonacc::cleanup ErrorDocument 406 /adm/roles ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonambiguous PerlCleanupHandler Apache::lonambiguous::cleanup -PerlCleanupHandler Apache::lonnet::save_cache +PerlCleanupHandler Apache::lonacc::cleanup ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script -PerlHandler Apache::lonmsg +PerlHandler Apache::lonmsgdisplay ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -581,7 +644,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -592,7 +655,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -603,7 +666,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -614,7 +677,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -625,7 +688,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -636,7 +699,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -646,8 +709,19 @@ 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 Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -658,7 +732,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -670,6 +744,8 @@ ErrorDocument 500 /adm/errorhandler +AuthType LONCAPA +Require valid-user PerlAuthzHandler Apache::loncacc SetHandler perl-script PerlHandler Apache::lonpubdir @@ -680,7 +756,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -692,7 +768,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -703,7 +779,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -715,7 +791,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -727,7 +803,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -739,7 +815,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -751,7 +827,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -763,7 +839,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -775,7 +851,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -787,7 +863,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -799,7 +875,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -811,7 +887,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -823,7 +899,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -834,7 +910,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -845,7 +921,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -855,8 +931,30 @@ 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 Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -867,7 +965,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -878,7 +976,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -889,7 +987,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -900,7 +998,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -910,19 +1008,19 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::londocs PerlCleanupHandler Apache::londocs::untiehash -PerlCleanupHandler Apache::lonnet::save_cache +PerlCleanupHandler Apache::lonacc::cleanup ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -931,18 +1029,18 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler - -AuthType Basic + +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonannounce ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler - + -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -951,7 +1049,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -960,8 +1058,18 @@ ErrorDocument 413 /adm/overloaded.tx ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::longroupchat +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -971,7 +1079,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -981,7 +1089,7 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -991,31 +1099,31 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonsearchcat PerlCleanupHandler Apache::lonsearchcat::cleanup -PerlCleanupHandler Apache::lonnet::save_cache +PerlCleanupHandler Apache::lonacc::cleanup ErrorDocument 403 /adm/login ErrorDocument 413 /adm/overloaded.txt ErrorDocument 500 /adm/errorhandler -AuthType Basic +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 -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script @@ -1026,13 +1134,13 @@ ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::groupsort PerlCleanupHandler Apache::groupsort::cleanup -PerlCleanupHandler Apache::lonnet::save_cache +PerlCleanupHandler Apache::lonacc::cleanup ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler @@ -1043,32 +1151,61 @@ PerlHandler Apache::lonerrorhandler -AuthType Basic +AuthType LONCAPA Require valid-user +PerlAccessHandler Apache::publiccheck PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonhelp +ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonhelpmenu +ErrorDocument 500 /adm/errorhandler -AuthType Basic +AuthType LONCAPA 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 @@ -1141,7 +1278,7 @@ PerlHandler Apache::lontest # ------------------------------------------------------- Shutting down a child -PerlChildExitHandler Apache::lonnet::goodbye +PerlChildExitHandler Apache::lonacc::goodbye # # LON-CAPA Section (extensions to access.conf permission configuration) @@ -1153,6 +1290,26 @@ PerlChildExitHandler Apache::lonnet::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 @@ -1168,7 +1325,27 @@ 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 + + +# Allow serving of files in zipspool + + +Options Includes FollowSymLinks +AllowOverride None +order allow,deny +allow from all # ============================================================= Access Handlers @@ -1211,10 +1388,13 @@ 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 -# & sepeareted list of : seperated fileds inorder of +PerlSetVar lonZipDir /home/httpd/zipspool + +# & separated list of : separated fields in order of # - internal name to call it, # - regexp that it should match (done case-insensitively) # - regexp that is should not match (done case-insensitively)