--- loncom/loncapa_apache.conf 2003/02/18 18:53:43 1.35 +++ loncom/loncapa_apache.conf 2003/07/17 15:50:46 1.57 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.35 2003/02/18 18:53:43 www Exp $ +## $Id: loncapa_apache.conf,v 1.57 2003/07/17 15:50:46 www Exp $ ## # @@ -19,13 +19,14 @@ Group www # ======================================================= Shared Object Modules LoadModule perl_module modules/libperl.so + AddModule mod_perl.c + # =============================================================== Miscellaneous ServerAdmin korte@lite.msu.edu ExtendedStatus On - # # LON-CAPA Section (extensions to srm.conf name space servicing) # @@ -40,6 +41,7 @@ ScriptAlias /cgi-bin/ "/home/httpd/cgi-b PerlTransHandler Apache::lontrans +#PerlWarn On PerlAccessHandler Apache::lonacc PerlHeaderParserHandler Apache::lonrep @@ -59,7 +61,7 @@ ErrorDocument 404 /adm/notfound.html ErrorDocument 500 /adm/errorhandler - + PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonsyllabus @@ -67,27 +69,39 @@ ErrorDocument 404 /adm/notfound.html ErrorDocument 500 /adm/errorhandler - + PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonaboutme ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler - + PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonsimplepage ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler - + PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonbulletin ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/notinit.html +ErrorDocument 500 /adm/errorhandler + + + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonsimpleproblemedit +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler @@ -114,6 +128,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 @@ -169,12 +193,17 @@ SetHandler perl-script PerlHandler Apache::lonsequence - + SetHandler perl-script PerlHandler Apache::lonmeta - + +SetHandler perl-script +PerlHandler Apache::lonrights + + + SetHandler perl-script PerlHandler Apache::lonxml @@ -227,6 +256,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 +272,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 @@ -458,6 +503,15 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonmanagekeys +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -478,6 +532,7 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lonacc SetHandler perl-script +PerlCleanupHandler Apache::londocs::untiehash PerlHandler Apache::londocs ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler @@ -553,7 +608,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 @@ -596,6 +650,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 @@ -709,7 +770,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". @@ -720,6 +782,10 @@ PerlSetVar lonTextBrowsers opera:w 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 @@ -729,4 +795,6 @@ Include conf/loncapa.conf # ================================================== Initiate mod_perl starting PerlRequire conf/startup.pl + PerlFreshRestart On +