--- loncom/loncapa_apache.conf 2003/04/18 20:44:07 1.46 +++ loncom/loncapa_apache.conf 2003/08/25 17:20:09 1.60 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.46 2003/04/18 20:44:07 www Exp $ +## $Id: loncapa_apache.conf,v 1.60 2003/08/25 17:20:09 albertel Exp $ ## # @@ -19,7 +19,9 @@ Group www # ======================================================= Shared Object Modules LoadModule perl_module modules/libperl.so + AddModule mod_perl.c + # =============================================================== Miscellaneous @@ -38,6 +40,9 @@ ScriptAlias /cgi-bin/ "/home/httpd/cgi-b # ------------------------------------------------------------- Access Handlers PerlTransHandler Apache::lontrans + +PerlCleanupHandler Apache::lonnet::cleanenv + #PerlWarn On @@ -51,6 +56,7 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lontokacc +PerlCleanupHandler Apache::lontokacc::removefile @@ -72,6 +78,7 @@ PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonaboutme ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler @@ -80,6 +87,7 @@ PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonsimplepage ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler @@ -88,6 +96,16 @@ 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 @@ -189,7 +207,7 @@ SetHandler perl-script PerlHandler Apache::lonrights - + SetHandler perl-script PerlHandler Apache::lonxml @@ -518,7 +536,7 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lonacc SetHandler perl-script -PerlCleanupHandler Apache::coursedocs::untiehash +PerlCleanupHandler Apache::londocs::untiehash PerlHandler Apache::londocs ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler @@ -744,6 +762,7 @@ Options Indexes FollowSymLinks # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************ # ====================================== Internal Settings / Perl Configuration +PerlSetVar lonVersion '' PerlSetVar lonIDsDir /home/httpd/lonIDs PerlSetVar lonTabDir /home/httpd/lonTabs PerlSetVar lonUsersDir /home/httpd/lonUsers @@ -781,4 +800,6 @@ Include conf/loncapa.conf # ================================================== Initiate mod_perl starting PerlRequire conf/startup.pl + PerlFreshRestart On +