version 1.15, 2000/11/10 14:43:07
|
version 1.24, 2001/01/03 18:25:43
|
Line 9
|
Line 9
|
## |
## |
## Gerd Kortemeyer |
## Gerd Kortemeyer |
## |
## |
## 10/3,10/5,10/12,10/16,10/20,11/2,11/6,11/10 |
## 10/3,10/5,10/12,10/16,10/20,11/2,11/6,11/10,11/20,11/23,11/28,12/06,12/19, |
|
## 12/26,3/1/1 |
## |
## |
## access.conf -- Apache HTTP server configuration file |
## access.conf -- Apache HTTP server configuration file |
## |
## |
Line 138 PerlSetVar lonDefDomain {[[[[lonDe
|
Line 139 PerlSetVar lonDefDomain {[[[[lonDe
|
|
|
PerlSetVar lonLoadLim {[[[[lonLoadLim]]]]} |
PerlSetVar lonLoadLim {[[[[lonLoadLim]]]]} |
|
|
# Expiration for local copies in seconds |
# Expiration for local copies and tokens in seconds |
|
|
PerlSetVar lonExpire {[[[[lonExpire]]]]} |
PerlSetVar lonExpire {[[[[lonExpire]]]]} |
|
|
|
# Key to issue receipts |
|
|
|
PerlSetVar lonReceipt {[[[[lonReceipt]]]]} |
|
|
# ----------------------------------------------------------- Internal Settings |
# ----------------------------------------------------------- Internal Settings |
|
|
PerlSetVar lonIDsDir /home/httpd/lonIDs |
PerlSetVar lonIDsDir /home/httpd/lonIDs |
Line 160 PerlSetVar lonBrowsDet netscape:m
|
Line 165 PerlSetVar lonBrowsDet netscape:m
|
|
|
PerlRequire conf/startup.pl |
PerlRequire conf/startup.pl |
PerlFreshRestart On |
PerlFreshRestart On |
|
|
# ================================================================= Directories |
|
|
|
# ------------------------------------------------------------- Access Handlers |
|
|
|
<LocationMatch "^/res.*"> |
|
PerlAccessHandler Apache::lonacc |
|
PerlHeaderParserHandler Apache::lonrep |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/roles |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/raw.*"> |
|
PerlAccessHandler Apache::lonracc |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/\~.*"> |
|
PerlAccessHandler Apache::loncacc |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/unauthorized.html |
|
</LocationMatch> |
|
|
|
# ------------------------------------------------------------------------- RAT |
|
|
|
<LocationMatch "^/\~.*\.sequence$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonratedt |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/\~.*\.page$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonratedt |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/\~.*\/ratserver$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonratsrv |
|
</LocationMatch> |
|
|
|
# --------------------------------------------- Resource Space Content Handlers |
|
|
|
<LocationMatch "^/res/.*/$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonindexer |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/res/.*\.tex$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lontex |
|
</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$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonhomework |
|
</LocationMatch> |
|
|
|
# -------------------------------------------------------------- Admin Programs |
|
|
|
<Location /adm/roles> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonroles |
|
ErrorDocument 403 /adm/login |
|
</Location> |
|
|
|
<Location /adm/login> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonlogin |
|
</Location> |
|
|
|
<Location /adm/logout> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonlogout |
|
ErrorDocument 403 /adm/login |
|
</Location> |
|
|
|
<Location /adm/authenticate> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonauth |
|
</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> |
|
|
|