version 1.2, 2000/07/01 17:57:01
|
version 1.18, 2000/11/20 17:39:28
|
Line 1
|
Line 1
|
## modified for LearningOnline Network |
## modified for LearningOnline Network |
## Gerd Kortemeyer |
## Gerd Kortemeyer |
## |
## |
## 7/8,7/10,7/14,11/22,01/06,01/20,01/21,5/29,5/31,7/1 |
## 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 |
## |
## |
## 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]]]]} |
|
|
# ----------------------------------------------------------- Internal Settings |
# ----------------------------------------------------------- Internal Settings |
|
|
Line 153 PerlSetVar lonBrowsDet netscape:m
|
Line 161 PerlSetVar lonBrowsDet netscape:m
|
PerlRequire conf/startup.pl |
PerlRequire conf/startup.pl |
PerlFreshRestart On |
PerlFreshRestart On |
|
|
# ----------------------------------------------------------------- Directories |
# ================================================================= Directories |
|
|
|
# ------------------------------------------------------------- Access Handlers |
|
|
<LocationMatch "^/res.*"> |
<LocationMatch "^/res.*"> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
PerlHeaderParserHandler Apache::lonrep |
PerlHeaderParserHandler Apache::lonrep |
ErrorDocument 403 /adm/login |
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
ErrorDocument 406 /adm/roles |
ErrorDocument 406 /adm/roles |
</LocationMatch> |
</LocationMatch> |
|
|
Line 173 ErrorDocument 404 /adm/notfound.html
|
Line 184 ErrorDocument 404 /adm/notfound.html
|
ErrorDocument 406 /adm/unauthorized.html |
ErrorDocument 406 /adm/unauthorized.html |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/r.*/$"> |
# ------------------------------------------------------------------------- RAT |
SetHandler perl-script |
|
PerlHandler Apache::lonindexer |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/\~.*\.course$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonratedt |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/\~.*\.sequence$"> |
<LocationMatch "^/\~.*\.sequence$"> |
SetHandler perl-script |
SetHandler perl-script |
Line 198 SetHandler perl-script
|
Line 201 SetHandler perl-script
|
PerlHandler Apache::lonratsrv |
PerlHandler Apache::lonratsrv |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/\.tex$"> |
# --------------------------------------------- Resource Space Content Handlers |
|
|
|
<LocationMatch "^/res/.*/$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonindexer |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/res/.*\.tex$"> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lontex |
PerlHandler Apache::lontex |
</LocationMatch> |
</LocationMatch> |
|
|
|
<LocationMatch "^/res/.*\.page$> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonpage |
|
</LocationMatch> |
|
|
|
<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 |
|
PerlHandler Apache::lonxml |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form)$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonhomework |
|
</LocationMatch> |
|
|
|
# -------------------------------------------------------------- Admin Programs |
|
|
<Location /adm/roles> |
<Location /adm/roles> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
Line 219 PerlHandler Apache::lonlogin
|
Line 256 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 226 SetHandler perl-script
|
Line 264 SetHandler perl-script
|
PerlHandler Apache::lonauth |
PerlHandler Apache::lonauth |
</Location> |
</Location> |
|
|
|
<Location /adm/annotations> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::admannotations |
|
ErrorDocument 403 /adm/login |
|
</Location> |
|
|
|
<Location /adm/bookmarks> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::admbookmarks |
|
ErrorDocument 403 /adm/login |
|
</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> |
|
|
|
<LocationMatch "^/adm/email"> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonmsg |
|
ErrorDocument 403 /adm/login |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/adm/parmset"> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonparmset |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
</LocationMatch> |
|
|