--- loncom/loncapa_apache.conf 2004/06/29 10:28:16 1.86 +++ loncom/loncapa_apache.conf 2004/09/15 20:08:34 1.95 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.86 2004/06/29 10:28:16 foxr Exp $ +## $Id: loncapa_apache.conf,v 1.95 2004/09/15 20:08:34 albertel Exp $ ## # @@ -43,9 +43,7 @@ ScriptAlias /cgi-bin/ "/home/httpd/cgi-b # ------------------------------------------------------------- Access Handlers PerlTransHandler Apache::lontrans - -PerlCleanupHandler Apache::lonnet::cleanenv - +PerlCleanupHandler Apache::lonnet::save_cache #PerlWarn On @@ -131,6 +129,7 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lonacc SetHandler perl-script +PerlHandler Apache::londatecheck PerlHandler Apache::lonbulletin ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/notinit.html @@ -316,6 +315,15 @@ ErrorDocument 413 /adm/overloaded.tx ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lontrackstudent +ErrorDocument 403 /adm/login +ErrorDocument 413 /adm/overloaded.txt +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -389,6 +397,14 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonspeller +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -616,6 +632,15 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonviewclasslist +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -772,6 +797,18 @@ SetHandler perl-script PerlHandler Apache::lonhelp + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonhelpmenu + + + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonsupportreq + + # ------------------------------------------------- Backdoor Adm Tests/Programs @@ -932,7 +969,7 @@ PerlSetVar lonSqlAccess localhos # ----------------------------------------------------------------------------- # lonttpdPort is the port used by the lightweight graphics httpd server # not the main Apache server -PerlSetVar lonhttpdPort 8080 +PerlSetVar lonhttpdPort 80 #---------------------------------------------------------------------------- @@ -990,12 +1027,17 @@ PerlSetVar lonnetPrivateKey lonK # SSLDirectory -> Directory containing ssl configuration files etc. # SSLCAConfig -> Name of the SSL config file for the certificate # Authority. +# SSLCAFile -> Full path to the Certificate authority file +# (on the cert manager system). +# SSLEmail -> E-mail address of loncapa certificate manager. # The following are good for the loncapa redhat installs and # the loncapa certificate authority system: # PerlSetVar SSLProgram /usr/bin/openssl PerlSetVar SSLDirectory /usr/share/ssl PerlSetVar SSLCAConfig loncapaca +PerlSetVar SSLCAFile /usr/share/ssl/loncapaca/cacert.pem +PerlSetVar SSLEmail certificate@lon-capa.org #-------------------------------------------------------------------------