--- loncom/loncapa_apache.conf 2003/03/08 01:44:04 1.38 +++ loncom/loncapa_apache.conf 2003/04/03 14:35:59 1.43 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.38 2003/03/08 01:44:04 www Exp $ +## $Id: loncapa_apache.conf,v 1.43 2003/04/03 14:35:59 albertel Exp $ ## # @@ -25,7 +25,6 @@ AddModule mod_perl.c ServerAdmin korte@lite.msu.edu ExtendedStatus On - # # LON-CAPA Section (extensions to srm.conf name space servicing) # @@ -114,6 +113,16 @@ ErrorDocument 500 /adm/errorhandler AllowOverride None + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonhelper +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc ErrorDocument 403 /adm/login @@ -174,6 +183,11 @@ SetHandler perl-script PerlHandler Apache::lonmeta + +SetHandler perl-script +PerlHandler Apache::lonrights + + SetHandler perl-script PerlHandler Apache::lonxml @@ -227,6 +241,14 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonremote +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -235,6 +257,14 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonpickcourse +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + SetHandler perl-script PerlHandler Apache::lonlogin @@ -554,7 +584,6 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonnavmaps -PerlCleanupHandler Apache::lonnavmaps::cleanup ErrorDocument 403 /adm/login ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler @@ -717,7 +746,8 @@ PerlSetVar lonDocRoot /home/http PerlSetVar lonIncludes /home/httpd/html/res/adm/includes 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 PerlSetVar lonTextBrowsers opera:windows\s+ce:lynx - +PerlSetVar lonScansDir /home/httpd/scantron +PerlSetVar lonScriptTimeout 10 # ----------------------------------------------------------------------------- # NOTE: lonSqlAccess key is the password for the MySQL user # www@localhost. This value must always be "localhostkey".