--- loncom/loncapa_apache.conf 2002/05/16 00:06:23 1.2 +++ loncom/loncapa_apache.conf 2002/09/10 14:26:13 1.18 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.2 2002/05/16 00:06:23 harris41 Exp $ +## $Id: loncapa_apache.conf,v 1.18 2002/09/10 14:26:13 www Exp $ ## ## 1/11/2002 - Scott Harrison ## 2/19/2002 - Scott Harrison @@ -12,7 +12,7 @@ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) # -# ======================================================================== User +# ================================================================ DocumentRoot DocumentRoot "/home/httpd/html" @@ -37,11 +37,14 @@ ExtendedStatus On # ===================================================================== Aliases Alias /prtspool/ /home/httpd/prtspool/ +ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/" # ================================================================= Directories # ------------------------------------------------------------- Access Handlers +PerlTransHandler Apache::lontrans + PerlAccessHandler Apache::lonacc PerlHeaderParserHandler Apache::lonrep @@ -51,13 +54,39 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lontokacc + + + +PerlAccessHandler Apache::lonuploadedacc +ErrorDocument 404 /adm/notfound.html +ErrorDocument 500 /adm/errorhandler + + + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonsyllabus +ErrorDocument 404 /adm/notfound.html +ErrorDocument 500 /adm/errorhandler + + + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonaboutme +ErrorDocument 404 /adm/notfound.html +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::loncacc SetHandler perl-script PerlHandler Apache::lonconstruct ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler @@ -69,7 +98,7 @@ PerlAccessHandler Apache::lonracc PerlAccessHandler Apache::loncacc ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler AllowOverride None @@ -121,7 +150,7 @@ SetHandler perl-script PerlHandler Apache::lonsequence - + SetHandler perl-script PerlHandler Apache::lonmeta @@ -262,7 +291,7 @@ SetHandler perl-script PerlHandler Apache::lonpublisher ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler @@ -272,7 +301,7 @@ SetHandler perl-script PerlHandler Apache::lonpubdir ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler @@ -282,7 +311,16 @@ SetHandler perl-script PerlHandler Apache::lonpubdir ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 406 /adm/unauthorized +ErrorDocument 500 /adm/errorhandler + + + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonunauthorized +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html ErrorDocument 500 /adm/errorhandler @@ -292,7 +330,7 @@ SetHandler perl-script PerlHandler Apache::lonretrieve ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler @@ -302,7 +340,7 @@ SetHandler perl-script PerlHandler Apache::loncfile ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler @@ -312,7 +350,7 @@ SetHandler perl-script PerlHandler Apache::londiff ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler @@ -322,7 +360,7 @@ SetHandler perl-script PerlHandler Apache::lonupload ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler @@ -353,15 +391,6 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler - -PerlAccessHandler Apache::lonacc -SetHandler perl-script -PerlHandler Apache::lonchart -ErrorDocument 403 /adm/login -ErrorDocument 406 /adm/roles -ErrorDocument 500 /adm/errorhandler - - PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -387,6 +416,36 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::londocs +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonannounce +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonchat +ErrorDocument 500 /adm/errorhandler + + + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonchatfetch +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -450,6 +509,11 @@ SetHandler perl-script PerlHandler Apache::lonerrorhandler + +SetHandler perl-script +PerlHandler Apache::lonhelp + + # ------------------------------------------------- Backdoor Adm Tests/Programs @@ -577,7 +641,7 @@ PerlSetVar lonSqlAccess localhos # ----------------------------------------------------------------------------- -# ================================================== Initiate mod_perl starting +# ====================================== Include machine-specific configuration Include conf/loncapa.conf