version 1.7, 2000/10/03 20:05:26
|
version 1.26, 2001/11/05 22:47:26
|
Line 9
|
Line 9
|
## |
## |
## Gerd Kortemeyer |
## Gerd Kortemeyer |
## |
## |
## 10/3 |
## 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 |
|
## |
|
## Scott Harrison |
|
## |
|
## 03/20/2001 |
## |
## |
## access.conf -- Apache HTTP server configuration file |
## access.conf -- Apache HTTP server configuration file |
## |
## |
Line 138 PerlSetVar lonDefDomain {[[[[lonDe
|
Line 143 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]]]]} |
|
|
|
# Key to handle SQL access |
|
|
|
PerlSetVar lonSqlAccess {[[[[lonSqlAccess]]]]} |
|
|
# ----------------------------------------------------------- Internal Settings |
# ----------------------------------------------------------- Internal Settings |
|
|
PerlSetVar lonIDsDir /home/httpd/lonIDs |
PerlSetVar lonIDsDir /home/httpd/lonIDs |
Line 154 PerlSetVar lonDaemons /home/http
|
Line 167 PerlSetVar lonDaemons /home/http
|
PerlSetVar lonSockDir /home/httpd/sockets |
PerlSetVar lonSockDir /home/httpd/sockets |
PerlSetVar lonDocRoot /home/httpd/html |
PerlSetVar lonDocRoot /home/httpd/html |
PerlSetVar lonIncludes /home/httpd/html/res/adm/includes |
PerlSetVar lonIncludes /home/httpd/html/res/adm/includes |
PerlSetVar lonBrowsDet netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:5.1&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:5&amaya:amaya:mozilla:V(\d+\.\d+)\s:1 |
PerlSetVar lonBrowsDet netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:5&amaya:amaya:mozilla:V(\d+\.\d+)\s:1 |
|
|
# ------------------------------------------------------------ Perl Information |
# ------------------------------------------------------------ Perl Information |
|
|
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/.*\.xml$"> |
|
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 |
|
</Location> |
|
|
|
<Location /adm/authenticate> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonauth |
|
</Location> |
|
|
|
<Location /adm/annotations> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::admannotations |
|
</Location> |
|
|
|
<Location /adm/flip> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonpageflip |
|
</Location> |
|
|
|