--- loncom/loncapa_apache.conf 2002/07/05 16:12:31 1.7 +++ loncom/loncapa_apache.conf 2002/07/31 15:23:55 1.11 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.7 2002/07/05 16:12:31 bowersj2 Exp $ +## $Id: loncapa_apache.conf,v 1.11 2002/07/31 15:23:55 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,6 +37,7 @@ ExtendedStatus On # ===================================================================== Aliases Alias /prtspool/ /home/httpd/prtspool/ +ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/" # ================================================================= Directories @@ -51,6 +52,12 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lontokacc +ErrorDocument 404 /adm/notfound.html +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::loncacc SetHandler perl-script @@ -121,7 +128,7 @@ SetHandler perl-script PerlHandler Apache::lonsequence - + SetHandler perl-script PerlHandler Apache::lonmeta @@ -353,15 +360,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 +385,30 @@ 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 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -582,7 +604,7 @@ PerlSetVar lonSqlAccess localhos # ----------------------------------------------------------------------------- -# ================================================== Initiate mod_perl starting +# ====================================== Include machine-specific configuration Include conf/loncapa.conf