version 1.17, 2000/11/20 17:19:44
|
version 1.29, 2002/02/28 18:10:37
|
Line 9
|
Line 9
|
## |
## |
## Gerd Kortemeyer |
## Gerd Kortemeyer |
## |
## |
## 10/3,10/5,10/12,10/16,10/20,11/2,11/6,11/10,11/20 |
## 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 72 AllowOverride None
|
Line 77 AllowOverride None
|
Options ExecCGI |
Options ExecCGI |
</Directory> |
</Directory> |
|
|
# Allow server status reports, with the URL of http://servername/server-status |
|
# Change the ".your_domain.com" to match your domain to enable. |
|
|
|
<Location /server-status> |
|
SetHandler server-status |
|
AuthName "HTTPD Server Status" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user lonadm |
|
</Location> |
|
|
|
<Location /lon-status> |
|
AuthName "LON Server Status" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user lonadm |
|
</Location> |
|
|
|
# Allow access to local system documentation from localhost |
# Allow access to local system documentation from localhost |
Alias /doc /usr/doc |
Alias /doc /usr/doc |
<Directory /usr/doc> |
<Directory /usr/doc> |
Line 142 PerlSetVar lonLoadLim {[[[[lonLo
|
Line 129 PerlSetVar lonLoadLim {[[[[lonLo
|
|
|
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 149 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:9999&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/.*\.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> |
|
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> |
|
|
|
<LocationMatch "^/adm/parmset/"> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonparmset |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
</LocationMatch> |
|
|
|