--- loncom/loncapa_apache.conf 2002/09/10 14:26:13 1.18 +++ loncom/loncapa_apache.conf 2003/01/09 22:04:28 1.29 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.18 2002/09/10 14:26:13 www Exp $ +## $Id: loncapa_apache.conf,v 1.29 2003/01/09 22:04:28 www Exp $ ## ## 1/11/2002 - Scott Harrison ## 2/19/2002 - Scott Harrison @@ -45,7 +45,7 @@ ScriptAlias /cgi-bin/ "/home/httpd/cgi-b PerlTransHandler Apache::lontrans - + PerlAccessHandler Apache::lonacc PerlHeaderParserHandler Apache::lonrep ErrorDocument 403 /adm/login @@ -54,17 +54,17 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler - + PerlAccessHandler Apache::lontokacc - + PerlAccessHandler Apache::lonuploadedacc ErrorDocument 404 /adm/notfound.html ErrorDocument 500 /adm/errorhandler - + PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonsyllabus @@ -80,7 +80,23 @@ ErrorDocument 404 /adm/notfound.html ErrorDocument 500 /adm/errorhandler - + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonsimplepage +ErrorDocument 404 /adm/notfound.html +ErrorDocument 500 /adm/errorhandler + + + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonbulletin +ErrorDocument 404 /adm/notfound.html +ErrorDocument 500 /adm/errorhandler + + + PerlAccessHandler Apache::loncacc SetHandler perl-script PerlHandler Apache::lonconstruct @@ -90,11 +106,11 @@ ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler - + PerlAccessHandler Apache::lonracc - + PerlAccessHandler Apache::loncacc ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html @@ -103,6 +119,13 @@ ErrorDocument 500 /adm/errorhandler AllowOverride None + +PerlAccessHandler Apache::lonacc +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + # ------------------------------------------------------------------------- RAT @@ -133,6 +156,7 @@ ErrorDocument 500 /adm/errorhandler SetHandler perl-script PerlHandler Apache::lonindexer +PerlCleanupHandler Apache::lonindexer::cleanup @@ -175,11 +199,20 @@ ErrorDocument 500 /adm/errorhandler # -------------------------------------------------------------- Admin Programs + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::randomlylabel +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonstatistics ErrorDocument 403 /adm/login +ErrorDocument 413 /adm/overloaded.txt ErrorDocument 500 /adm/errorhandler @@ -191,6 +224,14 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonpickstudent +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + SetHandler perl-script PerlHandler Apache::lonlogin @@ -370,6 +411,7 @@ SetHandler perl-script PerlHandler Apache::lonspreadsheet ErrorDocument 403 /adm/login ErrorDocument 406 /adm/roles +ErrorDocument 413 /adm/overloaded.txt ErrorDocument 500 /adm/errorhandler @@ -379,6 +421,7 @@ SetHandler perl-script PerlHandler Apache::lonspreadsheet ErrorDocument 403 /adm/login ErrorDocument 406 /adm/roles +ErrorDocument 413 /adm/overloaded.txt ErrorDocument 500 /adm/errorhandler @@ -388,6 +431,7 @@ SetHandler perl-script PerlHandler Apache::lonspreadsheet ErrorDocument 403 /adm/login ErrorDocument 406 /adm/roles +ErrorDocument 413 /adm/overloaded.txt ErrorDocument 500 /adm/errorhandler @@ -405,6 +449,7 @@ PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonprintout ErrorDocument 403 /adm/login +ErrorDocument 413 /adm/overloaded.txt ErrorDocument 500 /adm/errorhandler @@ -443,6 +488,7 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonchatfetch +ErrorDocument 413 /adm/overloaded.txt ErrorDocument 500 /adm/errorhandler @@ -483,7 +529,9 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonsearchcat +PerlCleanupHandler Apache::lonsearchcat::cleanup ErrorDocument 403 /adm/login +ErrorDocument 413 /adm/overloaded.txt ErrorDocument 500 /adm/errorhandler @@ -496,10 +544,20 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonquickgrades +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::groupsort +PerlCleanupHandler Apache::groupsort::cleanup ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler @@ -544,6 +602,13 @@ AuthUserFile /home/httpd/lonTabs/htpassw require user lonadm + +AuthName "harvest" +AuthType Basic +AuthUserFile /home/httpd/lonTabs/htpasswd +require user reaper + + AuthName "LON-CAPA Network Administration" AuthType Basic @@ -627,7 +692,7 @@ PerlSetVar lonDaemons /home/http PerlSetVar lonSockDir /home/httpd/sockets PerlSetVar lonDocRoot /home/httpd/html PerlSetVar lonIncludes /home/httpd/html/res/adm/includes -PerlSetVar lonBrowsDet netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999&amaya:amaya:mozilla:V(\d+\.\d+)\s:1 +PerlSetVar lonBrowsDet netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1 # ----------------------------------------------------------------------------- # NOTE: lonSqlAccess key is the password for the MySQL user