version 1.79, 2004/05/27 09:28:38
|
version 1.95, 2004/09/15 20:08:34
|
Line 43 ScriptAlias /cgi-bin/ "/home/httpd/cgi-b
|
Line 43 ScriptAlias /cgi-bin/ "/home/httpd/cgi-b
|
# ------------------------------------------------------------- Access Handlers |
# ------------------------------------------------------------- Access Handlers |
|
|
PerlTransHandler Apache::lontrans |
PerlTransHandler Apache::lontrans |
<IfDefine MODPERL2> |
PerlCleanupHandler Apache::lonnet::save_cache |
PerlCleanupHandler Apache::lonnet::cleanenv |
|
</IfDefine> |
|
|
|
#PerlWarn On |
#PerlWarn On |
<LocationMatch "^/+res.*"> |
<LocationMatch "^/+res.*"> |
Line 60 ErrorDocument 500 /adm/errorhandler
|
Line 58 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 84 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 114 ErrorDocument 500 /adm/errorhandler
|
Line 129 ErrorDocument 500 /adm/errorhandler
|
<LocationMatch "^/adm/.*/bulletinboard$"> |
<LocationMatch "^/adm/.*/bulletinboard$"> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
|
PerlHandler Apache::londatecheck |
PerlHandler Apache::lonbulletin |
PerlHandler Apache::lonbulletin |
ErrorDocument 404 /adm/notfound.html |
ErrorDocument 404 /adm/notfound.html |
ErrorDocument 406 /adm/notinit.html |
ErrorDocument 406 /adm/notinit.html |
Line 237 PerlHandler Apache::lonrights
|
Line 253 PerlHandler Apache::lonrights
|
|
|
<LocationMatch "^/+(uploaded|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 270 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 288 ErrorDocument 413 /adm/overloaded.tx
|
Line 315 ErrorDocument 413 /adm/overloaded.tx
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<Location /adm/trackstudent> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lontrackstudent |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 413 /adm/overloaded.txt |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/roles> |
<Location /adm/roles> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
Line 361 ErrorDocument 403 /adm/login
|
Line 397 ErrorDocument 403 /adm/login
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<Location /adm/spellcheck> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonspeller |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/bookmarks> |
<Location /adm/bookmarks> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
Line 588 ErrorDocument 406 /adm/roles
|
Line 632 ErrorDocument 406 /adm/roles
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<Location /adm/viewclasslist> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonviewclasslist |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/populate> |
<Location /adm/populate> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
Line 744 SetHandler perl-script
|
Line 797 SetHandler perl-script
|
PerlHandler Apache::lonhelp |
PerlHandler Apache::lonhelp |
</LocationMatch> |
</LocationMatch> |
|
|
|
<LocationMatch "^/adm/helpmenu"> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonhelpmenu |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/adm/support"> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonsupportreq |
|
</LocationMatch> |
|
|
# ------------------------------------------------- Backdoor Adm Tests/Programs |
# ------------------------------------------------- Backdoor Adm Tests/Programs |
|
|
<Location /cgi-bin/loncron.pl> |
<Location /cgi-bin/loncron.pl> |
Line 904 PerlSetVar lonSqlAccess localhos
|
Line 969 PerlSetVar lonSqlAccess localhos
|
# ----------------------------------------------------------------------------- |
# ----------------------------------------------------------------------------- |
# lonttpdPort is the port used by the lightweight graphics httpd server |
# lonttpdPort is the port used by the lightweight graphics httpd server |
# not the main Apache server |
# not the main Apache server |
PerlSetVar lonhttpdPort 8080 |
PerlSetVar lonhttpdPort 80 |
|
|
|
|
|
#---------------------------------------------------------------------------- |
|
# |
# Parameters used by secure lond/lonc |
# Parameters used by secure lond/lonc |
|
|
# |
# |
Line 918 PerlSetVar lonhttpdPort 8080
|
Line 985 PerlSetVar lonhttpdPort 8080
|
# |
# |
# The definition below is the full path to the directory that |
# The definition below is the full path to the directory that |
# contains the certificate and key files: |
# contains the certificate and key files: |
# |
|
PerlSetVar lonCertificateDirectory /home/httpd/lonCerts |
PerlSetVar lonCertificateDirectory /home/httpd/lonCerts |
|
|
# |
# |
Line 950 PerlSetVar lonnetPrivateKey lonK
|
Line 1017 PerlSetVar lonnetPrivateKey lonK
|
# Did we mention that the file described above must have |
# Did we mention that the file described above must have |
# permissions really locked down so that it can't be stolen? |
# 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. |
|
# 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 |
|
|
|
#------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|