--- loncom/loncapa_apache.conf 2006/04/10 21:58:53 1.131
+++ loncom/loncapa_apache.conf 2010/07/07 16:30:44 1.196
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.131 2006/04/10 21:58:53 albertel Exp $
+## $Id: loncapa_apache.conf,v 1.196 2010/07/07 16:30:44 raeburn Exp $
##
#
@@ -35,7 +35,9 @@ ExtendedStatus On
#
# ===================================================================== Aliases
+Alias /zipspool/ /home/httpd/zipspool/
Alias /prtspool/ /home/httpd/prtspool/
+Alias /captchaspool/ /home/httpd/captchaspool/
ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
# ================================================================= Directories
@@ -49,10 +51,19 @@ PerlAuthenHandler Apache::checkauthen
PerlSetVar lonOtherAuthen no
#PerlWarn On
+
+PerlAuthenHandler 'sub { return OK }'
+
+
+# Send proper expires header to avoid unnecessary HTTP request for static content
+
+ ExpiresActive On
+ ExpiresDefault "access plus 12 hours"
+
+
-#AuthName "LON-CAPA Auth"
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAccessHandler Apache::publiccheck
@@ -79,13 +90,33 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::portfolio
+
+
+
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::portfolio
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpdfupload
+ErrorDocument 403 /adm/login
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::lontokacc
PerlCleanupHandler Apache::lontokacc::removefile
@@ -93,9 +124,11 @@ PerlCleanupHandler Apache::lonacc::clean
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
+PerlHandler Apache::londatecheck
+PerlHandler Apache::lonipcheck
PerlHeaderParserHandler Apache::lonuploadrep
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
@@ -104,7 +137,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
ErrorDocument 403 /adm/login
@@ -113,9 +146,24 @@ ErrorDocument 500 /adm/errorhandler
-PerlAccessHandler Apache::lonuploadedacc
+PerlAuthenHandler Apache::lonuploadedacc
+PerlAuthzHandler Apache::lonuploadedacc::skip_phase
+PerlAccessHandler Apache::lonuploadedacc::skip_phase
+
+
+
+PerlAccessHandler Apache::publiccheck
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+
+PerlAccessHandler Apache::publiccheck
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+
SetHandler perl-script
@@ -128,7 +176,8 @@ PerlHandler Apache::lonsequence
-AuthType Basic
+PerlAccessHandler Apache::publiccheck
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -138,7 +187,8 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+PerlAccessHandler Apache::publiccheck
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -148,7 +198,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -158,34 +208,38 @@ ErrorDocument 406 /adm/notinit.html
ErrorDocument 500 /adm/errorhandler
-
-AuthType Basic
+
+PerlAccessHandler Apache::publiccheck
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
-PerlHandler Apache::lonsimplepage
+PerlHandler Apache::lonaboutme
ErrorDocument 404 /adm/notfound.html
ErrorDocument 406 /adm/notinit.html
ErrorDocument 500 /adm/errorhandler
-
-AuthType Basic
+
+AuthType LONCAPA
Require valid-user
-PerlAuthzHandler Apache::lonacc
+PerlAuthzHandler Apache::lonacc
SetHandler perl-script
+PerlHandler Apache::londatecheck
+PerlHandler Apache::lonipcheck
PerlHandler Apache::lonsimplepage
ErrorDocument 404 /adm/notfound.html
ErrorDocument 406 /adm/notinit.html
-ErrorDocument 500 /adm/errorhandler
+ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::londatecheck
+PerlHandler Apache::lonipcheck
PerlHandler Apache::lonbulletin
ErrorDocument 404 /adm/notfound.html
ErrorDocument 406 /adm/notinit.html
@@ -193,7 +247,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -204,7 +258,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::loncacc
SetHandler perl-script
@@ -220,20 +274,19 @@ PerlAccessHandler Apache::lonracc
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::loncacc
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
ErrorDocument 406 /adm/unauthorized
ErrorDocument 500 /adm/errorhandler
-AllowOverride None
-AuthType Basic
+AuthType LONCAPA
Require valid-user
-PerlAuthzHandler Apache::lonacc
+PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonhelper
ErrorDocument 403 /adm/login
@@ -243,7 +296,18 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+ErrorDocument 403 /adm/login
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/roles
+ErrorDocument 413 /adm/overloaded.txt
+ErrorDocument 500 /adm/errorhandler
+
+
+
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
ErrorDocument 403 /adm/login
@@ -275,7 +339,7 @@ PerlHandler Apache::lonratmenu
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -293,7 +357,7 @@ PerlCleanupHandler Apache::lonindexer::c
PerlCleanupHandler Apache::lonacc::cleanup
-
+
SetHandler perl-script
PerlHandler Apache::lontex
@@ -309,13 +373,14 @@ PerlHandler Apache::lonsequence
+PerlAccessHandler Apache::publiccheck
SetHandler perl-script
PerlHandler Apache::lonmeta
ErrorDocument 413 /adm/overloaded.txt
-AuthType Basic
+AuthType LONCAPA
Require valid-user
SetHandler perl-script
PerlAuthzHandler Apache::lonacc
@@ -332,6 +397,7 @@ PerlHandler Apache::lonrights
SetHandler perl-script
PerlHandler Apache::londatecheck
+PerlHandler Apache::lonipcheck
PerlHandler Apache::lonxml
@@ -340,10 +406,17 @@ SetHandler perl-script
PerlHandler Apache::lonhomework
+
+SetHandler perl-script
+PerlHandler Apache::lonxml
+
+
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
+PerlHandler Apache::londatecheck
+PerlHandler Apache::lonipcheck
SetHandler perl-script
PerlHandler Apache::lonwrapper
ErrorDocument 403 /adm/login
@@ -351,7 +424,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -363,7 +436,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -375,7 +448,7 @@ ErrorDocument 500 /adm/errorhandler
# -------------------------------------------------------------- Admin Programs
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -385,7 +458,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -395,7 +468,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -406,7 +479,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -417,17 +490,18 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonroles
ErrorDocument 403 /adm/login
+ErrorDocument 409 /adm/preferences?action=lockwarning
ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -436,18 +510,18 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
-
-AuthType Basic
+
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
-PerlHandler Apache::lonremote
+PerlHandler Apache::lonpickauthor
ErrorDocument 403 /adm/login
-ErrorDocument 500 /adm/errorhandler
+ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -456,8 +530,19 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpickuser
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -467,7 +552,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -481,22 +566,45 @@ SetHandler perl-script
PerlHandler Apache::lonlogin
+
+PerlAccessHandler Apache::publiccheck
+AuthType LONCAPA
+Require valid-user
+SetHandler perl-script
+PerlAuthzHandler Apache::lonacc
+PerlHandler Apache::restrictedaccess
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::publiccheck
+AuthType LONCAPA
+Require valid-user
+SetHandler perl-script
+PerlAuthzHandler Apache::lonacc
+PerlHandler Apache::blockedaccess
+ErrorDocument 500 /adm/errorhandler
+
+
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonlogout
ErrorDocument 403 /adm/login
+ErrorDocument 409 /adm/preferences?action=lockwarning
+ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::switchserver
ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
@@ -510,7 +618,7 @@ PerlHandler Apache::migrateuser
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -520,7 +628,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -530,7 +638,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -540,7 +648,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -553,7 +661,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -565,7 +673,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -575,7 +683,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -585,7 +693,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -595,8 +703,19 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+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
+
+
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -607,7 +726,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -618,7 +737,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -628,8 +747,19 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+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
+
+
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -640,7 +770,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -650,8 +780,28 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::domainprefs
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonstatusacc
+SetHandler perl-script
+PerlHandler Apache::domainstatus
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -662,7 +812,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -674,7 +824,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::loncacc
SetHandler perl-script
@@ -686,7 +836,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -698,7 +848,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -709,7 +859,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -721,7 +871,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -733,7 +883,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -745,7 +895,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -757,7 +907,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -769,7 +919,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -781,7 +931,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -793,7 +943,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -805,7 +955,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -817,7 +967,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -829,7 +979,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -840,7 +990,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -851,7 +1001,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -861,8 +1011,30 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::groupboards
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::grouproster
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -873,7 +1045,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -884,7 +1056,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -895,7 +1067,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -906,7 +1078,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -916,7 +1088,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -928,7 +1100,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -937,18 +1109,18 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
-
-AuthType Basic
+
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonannounce
ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
-
+
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -957,7 +1129,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -966,8 +1138,18 @@ ErrorDocument 413 /adm/overloaded.tx
ErrorDocument 500 /adm/errorhandler
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::longroupchat
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -977,7 +1159,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -987,7 +1169,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -997,7 +1179,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -1010,18 +1192,18 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
-PerlHandler Apache::lonnavmaps
+PerlHandler Apache::lonnavdisplay
ErrorDocument 403 /adm/login
ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -1032,7 +1214,7 @@ ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
@@ -1043,105 +1225,95 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::publiccheck
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonblockingstatus
+
+
SetHandler perl-script
PerlHandler Apache::lonerrorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
+PerlAccessHandler Apache::publiccheck
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonhelp
+ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonhelpmenu
+ErrorDocument 500 /adm/errorhandler
-AuthType Basic
+AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonsupportreq
+ErrorDocument 500 /adm/errorhandler
SetHandler perl-script
PerlHandler Apache::lonsupportreq
+ErrorDocument 500 /adm/errorhandler
-# ------------------------------------------------- Backdoor Adm Tests/Programs
-
-
-AuthName "LON-CAPA Network Administration"
-AuthType Basic
-AuthUserFile /home/httpd/lonTabs/htpasswd
-require user lonadm
-
-
-
-AuthName "LON-CAPA Network Administration"
-AuthType Basic
-AuthUserFile /home/httpd/lonTabs/htpasswd
-require user lonadm
-
+
+SetHandler perl-script
+PerlHandler Apache::loncss
+ErrorDocument 500 /adm/errorhandler
+
-
-AuthName "LON-CAPA Network Administration"
-AuthType Basic
-AuthUserFile /home/httpd/lonTabs/htpasswd
-require user lonadm
-
+
+SetHandler perl-script
+PerlHandler Apache::coursecatalog
+ErrorDocument 500 /adm/errorhandler
+
-
-AuthName "LON-CAPA Network Administration"
-AuthType Basic
-AuthUserFile /home/httpd/lonTabs/htpasswd
-require user lonadm
-
+
+SetHandler perl-script
+PerlHandler Apache::resetpw
+ErrorDocument 500 /adm/errorhandler
+
-
-AuthName "LON-CAPA Network Administration"
-AuthType Basic
-AuthUserFile /home/httpd/lonTabs/htpasswd
-require user lonadm
-
+
+SetHandler perl-script
+PerlHandler Apache::selfenroll
+ErrorDocument 500 /adm/errorhandler
+
-
-AuthName "harvest"
-AuthType Basic
-AuthUserFile /home/httpd/lonTabs/htpasswd
-require user reaper
-
+
+SetHandler perl-script
+PerlHandler Apache::createaccount
+ErrorDocument 500 /adm/errorhandler
+
-
-AuthName "Offline"
-AuthType Basic
-AuthUserFile /home/httpd/lonTabs/htpasswd
-require user offline
-
+
+SetHandler perl-script
+PerlHandler Apache::londns
+ErrorDocument 500 /adm/errorhandler
+
-
-AuthName "Offline"
-AuthType Basic
-AuthUserFile /home/httpd/lonTabs/htpasswd
-require user offline
-
+# ------------------------------------------------- Backdoor Adm Tests/Programs
-AuthName "LON-CAPA Network Administration"
-AuthType Basic
-AuthUserFile /home/httpd/lonTabs/htpasswd
-require user lonadm
+PerlAccessHandler Apache::lonstatusacc
SetHandler perl-script
-PerlAuthzHandler Apache::lonacc
PerlHandler Apache::lontest
@@ -1159,6 +1331,26 @@ PerlChildExitHandler Apache::lonacc::goo
Options None
AllowOverride None
+order deny,allow
+deny from all
+
+
+# Allow uploaded files to be served
+
+
+Options Includes FollowSymLinks
+AllowOverride None
+order allow,deny
+allow from all
+
+
+# Allow construction space files to be served
+
+
+Options Includes FollowSymLinks
+AllowOverride
+order allow,deny
+allow from all
# Yes to symbolic links and server-side includes
@@ -1174,27 +1366,52 @@ allow from all
AllowOverride None
-Options ExecCGI
+Options ExecCGI FollowSymLinks
+order allow,deny
+allow from all
+
+
+# Allow serving of files in prtspool
+
+
+Options Includes FollowSymLinks
+AllowOverride None
+order allow,deny
+allow from all
+
+
+# Allow serving of files in zipspool
+
+
+Options Includes FollowSymLinks
+AllowOverride None
+order allow,deny
+allow from all
+
+
+# Allow serving of files in captchaspool
+
+
+Options Includes FollowSymLinks
+AllowOverride None
+order allow,deny
+allow from all
# ============================================================= Access Handlers
# ------------------------------------------------- Allow server-status reports
+PerlAccessHandler Apache::lonstatusacc
SetHandler server-status
-AuthName "LON-CAPA Network Administration"
-AuthType Basic
-AuthUserFile /home/httpd/lonTabs/htpasswd
-require user lonadm
# ------------------------ Allow LON-CAPA "low-level" connection status reports
-
-AuthName "LON-CAPA Network Administration"
-AuthType Basic
-AuthUserFile /home/httpd/lonTabs/htpasswd
-require user lonadm
-
+
+PerlAccessHandler Apache::lonstatusacc
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
# ------------------- Allow access to local system documentation from localhost
Alias /doc /usr/doc
@@ -1216,11 +1433,17 @@ PerlSetVar lonIconsURL /adm/lonIc
PerlSetVar londPort 5663
PerlSetVar lonSysEMail korte@lite.msu.edu
PerlSetVar lonDaemons /home/httpd/perl
+PerlSetVar lonLib /home/httpd/lib
PerlSetVar lonSockDir /home/httpd/sockets
+PerlSetVar lonSockCreate /home/httpd/sockets/common
PerlSetVar lonDocRoot /home/httpd/html
PerlSetVar lonPrtDir /home/httpd/prtspool
PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
-# & sepeareted list of : seperated fileds inorder of
+PerlSetVar lonZipDir /home/httpd/zipspool
+PerlSetVar lonCaptchaDir /home/httpd/captchaspool
+PerlSetVar lonCaptchaDb /home/httpd/captchadb
+PerlSetVar lonFontsDir /home/httpd/html/adm/fonts
+# & separated list of : separated fields in order of
# - internal name to call it,
# - regexp that it should match (done case-insensitively)
# - regexp that is should not match (done case-insensitively)
@@ -1228,7 +1451,7 @@ PerlSetVar lonIncludes /home/http
# - a number that describes the minimum version that has mathml support
# - a number that describes the minimum number version that has unicode support
-PerlSetVar lonBrowsDet explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&netscape:netscape:msie:netscape\/(\d+\.\d+):9999:7&netscape:netscape\/[7-9]:shouldnotmatch:netscape\/(\d+\.\d+):9999:7&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1&safari:safari:msie:safari\/([\d\.]+):9999:84
+PerlSetVar lonBrowsDet explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:5&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&netscape:netscape:msie:netscape\/(\d+\.\d+):9999:7&netscape:netscape\/[7-9]:shouldnotmatch:netscape\/(\d+\.\d+):9999:7&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1&safari:safari:msie:safari\/([\d\.]+):9999:84
PerlSetVar lonTextBrowsers windows\s+ce:lynx
PerlSetVar lonScansDir /home/httpd/scantron
@@ -1244,12 +1467,6 @@ PerlSetVar FAQHost http://help.lon-capa
PerlSetVar lonSqlAccess localhostkey
-# -----------------------------------------------------------------------------
-# lonttpdPort is the port used by the lightweight graphics httpd server
-# not the main Apache server
-PerlSetVar lonhttpdPort 8080
-
-
#----------------------------------------------------------------------------
#
# Parameters used by secure lond/lonc