--- loncom/loncapa_apache.conf 2003/04/29 22:00:31 1.47 +++ loncom/loncapa_apache.conf 2003/09/16 18:29:23 1.59.2.2 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.47 2003/04/29 22:00:31 albertel Exp $ +## $Id: loncapa_apache.conf,v 1.59.2.2 2003/09/16 18:29:23 albertel Exp $ ## # @@ -18,7 +18,7 @@ Group www # ======================================================= Shared Object Modules -LoadModule perl_module modules/mod_perl.so +LoadModule perl_module modules/libperl.so AddModule mod_perl.c @@ -53,6 +53,7 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lontokacc +PerlCleanupHandler Apache::lontokacc::removefile @@ -74,6 +75,7 @@ PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonaboutme ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler @@ -82,6 +84,7 @@ PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonsimplepage ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler @@ -90,6 +93,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 @@ -160,43 +173,43 @@ ErrorDocument 500 /adm/errorhandler # --------------------------------------------- Resource Space Content Handlers - + SetHandler perl-script PerlHandler Apache::lonindexer PerlCleanupHandler Apache::lonindexer::cleanup - + SetHandler perl-script PerlHandler Apache::lontex - + SetHandler perl-script PerlHandler Apache::lonpage - + SetHandler perl-script PerlHandler Apache::lonsequence - + SetHandler perl-script PerlHandler Apache::lonmeta - + SetHandler perl-script PerlHandler Apache::lonrights - + SetHandler perl-script PerlHandler Apache::lonxml - + SetHandler perl-script PerlHandler Apache::lonhomework @@ -383,7 +396,7 @@ ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler - + PerlAccessHandler Apache::loncacc SetHandler perl-script PerlHandler Apache::lonpubdir @@ -520,7 +533,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 @@ -746,6 +759,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 @@ -780,6 +794,10 @@ PerlSetVar lonhttpdPort 8080 Include conf/loncapa.conf +# ================================================= Include local configuration + +Include conf/loncapa_apache_local*.conf + # ================================================== Initiate mod_perl starting PerlRequire conf/startup.pl