version 1.180, 2008/11/04 21:06:21
|
version 1.194, 2010/03/17 19:41:06
|
Line 51 PerlAuthenHandler Apache::checkauthen
|
Line 51 PerlAuthenHandler Apache::checkauthen
|
PerlSetVar lonOtherAuthen no |
PerlSetVar lonOtherAuthen no |
|
|
#PerlWarn On |
#PerlWarn On |
|
<LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$"> |
|
PerlAuthenHandler 'sub { return OK }' |
|
</LocationMatch> |
|
|
|
# Send proper expires header to avoid unnecessary HTTP request for static content |
|
<LocationMatch "^(/adm/lonIcons|/adm/jQuery|/adm/jsMath|/res/adm/pages|/ckeditor)"> |
|
ExpiresActive On |
|
ExpiresDefault "access plus 12 hours" |
|
</LocationMatch> |
|
|
<LocationMatch "^/+res.*"> |
<LocationMatch "^/+res.*"> |
|
|
AuthType LONCAPA |
AuthType LONCAPA |
Line 340 PerlCleanupHandler Apache::lonindexer::c
|
Line 350 PerlCleanupHandler Apache::lonindexer::c
|
PerlCleanupHandler Apache::lonacc::cleanup |
PerlCleanupHandler Apache::lonacc::cleanup |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/+(res|\~).*\.tex$"> |
<LocationMatch "^/+res.*\.tex$"> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lontex |
PerlHandler Apache::lontex |
</LocationMatch> |
</LocationMatch> |
Line 389 SetHandler perl-script
|
Line 399 SetHandler perl-script
|
PerlHandler Apache::lonhomework |
PerlHandler Apache::lonhomework |
</LocationMatch> |
</LocationMatch> |
|
|
|
<LocationMatch "^/+\~.*\.(js|css|txt|tex)$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonxml |
|
</LocationMatch> |
|
|
<LocationMatch "^/adm/wrapper/"> |
<LocationMatch "^/adm/wrapper/"> |
AuthType LONCAPA |
AuthType LONCAPA |
Require valid-user |
Require valid-user |
Line 488 ErrorDocument 403 /adm/login
|
Line 503 ErrorDocument 403 /adm/login
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
<Location /adm/remote> |
<Location /adm/pickauthor> |
AuthType LONCAPA |
AuthType LONCAPA |
Require valid-user |
Require valid-user |
PerlAuthzHandler Apache::lonacc |
PerlAuthzHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonremote |
PerlHandler Apache::lonpickauthor |
ErrorDocument 403 /adm/login |
ErrorDocument 403 /adm/login |
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
<Location /adm/pickauthor> |
<Location /adm/pickstudent> |
AuthType LONCAPA |
AuthType LONCAPA |
Require valid-user |
Require valid-user |
PerlAuthzHandler Apache::lonacc |
PerlAuthzHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonpickauthor |
PerlHandler Apache::lonpickstudent |
ErrorDocument 403 /adm/login |
ErrorDocument 403 /adm/login |
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
<Location /adm/pickstudent> |
<Location /adm/pickuser> |
AuthType LONCAPA |
AuthType LONCAPA |
Require valid-user |
Require valid-user |
PerlAuthzHandler Apache::lonacc |
PerlAuthzHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonpickstudent |
PerlHandler Apache::lonpickuser |
ErrorDocument 403 /adm/login |
ErrorDocument 403 /adm/login |
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
<Location /adm/pickcourse> |
<Location /adm/pickcourse> |
Line 680 ErrorDocument 406 /adm/roles
|
Line 696 ErrorDocument 406 /adm/roles
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<Location /adm/courseprefs> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::courseprefs |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/slotrequest> |
<Location /adm/slotrequest> |
AuthType LONCAPA |
AuthType LONCAPA |
Require valid-user |
Require valid-user |
Line 713 ErrorDocument 406 /adm/roles
|
Line 740 ErrorDocument 406 /adm/roles
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<Location /adm/requestcourse> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonrequestcourse |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/createcourse> |
<Location /adm/createcourse> |
AuthType LONCAPA |
AuthType LONCAPA |
Require valid-user |
Require valid-user |
Line 746 ErrorDocument 406 /adm/roles
|
Line 784 ErrorDocument 406 /adm/roles
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<Location /adm/domainstatus> |
|
PerlAccessHandler Apache::lonstatusacc |
|
SetHandler perl-script |
|
PerlHandler Apache::domainstatus |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/createuser> |
<Location /adm/createuser> |
AuthType LONCAPA |
AuthType LONCAPA |
Require valid-user |
Require valid-user |
Line 1171 ErrorDocument 403 /adm/login
|
Line 1218 ErrorDocument 403 /adm/login
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<Location /adm/blockingstatus> |
|
PerlAccessHandler Apache::publiccheck |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonblockingstatus |
|
</Location> |
|
|
<Location /adm/errorhandler> |
<Location /adm/errorhandler> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonerrorhandler |
PerlHandler Apache::lonerrorhandler |
Line 1248 ErrorDocument 500 /adm/errorhandler
|
Line 1304 ErrorDocument 500 /adm/errorhandler
|
|
|
# ------------------------------------------------- Backdoor Adm Tests/Programs |
# ------------------------------------------------- Backdoor Adm Tests/Programs |
|
|
<Location /cgi-bin/loncron.pl> |
|
AuthName "LON-CAPA Network Administration" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user lonadm |
|
</Location> |
|
|
|
<Location /cgi-bin/userstatus.pl> |
|
AuthName "LON-CAPA Network Administration" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user lonadm |
|
</Location> |
|
|
|
<Location /cgi-bin/lonversions.pl> |
|
AuthName "LON-CAPA Network Administration" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user lonadm |
|
</Location> |
|
|
|
<Location /cgi-bin/clusterstatus.pl> |
|
AuthName "LON-CAPA Network Administration" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user lonadm |
|
</Location> |
|
|
|
<Location /cgi-bin/metadata_keywords.pl> |
|
AuthName "LON-CAPA Network Administration" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user lonadm |
|
</Location> |
|
|
|
<Location /cgi-bin/metadata_harvest.pl> |
|
AuthName "harvest" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user reaper |
|
</Location> |
|
|
|
<Location /cgi-bin/takeoffline.pl> |
|
AuthName "Offline" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user offline |
|
</Location> |
|
|
|
<Location /cgi-bin/takeonline.pl> |
|
AuthName "Offline" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user offline |
|
</Location> |
|
|
|
<Location /adm/test> |
<Location /adm/test> |
AuthName "LON-CAPA Network Administration" |
PerlAccessHandler Apache::lonstatusacc |
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user lonadm |
|
SetHandler perl-script |
SetHandler perl-script |
PerlAuthzHandler Apache::lonacc |
|
PerlHandler Apache::lontest |
PerlHandler Apache::lontest |
</Location> |
</Location> |
|
|
Line 1399 allow from all
|
Line 1395 allow from all
|
|
|
# ------------------------------------------------- Allow server-status reports |
# ------------------------------------------------- Allow server-status reports |
<Location /server-status> |
<Location /server-status> |
|
PerlAccessHandler Apache::lonstatusacc |
SetHandler server-status |
SetHandler server-status |
AuthName "LON-CAPA Network Administration" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user lonadm |
|
</Location> |
</Location> |
|
|
# ------------------------ Allow LON-CAPA "low-level" connection status reports |
# ------------------------ Allow LON-CAPA "low-level" connection status reports |
<Location /lon-status> |
<LocationMatch "^/+lon-status/.*"> |
AuthName "LON-CAPA Network Administration" |
PerlAccessHandler Apache::lonstatusacc |
AuthType Basic |
ErrorDocument 406 /adm/roles |
AuthUserFile /home/httpd/lonTabs/htpasswd |
ErrorDocument 500 /adm/errorhandler |
require user lonadm |
</LocationMatch> |
</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 |
Line 1434 PerlSetVar lonIconsURL /adm/lonIc
|
Line 1426 PerlSetVar lonIconsURL /adm/lonIc
|
PerlSetVar londPort 5663 |
PerlSetVar londPort 5663 |
PerlSetVar lonSysEMail korte@lite.msu.edu |
PerlSetVar lonSysEMail korte@lite.msu.edu |
PerlSetVar lonDaemons /home/httpd/perl |
PerlSetVar lonDaemons /home/httpd/perl |
|
PerlSetVar lonLib /home/httpd/lib |
PerlSetVar lonSockDir /home/httpd/sockets |
PerlSetVar lonSockDir /home/httpd/sockets |
PerlSetVar lonSockCreate /home/httpd/sockets/common |
PerlSetVar lonSockCreate /home/httpd/sockets/common |
PerlSetVar lonDocRoot /home/httpd/html |
PerlSetVar lonDocRoot /home/httpd/html |