--- loncom/loncapa_apache.conf 2003/04/03 14:35:59 1.43 +++ 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.43 2003/04/03 14:35:59 albertel Exp $ +## $Id: loncapa_apache.conf,v 1.59.2.2 2003/09/16 18:29:23 albertel Exp $ ## # @@ -19,7 +19,9 @@ Group www # ======================================================= Shared Object Modules LoadModule perl_module modules/libperl.so + AddModule mod_perl.c + # =============================================================== Miscellaneous @@ -39,6 +41,7 @@ ScriptAlias /cgi-bin/ "/home/httpd/cgi-b PerlTransHandler Apache::lontrans +#PerlWarn On PerlAccessHandler Apache::lonacc PerlHeaderParserHandler Apache::lonrep @@ -50,6 +53,7 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lontokacc +PerlCleanupHandler Apache::lontokacc::removefile @@ -58,7 +62,7 @@ ErrorDocument 404 /adm/notfound.html ErrorDocument 500 /adm/errorhandler - + PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonsyllabus @@ -66,27 +70,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 @@ -157,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 @@ -380,7 +396,7 @@ ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler - + PerlAccessHandler Apache::loncacc SetHandler perl-script PerlHandler Apache::lonpubdir @@ -488,6 +504,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 @@ -508,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 @@ -734,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 @@ -768,7 +794,13 @@ PerlSetVar lonhttpdPort 8080 Include conf/loncapa.conf +# ================================================= Include local configuration + +Include conf/loncapa_apache_local*.conf + # ================================================== Initiate mod_perl starting PerlRequire conf/startup.pl + PerlFreshRestart On +