--- loncom/loncapa_apache.conf 2004/05/31 20:24:11 1.81 +++ 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.81 2004/05/31 20:24:11 albertel Exp $ +## $Id: loncapa_apache.conf,v 1.86 2004/06/29 10:28:16 foxr Exp $ ## # @@ -65,6 +65,19 @@ 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 @@ -258,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 @@ -912,6 +935,8 @@ PerlSetVar lonSqlAccess localhos PerlSetVar lonhttpdPort 8080 +#---------------------------------------------------------------------------- +# # Parameters used by secure lond/lonc # @@ -923,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 # @@ -955,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 + +#------------------------------------------------------------------------- +