version 1.4, 2000/08/30 11:11:26
|
version 1.21, 2000/12/06 20:33:52
|
Line 3
|
Line 3
|
## |
## |
## 7/8,7/10,7/14,11/22,01/06,01/20,01/21,5/29,5/31,7/1,7/10,8/22,8/29 |
## 7/8,7/10,7/14,11/22,01/06,01/20,01/21,5/29,5/31,7/1,7/10,8/22,8/29 |
## |
## |
|
## Scott Harrison |
|
## |
|
## 9/21,9/23 |
|
## |
|
## Gerd Kortemeyer |
|
## |
|
## 10/3,10/5,10/12,10/16,10/20,11/2,11/6,11/10,11/20,11/23,11/28,12/06 |
|
## |
## access.conf -- Apache HTTP server configuration file |
## access.conf -- Apache HTTP server configuration file |
## |
## |
|
|
Line 112 Options Indexes FollowSymLinks
|
Line 120 Options Indexes FollowSymLinks
|
|
|
# LON-internal HostID of this machine |
# LON-internal HostID of this machine |
|
|
PerlSetVar lonHostID msul1 |
PerlSetVar lonHostID {[[[[lonHostID]]]]} |
|
|
# Role of this machine: library, access |
# Role of this machine: library, access |
|
|
PerlSetVar lonRole library |
PerlSetVar lonRole {[[[[lonRole]]]]} |
|
|
# Server Administration |
# Server Administration |
|
|
PerlSetVar lonAdmEMail korte@lite.msu.edu |
PerlSetVar lonAdmEMail {[[[[lonAdmEMail]]]]} |
|
|
# Default domain |
# Default domain |
|
|
PerlSetVar lonDefDomain msu |
PerlSetVar lonDefDomain {[[[[lonDefDomain]]]]} |
|
|
# Load Limit ( 100% loadavg ) |
# Load Limit ( 100% loadavg ) |
|
|
PerlSetVar lonLoadLim 2.00 |
PerlSetVar lonLoadLim {[[[[lonLoadLim]]]]} |
|
|
# Expiration for local copies in seconds |
# Expiration for local copies and tokens in seconds |
|
|
PerlSetVar lonExpire 86400 |
PerlSetVar lonExpire {[[[[lonExpire]]]]} |
|
|
|
# Key to issue receipts |
|
|
|
PerlSetVar lonReceipt {[[[[lonReceipt]]]]} |
|
|
# ----------------------------------------------------------- Internal Settings |
# ----------------------------------------------------------- Internal Settings |
|
|
Line 165 ErrorDocument 404 /adm/notfound.html
|
Line 177 ErrorDocument 404 /adm/notfound.html
|
ErrorDocument 406 /adm/roles |
ErrorDocument 406 /adm/roles |
</LocationMatch> |
</LocationMatch> |
|
|
|
<LocationMatch "^/priv.*"> |
|
PerlAccessHandler Apache::loncacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonconstruct |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/unauthorized.html |
|
</LocationMatch> |
|
|
<LocationMatch "^/raw.*"> |
<LocationMatch "^/raw.*"> |
PerlAccessHandler Apache::lonracc |
PerlAccessHandler Apache::lonracc |
</LocationMatch> |
</LocationMatch> |
Line 178 ErrorDocument 406 /adm/unauthorized.
|
Line 199 ErrorDocument 406 /adm/unauthorized.
|
|
|
# ------------------------------------------------------------------------- RAT |
# ------------------------------------------------------------------------- RAT |
|
|
<LocationMatch "^/\~.*\.course$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonratedt |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/\~.*\.sequence$"> |
<LocationMatch "^/\~.*\.sequence$"> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonratedt |
PerlHandler Apache::lonratedt |
Line 215 SetHandler perl-script
|
Line 231 SetHandler perl-script
|
PerlHandler Apache::lonpage |
PerlHandler Apache::lonpage |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/res/.*\.xml$"> |
<LocationMatch "^/res/.*\.sequence$> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonsequence |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/res/.*\.meta$> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonmeta |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/res/.*\.(xml|html|htm|xhtml|xhtm)$"> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonxml |
PerlHandler Apache::lonxml |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/res/.*\.problem$"> |
<LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form)$"> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonhomework |
PerlHandler Apache::lonhomework |
</LocationMatch> |
</LocationMatch> |
|
|
|
<LocationMatch "^/(res|\~).*\.(assesscalc|studentcalc|classcalc)$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonspreadsheet |
|
</LocationMatch> |
|
|
# -------------------------------------------------------------- Admin Programs |
# -------------------------------------------------------------- Admin Programs |
|
|
<Location /adm/roles> |
<Location /adm/roles> |
Line 242 PerlHandler Apache::lonlogin
|
Line 274 PerlHandler Apache::lonlogin
|
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonlogout |
PerlHandler Apache::lonlogout |
|
ErrorDocument 403 /adm/login |
</Location> |
</Location> |
|
|
<Location /adm/authenticate> |
<Location /adm/authenticate> |
Line 250 PerlHandler Apache::lonauth
|
Line 283 PerlHandler Apache::lonauth
|
</Location> |
</Location> |
|
|
<Location /adm/annotations> |
<Location /adm/annotations> |
|
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::admannotations |
PerlHandler Apache::admannotations |
|
ErrorDocument 403 /adm/login |
</Location> |
</Location> |
|
|
|
<Location /adm/bookmarks> |
|
PerlAccessHandler Apache::lonacc |
# ------------------------------------------------------------------ Test Trash |
|
|
|
<Location /adm/test> |
|
SetHandler perl-script |
SetHandler perl-script |
PerlAccessHandler Apache::lonacc |
PerlHandler Apache::admbookmarks |
PerlHandler Apache::lontest |
ErrorDocument 403 /adm/login |
</Location> |
</Location> |
|
|
|
<Location /adm/flip> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonpageflip |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 403 /adm/login |
|
</Location> |
|
|
|
<Location /adm/ambiguous> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonambiguous |
|
ErrorDocument 403 /adm/login |
|
</Location> |
|
|
|
<Location /adm/email> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonmsg |
|
ErrorDocument 403 /adm/login |
|
</Location> |
|
|
|
<Location /adm/parmset> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonparmset |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
</Location> |
|
|
|
<Location /adm/publish> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonpublisher |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/unauthorized.html |
|
</Location> |
|
|