version 1.76, 2004/04/01 14:28:49
|
version 1.86, 2004/06/29 10:28:16
|
Line 60 ErrorDocument 500 /adm/errorhandler
|
Line 60 ErrorDocument 500 /adm/errorhandler
|
<LocationMatch "^/+enc.*"> |
<LocationMatch "^/+enc.*"> |
PerlAccessHandler Apache::lonenc |
PerlAccessHandler Apache::lonenc |
ErrorDocument 403 /adm/login |
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/roles |
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</LocationMatch> |
</LocationMatch> |
|
|
|
<Location /adm/portfolio> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::portfolio |
|
</Location> |
|
|
|
<LocationMatch "\.portfolio$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::portfolio |
|
</LocationMatch> |
|
|
|
|
|
|
<LocationMatch "^/+userfiles.*"> |
<LocationMatch "^/+userfiles.*"> |
PerlAccessHandler Apache::lontokacc |
PerlAccessHandler Apache::lontokacc |
PerlCleanupHandler Apache::lontokacc::removefile |
PerlCleanupHandler Apache::lontokacc::removefile |
Line 71 PerlCleanupHandler Apache::lontokacc::re
|
Line 86 PerlCleanupHandler Apache::lontokacc::re
|
<LocationMatch "^/+uploaded.*"> |
<LocationMatch "^/+uploaded.*"> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
PerlHeaderParserHandler Apache::lonuploadrep |
PerlHeaderParserHandler Apache::lonuploadrep |
|
ErrorDocument 403 /adm/login |
ErrorDocument 404 /adm/notfound.html |
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/roles |
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</LocationMatch> |
</LocationMatch> |
|
|
Line 235 SetHandler perl-script
|
Line 252 SetHandler perl-script
|
PerlHandler Apache::lonrights |
PerlHandler Apache::lonrights |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/+(res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$"> |
<LocationMatch "^/+(uploaded|res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$"> |
SetHandler perl-script |
SetHandler perl-script |
|
PerlHandler Apache::londatecheck |
PerlHandler Apache::lonxml |
PerlHandler Apache::lonxml |
</LocationMatch> |
</LocationMatch> |
|
|
Line 253 ErrorDocument 403 /adm/login
|
Line 271 ErrorDocument 403 /adm/login
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</LocationMatch> |
</LocationMatch> |
|
|
|
<LocationMatch "^/adm/source/"> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonsource |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</LocationMatch> |
|
|
|
|
<LocationMatch "^/adm/localize/"> |
<LocationMatch "^/adm/localize/"> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
Line 328 ErrorDocument 403 /adm/login
|
Line 356 ErrorDocument 403 /adm/login
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<Location /adm/pickcode> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonpickcode |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/login> |
<Location /adm/login> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonlogin |
PerlHandler Apache::lonlogin |
Line 899 PerlSetVar lonSqlAccess localhos
|
Line 935 PerlSetVar lonSqlAccess localhos
|
PerlSetVar lonhttpdPort 8080 |
PerlSetVar lonhttpdPort 8080 |
|
|
|
|
|
#---------------------------------------------------------------------------- |
|
# |
|
# Parameters used by secure lond/lonc |
|
|
|
# |
|
# Secure lond/lonc require ssl certificate and private |
|
# key files to function correctly. The certificate |
|
# files need not be terribly secure, but the private key files |
|
# should be set up so that only www (the lonc/lond effective user) |
|
# can read them. |
|
# |
|
# The definition below is the full path to the directory that |
|
# contains the certificate and key files: |
|
|
|
PerlSetVar lonCertificateDirectory /home/httpd/lonCerts |
|
|
|
# |
|
# Secure lond/lonc require two certificates and a private host key. |
|
# The certificates required are that of the lonCAPA certificate authority |
|
# and the certificate that authority issued to this host. |
|
# lonnetCertificateAuthority is the name of the file that contains the |
|
# lonCAPA certificate authority's certificate. |
|
# lonnetCertificate is the name of the file that contains the certificate |
|
# issued to the host by the certificate authority. |
|
# Both of these variables are names of files assumed to be in |
|
# lonCertificateDirectory: |
|
|
|
PerlSetVar lonnetCertificateAuthority loncapaCA.pem |
|
PerlSetVar lonnetCertificate lonhostcert.pem |
|
|
|
# |
|
# To generate the request for a certificate, and to negotiate the |
|
# initial ssl connection, the host requires a private key. This key |
|
# is created at lonCAPA install time. Did we mention above that it |
|
# should be set so that only www can read it? The variale below |
|
# is the name of the file relative to lonnetCertificateDirectory |
|
# that has the host's private key. Did we remember to tell you to |
|
# keep the permissions on that file set to rw------- (0600)? |
|
# |
|
|
|
PerlSetVar lonnetPrivateKey lonKey.pem |
|
|
|
# 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 |
|
|
|
#------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
# ====================================== Include machine-specific configuration |
# ====================================== Include machine-specific configuration |
|
|