version 1.1, 2000/02/22 21:32:17
|
version 1.9, 2000/10/12 18:48:02
|
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 |
## 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 |
## |
## |
## 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 msua3 |
PerlSetVar lonHostID {[[[[lonHostID]]]]} |
|
|
# Role of this machine: library, access |
# Role of this machine: library, access |
|
|
PerlSetVar lonRole access |
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 in seconds |
|
|
PerlSetVar lonExpire 86400 |
PerlSetVar lonExpire {[[[[lonExpire]]]]} |
|
|
# ----------------------------------------------------------- Internal Settings |
# ----------------------------------------------------------- Internal Settings |
|
|
Line 146 PerlSetVar lonDaemons /home/http
|
Line 154 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 |
|
|
# ------------------------------------------------------------ Perl Information |
# ------------------------------------------------------------ Perl Information |
|
|
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 |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/raw.*"> |
<LocationMatch "^/raw.*"> |
Line 171 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 |
|
|
|
<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 |
SetHandler perl-script |
PerlHandler Apache::lonindexer |
PerlHandler Apache::lonindexer |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/r.*\.problem$"> |
<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 |
SetHandler perl-script |
PerlHandler Apache::lonproblem |
PerlHandler Apache::lonxml |
</LocationMatch> |
</LocationMatch> |
|
|
|
<LocationMatch "^/res/.*\.problem$"> |
|
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 193 SetHandler perl-script
|
Line 242 SetHandler perl-script
|
PerlHandler Apache::lonlogin |
PerlHandler Apache::lonlogin |
</Location> |
</Location> |
|
|
|
<Location /adm/logout> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonlogout |
|
ErrorDocument 403 /adm/login |
|
</Location> |
|
|
<Location /adm/authenticate> |
<Location /adm/authenticate> |
SetHandler perl-script |
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/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> |
|
|