--- loncom/loncapa_apache.conf 2003/04/03 14:35:59 1.43 +++ loncom/loncapa_apache.conf 2003/07/07 07:32:16 1.55 @@ -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.55 2003/07/07 07:32:16 www 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 @@ -58,7 +61,7 @@ ErrorDocument 404 /adm/notfound.html ErrorDocument 500 /adm/errorhandler - + PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonsyllabus @@ -66,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 @@ -178,7 +193,7 @@ SetHandler perl-script PerlHandler Apache::lonsequence - + SetHandler perl-script PerlHandler Apache::lonmeta @@ -488,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 @@ -508,7 +532,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 @@ -771,4 +795,6 @@ Include conf/loncapa.conf # ================================================== Initiate mod_perl starting PerlRequire conf/startup.pl + PerlFreshRestart On +