--- loncom/loncapa_apache.conf 2004/05/27 09:28:38 1.79 +++ loncom/loncapa_apache.conf 2004/06/29 10:28:16 1.86 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.79 2004/05/27 09:28:38 foxr Exp $ +## $Id: loncapa_apache.conf,v 1.86 2004/06/29 10:28:16 foxr Exp $ ## # @@ -60,9 +60,24 @@ ErrorDocument 500 /adm/errorhandler PerlAccessHandler Apache::lonenc ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::portfolio + + + +SetHandler perl-script +PerlHandler Apache::portfolio + + + + PerlAccessHandler Apache::lontokacc PerlCleanupHandler Apache::lontokacc::removefile @@ -71,7 +86,9 @@ PerlCleanupHandler Apache::lontokacc::re PerlAccessHandler Apache::lonacc PerlHeaderParserHandler Apache::lonuploadrep +ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler @@ -237,6 +254,7 @@ PerlHandler Apache::lonrights SetHandler perl-script +PerlHandler Apache::londatecheck PerlHandler Apache::lonxml @@ -253,6 +271,16 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonsource +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + + PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -907,6 +935,8 @@ PerlSetVar lonSqlAccess localhos PerlSetVar lonhttpdPort 8080 +#---------------------------------------------------------------------------- +# # Parameters used by secure lond/lonc # @@ -918,7 +948,7 @@ PerlSetVar lonhttpdPort 8080 # # The definition below is the full path to the directory that # contains the certificate and key files: -# + PerlSetVar lonCertificateDirectory /home/httpd/lonCerts # @@ -950,6 +980,25 @@ PerlSetVar lonnetPrivateKey lonK # Did we mention that the file described above must have # permissions really locked down so that it can't be stolen? +#------------------------------------------------------------------------- + +# Parameters that define where all the ssl stuff is that's needed +# to generate certificate requests and, on a system that's a CA +# the certificate authority. +# +# SSLProgram -> Path to the openssl command +# SSLDirectory -> Directory containing ssl configuration files etc. +# SSLCAConfig -> Name of the SSL config file for the certificate +# Authority. +# 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 + +#------------------------------------------------------------------------- +