--- loncom/loncapa_apache.conf 2003/01/06 13:54:25 1.28 +++ loncom/loncapa_apache.conf 2003/03/26 04:57:04 1.40 @@ -1,13 +1,8 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.28 2003/01/06 13:54:25 www Exp $ +## $Id: loncapa_apache.conf,v 1.40 2003/03/26 04:57:04 www Exp $ ## -## 1/11/2002 - Scott Harrison -## 2/19/2002 - Scott Harrison -## 2/28/2002 - Scott Harrison -## 3/2/2002 - Scott Harrison -## 5/12/2002 - Scott Harrison # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -156,6 +151,7 @@ ErrorDocument 500 /adm/errorhandler SetHandler perl-script PerlHandler Apache::lonindexer +PerlCleanupHandler Apache::lonindexer::cleanup @@ -178,6 +174,11 @@ SetHandler perl-script PerlHandler Apache::lonmeta + +SetHandler perl-script +PerlHandler Apache::lonrights + + SetHandler perl-script PerlHandler Apache::lonxml @@ -223,6 +224,14 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonmenu +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -231,6 +240,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 @@ -268,6 +285,7 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonpageflip +PerlCleanupHandler Apache::lonpageflip::cleanup ErrorDocument 406 /adm/roles ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler @@ -277,6 +295,7 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonambiguous +PerlCleanupHandler Apache::lonambiguous::cleanup ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler @@ -298,6 +317,15 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonwizard +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -463,6 +491,7 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lonacc SetHandler perl-script +PerlCleanupHandler Apache::coursedocs::untiehash PerlHandler Apache::londocs ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler @@ -538,6 +567,7 @@ 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 @@ -556,6 +586,7 @@ 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 @@ -579,6 +610,13 @@ AuthUserFile /home/httpd/lonTabs/htpassw require user lonadm + +AuthName "LON-CAPA Network Administration" +AuthType Basic +AuthUserFile /home/httpd/lonTabs/htpasswd +require user lonadm + + AuthName "LON-CAPA Network Administration" AuthType Basic @@ -691,6 +729,7 @@ PerlSetVar lonSockDir /home/http PerlSetVar lonDocRoot /home/httpd/html 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 # ----------------------------------------------------------------------------- # NOTE: lonSqlAccess key is the password for the MySQL user @@ -702,6 +741,10 @@ PerlSetVar lonBrowsDet netscape:m PerlSetVar lonSqlAccess localhostkey # ----------------------------------------------------------------------------- +# lonttpdPort is the port used by the lightweight graphics httpd server +# not the main Apache server +PerlSetVar lonhttpdPort 8080 + # ====================================== Include machine-specific configuration