Annotation of loncom/loncapa_apache.conf, revision 1.215.2.22.6.2

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.215.2.6  raeburn     4: 
1.215.2.22.6.  (raeburn    5:): # $Id: loncapa_apache.conf,v 1.215.2.22.6.1 2020/09/15 13:43:31 raeburn Exp $
1.1       harris41    6: 
                      7: #
                      8: # LON-CAPA Section (extensions to httpd.conf daemon configuration)
                      9: #
1.8       harris41   10: # ================================================================ DocumentRoot
1.1       harris41   11: 
                     12: DocumentRoot "/home/httpd/html"
                     13: 
                     14: # ======================================================================== User
                     15: 
                     16: User www
                     17: Group www
                     18: 
                     19: # ======================================================= Shared Object Modules
                     20: 
1.215.2.7  raeburn    21: <IfModule !perl_module>
                     22:     LoadModule perl_module       modules/libperl.so
                     23: </IfModule>
1.47      albertel   24: <IfDefine !MODPERL2>
1.1       harris41   25: AddModule mod_perl.c
1.47      albertel   26: </IfDefine>
1.1       harris41   27: 
1.63      albertel   28: <IfDefine MODPERL2>
                     29: PerlSetVar	MODPERL2	1
                     30: </IfDefine>
1.1       harris41   31: # =============================================================== Miscellaneous
                     32: 
1.215.2.11  raeburn    33: ServerAdmin consortium@loncapa.org
1.1       harris41   34: ExtendedStatus On
                     35: #
                     36: # LON-CAPA Section (extensions to srm.conf name space servicing)
                     37: #
                     38: # ===================================================================== Aliases
                     39: 
1.167     banghart   40: Alias /zipspool/ /home/httpd/zipspool/
1.1       harris41   41: Alias /prtspool/ /home/httpd/prtspool/
1.177     raeburn    42: Alias /captchaspool/ /home/httpd/captchaspool/
1.210     raeburn    43: Alias /webdav/ /home/httpd/html/priv/
1.8       harris41   44: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
1.214     raeburn    45: <IfModule mod_dav_fs.c>
                     46:     DAVLockDB /home/httpd/webdav/DAVLock
                     47: </IfModule>
1.1       harris41   48: 
                     49: # ================================================================= Directories
                     50: 
                     51: # ------------------------------------------------------------- Access Handlers
                     52: 
1.12      www        53: PerlTransHandler	Apache::lontrans
1.129     albertel   54: PerlCleanupHandler	Apache::lonacc::cleanup
1.12      www        55: 
1.125     albertel   56: PerlAuthenHandler Apache::checkauthen
                     57: PerlSetVar lonOtherAuthen no
                     58: 
1.212     raeburn    59: <IfModule mod_shib>
                     60:     PerlAuthenHandler Apache::lonshibauth
                     61:     PerlSetVar lonOtherAuthen yes
                     62:     PerlSetVar lonOtherAuthenType Shibboleth
                     63: </IfModule>
                     64: 
1.45      albertel   65: #PerlWarn On
1.183     raeburn    66: <LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$">
1.215.2.10  raeburn    67: PerlAuthzHandler	'sub { return OK }' 
1.183     raeburn    68: </LocationMatch>
                     69: 
1.191     droeschl   70: # Send proper expires header to avoid unnecessary HTTP request for static content
1.215.2.17  raeburn    71: <LocationMatch "^(/adm/lonIcons|/adm/jQuery|/res/adm/pages|/ckeditor|/adm/jpicker|/adm/countdown|/adm/spellchecker|/adm/nicescroll|/adm/MathJax)">
1.191     droeschl   72:         ExpiresActive On
                     73:         ExpiresDefault "access plus 12 hours"
1.199     raeburn    74:         Header set Cache-Control "public, no-transform"
1.191     droeschl   75: </LocationMatch>
                     76: 
1.21      www        77: <LocationMatch "^/+res.*">
1.125     albertel   78: 
1.139     albertel   79: AuthType LONCAPA
1.125     albertel   80: Require valid-user
                     81: 
                     82: PerlAccessHandler      Apache::publiccheck
                     83: PerlAuthzHandler       Apache::lonacc
1.1       harris41   84: PerlHeaderParserHandler Apache::lonrep
                     85: ErrorDocument     403 /adm/login
                     86: ErrorDocument     404 /adm/notfound.html
                     87: ErrorDocument     406 /adm/roles
1.74      www        88: ErrorDocument	  500 /adm/errorhandler
                     89: </LocationMatch>
                     90: 
1.125     albertel   91: 
                     92: <LocationMatch "/.*">
                     93: </LocationMatch>
                     94: 
                     95: 
1.74      www        96: <LocationMatch "^/+enc.*">
1.115     raeburn    97: SetHandler perl-script
1.127     albertel   98: PerlHandler       Apache::lonencurl
1.74      www        99: ErrorDocument     403 /adm/login
1.80      albertel  100: ErrorDocument     404 /adm/notfound.html
                    101: ErrorDocument     406 /adm/roles
1.11      www       102: ErrorDocument	  500 /adm/errorhandler
                    103: </LocationMatch>
                    104: 
1.84      banghart  105: <Location /adm/portfolio>
1.139     albertel  106: AuthType LONCAPA
1.125     albertel  107: Require valid-user
                    108: PerlAuthzHandler Apache::lonacc
1.123     raeburn   109: SetHandler perl-script
1.126     albertel  110: PerlHandler Apache::portfolio
1.123     raeburn   111: </Location>
                    112: 
1.136     raeburn   113: <Location /adm/coursegrp_portfolio>
1.139     albertel  114: AuthType LONCAPA
1.136     raeburn   115: Require valid-user
                    116: PerlAuthzHandler Apache::lonacc
                    117: SetHandler perl-script
                    118: PerlHandler Apache::portfolio
                    119: </Location>
                    120: 
1.195     raeburn   121: <Location /adm/pdfupload>
                    122: AuthType LONCAPA
                    123: Require valid-user
                    124: PerlAuthzHandler Apache::lonacc
                    125: SetHandler perl-script
                    126: PerlHandler             Apache::lonpdfupload
                    127: ErrorDocument     403 /adm/login
                    128: ErrorDocument     404 /adm/notfound.html
                    129: ErrorDocument     406 /adm/roles
                    130: ErrorDocument     500 /adm/errorhandler
                    131: </Location>
                    132: 
1.21      www       133: <LocationMatch "^/+userfiles.*">
1.215.2.22.6.  (raeburn  134:): Options +FollowSymLinks -Includes
1.11      www       135: PerlAccessHandler       Apache::lontokacc
1.58      www       136: PerlCleanupHandler	Apache::lontokacc::removefile
1.129     albertel  137: PerlCleanupHandler	Apache::lonacc::cleanup
1.12      www       138: </LocationMatch>
                    139: 
1.76      albertel  140: <LocationMatch "^/+uploaded.*">
1.139     albertel  141: AuthType LONCAPA
1.125     albertel  142: Require valid-user
                    143: PerlAuthzHandler	Apache::lonacc
1.178     raeburn   144: PerlHandler 		Apache::londatecheck
                    145: PerlHandler  		Apache::lonipcheck
1.75      raeburn   146: PerlHeaderParserHandler Apache::lonuploadrep
1.80      albertel  147: ErrorDocument     403 /adm/login
1.16      www       148: ErrorDocument     404 /adm/notfound.html
1.80      albertel  149: ErrorDocument     406 /adm/roles
1.16      www       150: ErrorDocument	  500 /adm/errorhandler
1.75      raeburn   151: </LocationMatch>
                    152: 
1.215.2.22.6.  (raeburn  153:): <LocationMatch "^/+uploaded/.+/.+/(portfolio|feedback|docs|groups|supplemental)/.+">
                    154:):     Options +FollowSymLinks -Includes
                    155:): </LocationMatch>
                    156:): 
1.106     albertel  157: <LocationMatch "^/+editupload.*">
1.139     albertel  158: AuthType LONCAPA
1.125     albertel  159: Require valid-user
                    160: PerlAuthzHandler	Apache::lonacc
1.106     albertel  161: ErrorDocument     403 /adm/login
                    162: ErrorDocument     406 /adm/roles
                    163: ErrorDocument	  500 /adm/errorhandler
                    164: </LocationMatch>
                    165: 
1.98      albertel  166: <LocationMatch "^/+uploaded/.*/.*/internal/.*">
1.150     albertel  167: PerlAuthenHandler	Apache::lonuploadedacc
                    168: PerlAuthzHandler	Apache::lonuploadedacc::skip_phase
1.151     albertel  169: PerlAccessHandler	Apache::lonuploadedacc::skip_phase
1.98      albertel  170: </LocationMatch>
                    171: 
1.140     raeburn   172: <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
                    173: PerlAccessHandler      Apache::publiccheck
1.141     albertel  174: AuthType LONCAPA
1.140     raeburn   175: Require valid-user
                    176: PerlAuthzHandler       Apache::lonacc
                    177: </LocationMatch>
                    178: 
                    179: <LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
                    180: PerlAccessHandler      Apache::publiccheck
1.141     albertel  181: AuthType LONCAPA
1.140     raeburn   182: Require valid-user
                    183: PerlAuthzHandler       Apache::lonacc
                    184: </LocationMatch>
1.98      albertel  185: 
1.76      albertel  186: <LocationMatch "^/+uploaded/.*\.page$">
1.75      raeburn   187: SetHandler perl-script
1.126     albertel  188: PerlHandler Apache::lonpage
1.75      raeburn   189: </LocationMatch>
                    190: 
1.76      albertel  191: <LocationMatch "^/+uploaded/.*\.sequence$">
1.75      raeburn   192: SetHandler perl-script
1.126     albertel  193: PerlHandler Apache::lonsequence
1.16      www       194: </LocationMatch>
                    195: 
1.44      www       196: <LocationMatch "^/+public/.*/syllabus$">
1.132     albertel  197: PerlAccessHandler      Apache::publiccheck
1.139     albertel  198: AuthType LONCAPA
1.125     albertel  199: Require valid-user
                    200: PerlAuthzHandler	Apache::lonacc
1.16      www       201: SetHandler              perl-script
1.126     albertel  202: PerlHandler             Apache::lonsyllabus
1.16      www       203: ErrorDocument     404 /adm/notfound.html
                    204: ErrorDocument	  500 /adm/errorhandler
                    205: </LocationMatch>
                    206: 
1.122     www       207: <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
1.132     albertel  208: PerlAccessHandler      Apache::publiccheck
1.139     albertel  209: AuthType LONCAPA
1.125     albertel  210: Require valid-user
                    211: PerlAuthzHandler	Apache::lonacc
1.121     www       212: SetHandler              perl-script
1.126     albertel  213: PerlHandler             Apache::lonrss
1.121     www       214: ErrorDocument     404 /adm/notfound.html
                    215: ErrorDocument	  500 /adm/errorhandler
                    216: </LocationMatch>
                    217: 
1.44      www       218: <LocationMatch "^/adm/.*/aboutme$">
1.139     albertel  219: AuthType LONCAPA
1.125     albertel  220: Require valid-user
                    221: PerlAuthzHandler	Apache::lonacc
1.16      www       222: SetHandler              perl-script
1.126     albertel  223: PerlHandler             Apache::lonaboutme
1.19      www       224: ErrorDocument     404 /adm/notfound.html
1.54      www       225: ErrorDocument     406 /adm/notinit.html
1.19      www       226: ErrorDocument	  500 /adm/errorhandler
                    227: </LocationMatch>
                    228: 
1.153     albertel  229: <LocationMatch "^/adm/.*/aboutme/portfolio$">
                    230: PerlAccessHandler       Apache::publiccheck
                    231: AuthType LONCAPA
                    232: Require valid-user
                    233: PerlAuthzHandler	Apache::lonacc
                    234: SetHandler              perl-script
                    235: PerlHandler             Apache::lonaboutme
                    236: ErrorDocument     404 /adm/notfound.html
                    237: ErrorDocument     406 /adm/notinit.html
                    238: ErrorDocument	  500 /adm/errorhandler
                    239: </LocationMatch>
                    240: 
1.44      www       241: <LocationMatch "^/adm/.*/smppg$">
1.139     albertel  242: AuthType LONCAPA
1.125     albertel  243: Require valid-user
                    244: PerlAuthzHandler	Apache::lonacc
1.19      www       245: SetHandler              perl-script
1.172     www       246: PerlHandler             Apache::londatecheck
1.178     raeburn   247: PerlHandler		Apache::lonipcheck
1.126     albertel  248: PerlHandler             Apache::lonsimplepage
1.19      www       249: ErrorDocument     404 /adm/notfound.html
1.54      www       250: ErrorDocument     406 /adm/notinit.html
1.19      www       251: ErrorDocument	  500 /adm/errorhandler
                    252: </LocationMatch>
                    253: 
1.44      www       254: <LocationMatch "^/adm/.*/bulletinboard$">
1.139     albertel  255: AuthType LONCAPA
1.125     albertel  256: Require valid-user
                    257: PerlAuthzHandler	Apache::lonacc
1.19      www       258: SetHandler              perl-script
1.126     albertel  259: PerlHandler             Apache::londatecheck
1.178     raeburn   260: PerlHandler		Apache::lonipcheck
1.126     albertel  261: PerlHandler             Apache::lonbulletin
1.55      www       262: ErrorDocument     404 /adm/notfound.html
                    263: ErrorDocument     406 /adm/notinit.html
                    264: ErrorDocument	  500 /adm/errorhandler
                    265: </LocationMatch>
                    266: 
                    267: <LocationMatch "\.problem/smpedit$">
1.139     albertel  268: AuthType LONCAPA
1.125     albertel  269: Require valid-user
                    270: PerlAuthzHandler	Apache::lonacc
1.55      www       271: SetHandler              perl-script
1.126     albertel  272: PerlHandler             Apache::lonsimpleproblemedit
1.11      www       273: ErrorDocument     404 /adm/notfound.html
1.54      www       274: ErrorDocument     406 /adm/notinit.html
1.1       harris41  275: ErrorDocument	  500 /adm/errorhandler
                    276: </LocationMatch>
                    277: 
1.205     www       278: <LocationMatch "^/+priv/.*">
1.139     albertel  279: AuthType LONCAPA
1.131     albertel  280: Require valid-user
1.125     albertel  281: PerlAuthzHandler Apache::loncacc
1.1       harris41  282: SetHandler        perl-script
                    283: ErrorDocument     403 /adm/login
                    284: ErrorDocument     404 /adm/notfound.html
1.18      www       285: ErrorDocument     406 /adm/unauthorized
1.1       harris41  286: ErrorDocument	  500 /adm/errorhandler
                    287: </LocationMatch>
                    288: 
1.215.2.15  raeburn   289: <LocationMatch "^/+webdav/[\w\-.]+/\w[\w.\-\@]+/">
1.214     raeburn   290:   <IfModule mod_dav.c>
                    291:     <IfModule mod_ssl.c>
                    292:       AuthType Basic
                    293:       AuthName "LONCAPA username,domain"
                    294:       Require valid-user
                    295:       SSLRequireSSL
                    296:       PerlAuthenHandler Apache::lonwebdavauth
                    297:       PerlAuthzHandler Apache::lonwebdavacc
                    298:       Dav On
                    299:       DirectoryIndex index.missing
                    300:       Options Indexes FollowSymLinks
                    301:       ErrorDocument     403 /adm/nowebdav.html
                    302:       ErrorDocument     404 /adm/notfound.html
                    303:       ErrorDocument     406 /adm/unauthorized
                    304:       ErrorDocument     500 /adm/errorhandler
                    305:     </IfModule>
                    306:     <IfModule !mod_ssl.c>
                    307:       <IfModule mod_rewrite.c>
                    308:         RewriteEngine on
                    309:         RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
                    310:       </IfModule>
                    311:     </IfModule>
1.211     raeburn   312:   </IfModule>
1.214     raeburn   313:   <IfModule !mod_dav.c>
1.211     raeburn   314:     <IfModule mod_rewrite.c>
1.214     raeburn   315:       RewriteEngine on
                    316:       RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
1.211     raeburn   317:     </IfModule>
                    318:   </IfModule>
1.210     raeburn   319: </LocationMatch>
                    320: 
1.21      www       321: <LocationMatch "^/+raw.*">
1.1       harris41  322: PerlAccessHandler Apache::lonracc
                    323: </LocationMatch>
                    324: 
1.41      bowersj2  325: <LocationMatch "^/adm/helper/.*\.helper$">
1.139     albertel  326: AuthType LONCAPA
1.125     albertel  327: Require valid-user
1.142     albertel  328: PerlAuthzHandler  Apache::lonacc
1.41      bowersj2  329: SetHandler        perl-script
1.126     albertel  330: PerlHandler       Apache::lonhelper
1.41      bowersj2  331: ErrorDocument     403 /adm/login
                    332: ErrorDocument     404 /adm/notfound.html
                    333: ErrorDocument     406 /adm/unauthorized
                    334: ErrorDocument     500 /adm/errorhandler
                    335: </LocationMatch>
                    336: 
1.23      albertel  337: <LocationMatch "/prtspool">
1.139     albertel  338: AuthType LONCAPA
1.125     albertel  339: Require valid-user
                    340: PerlAuthzHandler Apache::lonacc
1.23      albertel  341: ErrorDocument     403 /adm/login
                    342: ErrorDocument     404 /adm/notfound.html
                    343: ErrorDocument     406 /adm/roles
1.99      www       344: ErrorDocument     413 /adm/overloaded.txt
1.23      albertel  345: ErrorDocument	  500 /adm/errorhandler
                    346: </LocationMatch>
1.167     banghart  347: 
                    348: <LocationMatch "/zipspool">
                    349: AuthType LONCAPA
                    350: Require valid-user
                    351: PerlAuthzHandler Apache::lonacc
                    352: ErrorDocument     403 /adm/login
                    353: ErrorDocument     404 /adm/notfound.html
                    354: ErrorDocument     406 /adm/roles
                    355: ErrorDocument     413 /adm/overloaded.txt
                    356: ErrorDocument	  500 /adm/errorhandler
                    357: </LocationMatch>
1.1       harris41  358: # ------------------------------------------------------------------------- RAT
                    359: 
1.205     www       360: <LocationMatch "^/+priv/.*\.sequence$">
1.1       harris41  361: SetHandler perl-script
1.126     albertel  362: PerlHandler Apache::lonratedt
1.1       harris41  363: </LocationMatch>
                    364: 
1.205     www       365: <LocationMatch "^/+priv/.*\.page$">
1.1       harris41  366: SetHandler perl-script
1.126     albertel  367: PerlHandler Apache::lonratedt
1.1       harris41  368: </LocationMatch>
                    369: 
1.205     www       370: <LocationMatch "^/+priv/.*\/ratserver$">
1.1       harris41  371: SetHandler perl-script
1.126     albertel  372: PerlHandler Apache::lonratsrv
1.1       harris41  373: </LocationMatch>
                    374: 
1.205     www       375: <LocationMatch "^/+priv/.*\/adveditmenu$">
1.100     raeburn   376: SetHandler perl-script
1.126     albertel  377: PerlHandler Apache::lonratmenu
1.100     raeburn   378: </LocationMatch>
                    379: 
1.1       harris41  380: <Location /adm/ratparms>
1.139     albertel  381: AuthType LONCAPA
1.125     albertel  382: Require valid-user
                    383: PerlAuthzHandler       Apache::lonacc
1.1       harris41  384: SetHandler perl-script
1.126     albertel  385: PerlHandler Apache::lonratparms
1.1       harris41  386: ErrorDocument     403 /adm/login
                    387: ErrorDocument	  500 /adm/errorhandler
                    388: </Location>
                    389: 
                    390: # --------------------------------------------- Resource Space Content Handlers
                    391: 
1.64      albertel  392: <LocationMatch "^/+res.*/$">
1.1       harris41  393: SetHandler perl-script
1.126     albertel  394: PerlHandler Apache::lonindexer
1.29      www       395: PerlCleanupHandler Apache::lonindexer::cleanup
1.129     albertel  396: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  397: </LocationMatch>
                    398: 
1.190     raeburn   399: <LocationMatch "^/+res.*\.tex$">
1.1       harris41  400: SetHandler perl-script
1.126     albertel  401: PerlHandler Apache::lontex
1.1       harris41  402: </LocationMatch>
                    403: 
1.71      www       404: <LocationMatch "^/+res/.*\.page$">
1.1       harris41  405: SetHandler perl-script
1.126     albertel  406: PerlHandler Apache::lonpage
1.1       harris41  407: </LocationMatch>
                    408: 
1.71      www       409: <LocationMatch "^/+res/.*\.sequence$">
1.1       harris41  410: SetHandler perl-script
1.126     albertel  411: PerlHandler Apache::lonsequence
1.1       harris41  412: </LocationMatch>
                    413: 
1.205     www       414: <LocationMatch "^/+(res|priv|public|uploaded|editupload|adm)/.*\.meta$">
1.132     albertel  415: PerlAccessHandler      Apache::publiccheck
1.1       harris41  416: SetHandler perl-script
1.126     albertel  417: PerlHandler Apache::lonmeta
1.99      www       418: ErrorDocument     413 /adm/overloaded.txt
1.39      www       419: </LocationMatch>
                    420: 
1.71      www       421: <LocationMatch "^/adm/bombs/">
1.139     albertel  422: AuthType LONCAPA
1.125     albertel  423: Require valid-user
                    424: PerlAuthzHandler Apache::lonacc
1.215.2.10  raeburn   425: SetHandler perl-script
1.126     albertel  426: PerlHandler Apache::lonmeta
1.71      www       427: </LocationMatch>
                    428: 
                    429: 
                    430: 
1.205     www       431: <LocationMatch "^/+(res|priv)/.*\.rights$">
1.39      www       432: SetHandler perl-script
1.126     albertel  433: PerlHandler Apache::lonrights
1.1       harris41  434: </LocationMatch>
                    435: 
1.205     www       436: <LocationMatch "^/+(uploaded|res|priv)/.*\.(xml|html|htm|xhtml|xhtm|sty)$">
1.1       harris41  437: SetHandler perl-script
1.126     albertel  438: PerlHandler Apache::londatecheck
1.178     raeburn   439: PerlHandler Apache::lonipcheck
1.126     albertel  440: PerlHandler Apache::lonxml
1.1       harris41  441: </LocationMatch>
                    442: 
1.205     www       443: <LocationMatch "^/+(res|priv).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
1.1       harris41  444: SetHandler perl-script
1.126     albertel  445: PerlHandler Apache::lonhomework
1.1       harris41  446: </LocationMatch>
                    447: 
1.205     www       448: <LocationMatch "^/+priv/.*\.(js|css|txt|tex)$">
1.185     raeburn   449: SetHandler perl-script
                    450: PerlHandler Apache::lonxml
                    451: </LocationMatch>
                    452: 
1.1       harris41  453: <LocationMatch "^/adm/wrapper/">
1.139     albertel  454: AuthType LONCAPA
1.125     albertel  455: Require valid-user
                    456: PerlAuthzHandler       Apache::lonacc
1.172     www       457: PerlHandler Apache::londatecheck
1.178     raeburn   458: PerlHandler Apache::lonipcheck
1.1       harris41  459: SetHandler perl-script
1.126     albertel  460: PerlHandler Apache::lonwrapper
1.66      www       461: ErrorDocument     403 /adm/login
                    462: ErrorDocument	  500 /adm/errorhandler
                    463: </LocationMatch>
                    464: 
1.113     www       465: <LocationMatch "^/adm/source">
1.139     albertel  466: AuthType LONCAPA
1.125     albertel  467: Require valid-user
                    468: PerlAuthzHandler       Apache::lonacc
1.83      taceyjo1  469: SetHandler perl-script
1.126     albertel  470: PerlHandler Apache::lonsource
1.83      taceyjo1  471: ErrorDocument     403 /adm/login
1.85      www       472: ErrorDocument     406 /adm/roles
1.83      taceyjo1  473: ErrorDocument	  500 /adm/errorhandler
                    474: </LocationMatch>
                    475: 
                    476: 
1.66      www       477: <LocationMatch "^/adm/localize/">
1.139     albertel  478: AuthType LONCAPA
1.125     albertel  479: Require valid-user
                    480: PerlAuthzHandler       Apache::lonacc
1.66      www       481: SetHandler perl-script
1.126     albertel  482: PerlHandler Apache::lonlocalize
1.1       harris41  483: ErrorDocument     403 /adm/login
                    484: ErrorDocument	  500 /adm/errorhandler
                    485: </LocationMatch>
                    486: 
                    487: # -------------------------------------------------------------- Admin Programs
1.24      albertel  488: 
                    489: <Location /adm/randomlabel.png>
1.139     albertel  490: AuthType LONCAPA
1.125     albertel  491: Require valid-user
                    492: PerlAuthzHandler       Apache::lonacc
1.24      albertel  493: SetHandler perl-script
1.126     albertel  494: PerlHandler Apache::randomlylabel
1.69      albertel  495: ErrorDocument     403 /adm/login
                    496: ErrorDocument	  500 /adm/errorhandler
                    497: </Location>
                    498: 
                    499: <Location /adm/imagechoice>
1.139     albertel  500: AuthType LONCAPA
1.125     albertel  501: Require valid-user
                    502: PerlAuthzHandler       Apache::lonacc
1.69      albertel  503: SetHandler perl-script
1.126     albertel  504: PerlHandler Apache::imagechoice
1.24      albertel  505: ErrorDocument     403 /adm/login
                    506: ErrorDocument	  500 /adm/errorhandler
                    507: </Location>
1.1       harris41  508: 
1.200     www       509: <Location /adm/searchcourse>
                    510: AuthType LONCAPA
                    511: Require valid-user
                    512: PerlAuthzHandler       Apache::lonacc
                    513: SetHandler perl-script
                    514: PerlHandler Apache::lonsearchcourse
                    515: ErrorDocument     403 /adm/login
                    516: ErrorDocument     500 /adm/errorhandler
                    517: </Location>
                    518: 
1.1       harris41  519: <Location /adm/statistics>
1.139     albertel  520: AuthType LONCAPA
1.125     albertel  521: Require valid-user
                    522: PerlAuthzHandler       Apache::lonacc
1.1       harris41  523: SetHandler perl-script
1.126     albertel  524: PerlHandler Apache::lonstatistics
1.1       harris41  525: ErrorDocument     403 /adm/login
1.20      www       526: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  527: ErrorDocument	  500 /adm/errorhandler
                    528: </Location>
                    529: 
1.92      matthew   530: <Location /adm/trackstudent>
1.139     albertel  531: AuthType LONCAPA
1.125     albertel  532: Require valid-user
                    533: PerlAuthzHandler       Apache::lonacc
1.92      matthew   534: SetHandler perl-script
1.126     albertel  535: PerlHandler Apache::lontrackstudent
1.92      matthew   536: ErrorDocument     403 /adm/login
                    537: ErrorDocument     413 /adm/overloaded.txt
                    538: ErrorDocument	  500 /adm/errorhandler
                    539: </Location>
                    540: 
1.1       harris41  541: <Location /adm/roles>
1.139     albertel  542: AuthType LONCAPA
1.125     albertel  543: Require valid-user
                    544: PerlAuthzHandler       Apache::lonacc
1.1       harris41  545: SetHandler perl-script
1.126     albertel  546: PerlHandler Apache::lonroles
1.33      www       547: ErrorDocument     403 /adm/login
1.174     www       548: ErrorDocument     409 /adm/preferences?action=lockwarning
1.33      www       549: ErrorDocument	  500 /adm/errorhandler
                    550: </Location>
                    551: 
                    552: <Location /adm/menu>
1.139     albertel  553: AuthType LONCAPA
1.125     albertel  554: Require valid-user
                    555: PerlAuthzHandler       Apache::lonacc
1.33      www       556: SetHandler perl-script
1.128     albertel  557: PerlHandler Apache::lonmainmenu
1.42      www       558: ErrorDocument     403 /adm/login
                    559: ErrorDocument	  500 /adm/errorhandler
                    560: </Location>
                    561: 
1.215.2.1  raeburn   562: <Location /adm/remote>
1.203     www       563: AuthType LONCAPA
                    564: Require valid-user
                    565: PerlAuthzHandler       Apache::lonacc
                    566: SetHandler perl-script
1.215.2.1  raeburn   567: PerlHandler Apache::lonremote
1.203     www       568: ErrorDocument     403 /adm/login
                    569: ErrorDocument     500 /adm/errorhandler
                    570: </Location>
                    571: 
1.176     raeburn   572: <Location /adm/pickauthor>
                    573: AuthType LONCAPA
                    574: Require valid-user
                    575: PerlAuthzHandler       Apache::lonacc
                    576: SetHandler perl-script
                    577: PerlHandler Apache::lonpickauthor
                    578: ErrorDocument     403 /adm/login
                    579: ErrorDocument     500 /adm/errorhandler
                    580: </Location>
                    581: 
1.27      www       582: <Location /adm/pickstudent>
1.139     albertel  583: AuthType LONCAPA
1.125     albertel  584: Require valid-user
                    585: PerlAuthzHandler       Apache::lonacc
1.27      www       586: SetHandler perl-script
1.126     albertel  587: PerlHandler Apache::lonpickstudent
1.40      www       588: ErrorDocument     403 /adm/login
                    589: ErrorDocument	  500 /adm/errorhandler
                    590: </Location>
                    591: 
1.187     raeburn   592: <Location /adm/pickuser>
                    593: AuthType LONCAPA
                    594: Require valid-user
                    595: PerlAuthzHandler       Apache::lonacc
                    596: SetHandler perl-script
                    597: PerlHandler Apache::lonpickuser
                    598: ErrorDocument     403 /adm/login
                    599: ErrorDocument     406 /adm/roles
                    600: ErrorDocument     500 /adm/errorhandler
                    601: </Location>
                    602: 
1.40      www       603: <Location /adm/pickcourse>
1.139     albertel  604: AuthType LONCAPA
1.125     albertel  605: Require valid-user
                    606: PerlAuthzHandler       Apache::lonacc
1.40      www       607: SetHandler perl-script
1.126     albertel  608: PerlHandler Apache::lonpickcourse
1.77      albertel  609: ErrorDocument     403 /adm/login
                    610: ErrorDocument	  500 /adm/errorhandler
                    611: </Location>
                    612: 
                    613: <Location /adm/pickcode>
1.139     albertel  614: AuthType LONCAPA
1.125     albertel  615: Require valid-user
                    616: PerlAuthzHandler       Apache::lonacc
1.77      albertel  617: SetHandler perl-script
1.126     albertel  618: PerlHandler Apache::lonpickcode
1.1       harris41  619: ErrorDocument     403 /adm/login
                    620: ErrorDocument	  500 /adm/errorhandler
                    621: </Location>
                    622: 
1.215     raeburn   623: <Location /adm/dependencies>
                    624: AuthType LONCAPA
                    625: Require valid-user
                    626: PerlAuthzHandler       Apache::lonacc
                    627: SetHandler perl-script
                    628: PerlHandler Apache::londependencies
                    629: ErrorDocument     403 /adm/login
                    630: ErrorDocument     406 /adm/roles
                    631: ErrorDocument     500 /adm/errorhandler
                    632: </Location>
                    633: 
1.1       harris41  634: <Location /adm/login>
                    635: SetHandler perl-script
1.126     albertel  636: PerlHandler Apache::lonlogin
1.1       harris41  637: </Location>
                    638: 
1.148     raeburn   639: <Location /adm/restrictedaccess>
                    640: PerlAccessHandler      Apache::publiccheck
                    641: AuthType LONCAPA
1.152     albertel  642: Require valid-user
1.149     albertel  643: PerlAuthzHandler       Apache::lonacc
1.215.2.10  raeburn   644: SetHandler perl-script
1.148     raeburn   645: PerlHandler Apache::restrictedaccess
1.154     albertel  646: ErrorDocument	  500 /adm/errorhandler
1.148     raeburn   647: </Location>
                    648: 
1.162     raeburn   649: <Location /adm/blockedaccess>
                    650: PerlAccessHandler      Apache::publiccheck
                    651: AuthType LONCAPA
                    652: Require valid-user
                    653: PerlAuthzHandler       Apache::lonacc
1.215.2.10  raeburn   654: SetHandler perl-script
1.162     raeburn   655: PerlHandler Apache::blockedaccess
                    656: ErrorDocument     500 /adm/errorhandler
                    657: </Location>
                    658: 
1.1       harris41  659: <Location /adm/logout>
1.139     albertel  660: AuthType LONCAPA
1.125     albertel  661: Require valid-user
                    662: PerlAuthzHandler       Apache::lonacc
1.1       harris41  663: SetHandler perl-script
1.126     albertel  664: PerlHandler Apache::lonlogout
1.1       harris41  665: ErrorDocument     403 /adm/login
1.175     www       666: ErrorDocument     409 /adm/preferences?action=lockwarning
1.154     albertel  667: ErrorDocument	  500 /adm/errorhandler
1.1       harris41  668: </Location>
                    669: 
1.117     albertel  670: <Location /adm/switchserver>
1.139     albertel  671: AuthType LONCAPA
1.125     albertel  672: Require valid-user
                    673: PerlAuthzHandler       Apache::lonacc
1.117     albertel  674: SetHandler perl-script
1.126     albertel  675: PerlHandler Apache::switchserver
1.117     albertel  676: ErrorDocument     403 /adm/login
1.154     albertel  677: ErrorDocument	  500 /adm/errorhandler
1.117     albertel  678: </Location>
                    679: 
1.1       harris41  680: <Location /adm/authenticate>
                    681: SetHandler perl-script
1.126     albertel  682: PerlHandler Apache::lonauth
1.1       harris41  683: </Location>
                    684: 
1.117     albertel  685: <Location /adm/migrateuser>
                    686: SetHandler perl-script
1.126     albertel  687: PerlHandler Apache::migrateuser
1.117     albertel  688: </Location>
                    689: 
1.212     raeburn   690: <Location /adm/sso>
                    691:   <IfModule mod_shib>
                    692:     AuthType shibboleth
                    693:     ShibUseEnvironment On
                    694:     ShibRequestSetting requireSession 1
                    695:     ShibRequestSetting redirectToSSL 443
                    696:     require valid-user
                    697:     PerlAuthzHandler       Apache::lonshibacc
                    698:     PerlAuthzHandler       Apache::lonacc
                    699:   </IfModule>
1.213     raeburn   700:   <IfModule !mod_shib>
                    701:     PerlTypeHandler        Apache::lonnoshib
                    702:   </IfModule>
1.212     raeburn   703: </Location>
                    704: 
1.1       harris41  705: <Location /adm/annotations>
1.139     albertel  706: AuthType LONCAPA
1.125     albertel  707: Require valid-user
                    708: PerlAuthzHandler       Apache::lonacc
1.1       harris41  709: SetHandler perl-script
1.126     albertel  710: PerlHandler Apache::admannotations
1.1       harris41  711: ErrorDocument     403 /adm/login
                    712: ErrorDocument	  500 /adm/errorhandler
                    713: </Location>
                    714: 
1.91      www       715: <Location /adm/spellcheck>
1.139     albertel  716: AuthType LONCAPA
1.125     albertel  717: Require valid-user
                    718: PerlAuthzHandler       Apache::lonacc
1.91      www       719: SetHandler perl-script
1.126     albertel  720: PerlHandler Apache::lonspeller
1.91      www       721: ErrorDocument     403 /adm/login
                    722: ErrorDocument	  500 /adm/errorhandler
                    723: </Location>
                    724: 
1.1       harris41  725: <Location /adm/flip>
1.139     albertel  726: AuthType LONCAPA
1.125     albertel  727: Require valid-user
                    728: PerlAuthzHandler       Apache::lonacc
1.1       harris41  729: SetHandler perl-script
1.126     albertel  730: PerlHandler Apache::lonpageflip
1.30      www       731: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129     albertel  732: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  733: ErrorDocument     406 /adm/roles
                    734: ErrorDocument     403 /adm/login
                    735: ErrorDocument	  500 /adm/errorhandler
                    736: </Location>
                    737: 
                    738: <Location /adm/ambiguous>
1.139     albertel  739: AuthType LONCAPA
1.125     albertel  740: Require valid-user
                    741: PerlAuthzHandler       Apache::lonacc
1.1       harris41  742: SetHandler perl-script
1.126     albertel  743: PerlHandler Apache::lonambiguous
1.30      www       744: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129     albertel  745: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  746: ErrorDocument     403 /adm/login
                    747: ErrorDocument	  500 /adm/errorhandler
                    748: </Location>
                    749: 
                    750: <Location /adm/email>
1.139     albertel  751: AuthType LONCAPA
1.125     albertel  752: Require valid-user
                    753: PerlAuthzHandler       Apache::lonacc
1.1       harris41  754: SetHandler perl-script
1.130     albertel  755: PerlHandler Apache::lonmsgdisplay
1.1       harris41  756: ErrorDocument     403 /adm/login
                    757: ErrorDocument	  500 /adm/errorhandler
                    758: </Location>
                    759: 
1.116     raeburn   760: <Location /adm/notify>
1.139     albertel  761: AuthType LONCAPA
1.125     albertel  762: Require valid-user
                    763: PerlAuthzHandler       Apache::lonacc
1.116     raeburn   764: SetHandler perl-script
1.126     albertel  765: PerlHandler Apache::lonnotify
1.116     raeburn   766: ErrorDocument     403 /adm/login
                    767: ErrorDocument     500 /adm/errorhandler
                    768: </Location>
                    769: 
1.1       harris41  770: <Location /adm/parmset>
1.139     albertel  771: AuthType LONCAPA
1.125     albertel  772: Require valid-user
                    773: PerlAuthzHandler       Apache::lonacc
1.1       harris41  774: SetHandler perl-script
1.126     albertel  775: PerlHandler Apache::lonparmset
1.31      bowersj2  776: ErrorDocument     403 /adm/login
                    777: ErrorDocument     406 /adm/roles
                    778: ErrorDocument	  500 /adm/errorhandler
                    779: </Location>
                    780: 
1.185     raeburn   781: <Location /adm/courseprefs>
                    782: AuthType LONCAPA
                    783: Require valid-user
                    784: PerlAuthzHandler       Apache::lonacc
                    785: SetHandler perl-script
                    786: PerlHandler Apache::courseprefs
                    787: ErrorDocument     403 /adm/login
                    788: ErrorDocument     406 /adm/roles
                    789: ErrorDocument     500 /adm/errorhandler
                    790: </Location>
                    791: 
1.110     albertel  792: <Location /adm/slotrequest>
1.139     albertel  793: AuthType LONCAPA
1.125     albertel  794: Require valid-user
                    795: PerlAuthzHandler       Apache::lonacc
1.110     albertel  796: SetHandler perl-script
1.126     albertel  797: PerlHandler Apache::slotrequest
1.110     albertel  798: ErrorDocument     403 /adm/login
                    799: ErrorDocument     406 /adm/roles
                    800: ErrorDocument	  500 /adm/errorhandler
                    801: </Location>
                    802: 
1.31      bowersj2  803: <Location /adm/wizard>
1.139     albertel  804: AuthType LONCAPA
1.125     albertel  805: Require valid-user
                    806: PerlAuthzHandler       Apache::lonacc
1.31      bowersj2  807: SetHandler perl-script
1.126     albertel  808: PerlHandler Apache::lonwizard
1.1       harris41  809: ErrorDocument     403 /adm/login
                    810: ErrorDocument     406 /adm/roles
                    811: ErrorDocument	  500 /adm/errorhandler
                    812: </Location>
                    813: 
                    814: <Location /adm/grades>
1.139     albertel  815: AuthType LONCAPA
1.125     albertel  816: Require valid-user
                    817: PerlAuthzHandler       Apache::lonacc
1.1       harris41  818: SetHandler perl-script
1.126     albertel  819: PerlHandler Apache::grades
1.1       harris41  820: ErrorDocument     403 /adm/login
                    821: ErrorDocument     406 /adm/roles
                    822: ErrorDocument	  500 /adm/errorhandler
                    823: </Location>
                    824: 
1.187     raeburn   825: <Location /adm/requestcourse>
                    826: AuthType LONCAPA
                    827: Require valid-user
                    828: PerlAuthzHandler       Apache::lonacc
                    829: SetHandler perl-script
                    830: PerlHandler Apache::lonrequestcourse
                    831: ErrorDocument     403 /adm/login
                    832: ErrorDocument     406 /adm/roles
                    833: ErrorDocument     500 /adm/errorhandler
                    834: </Location>
                    835: 
1.1       harris41  836: <Location /adm/createcourse>
1.139     albertel  837: AuthType LONCAPA
1.125     albertel  838: Require valid-user
                    839: PerlAuthzHandler       Apache::lonacc
1.1       harris41  840: SetHandler perl-script
1.126     albertel  841: PerlHandler Apache::loncreatecourse
1.1       harris41  842: ErrorDocument     403 /adm/login
                    843: ErrorDocument     406 /adm/roles
                    844: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn   845: </Location>
                    846: 
                    847: <Location /adm/modifycourse>
1.139     albertel  848: AuthType LONCAPA
1.125     albertel  849: Require valid-user
                    850: PerlAuthzHandler       Apache::lonacc
1.67      raeburn   851: SetHandler perl-script
1.126     albertel  852: PerlHandler Apache::lonmodifycourse
1.67      raeburn   853: ErrorDocument     403 /adm/login
                    854: ErrorDocument     406 /adm/roles
                    855: ErrorDocument     500 /adm/errorhandler
1.1       harris41  856: </Location>
                    857: 
1.163     raeburn   858: <Location /adm/domainprefs>
                    859: AuthType LONCAPA
                    860: Require valid-user
                    861: PerlAuthzHandler       Apache::lonacc
                    862: SetHandler perl-script
                    863: PerlHandler Apache::domainprefs
                    864: ErrorDocument     403 /adm/login
                    865: ErrorDocument     406 /adm/roles
                    866: ErrorDocument     500 /adm/errorhandler
                    867: </Location>
                    868: 
1.182     raeburn   869: <Location /adm/domainstatus>
                    870: PerlAccessHandler       Apache::lonstatusacc
                    871: SetHandler perl-script
                    872: PerlHandler Apache::domainstatus
                    873: ErrorDocument     403 /adm/login
                    874: ErrorDocument     406 /adm/roles
                    875: ErrorDocument     500 /adm/errorhandler
                    876: </Location>
                    877: 
1.1       harris41  878: <Location /adm/createuser>
1.139     albertel  879: AuthType LONCAPA
1.125     albertel  880: Require valid-user
                    881: PerlAuthzHandler       Apache::lonacc
1.1       harris41  882: SetHandler perl-script
1.126     albertel  883: PerlHandler Apache::loncreateuser
1.1       harris41  884: ErrorDocument     403 /adm/login
                    885: ErrorDocument     406 /adm/roles
                    886: ErrorDocument	  500 /adm/errorhandler
                    887: </Location>
                    888: 
                    889: <Location /adm/publish>
1.139     albertel  890: AuthType LONCAPA
1.125     albertel  891: Require valid-user
                    892: PerlAuthzHandler       Apache::lonacc
1.1       harris41  893: SetHandler perl-script
1.126     albertel  894: PerlHandler Apache::lonpublisher
1.1       harris41  895: ErrorDocument     403 /adm/login
                    896: ErrorDocument     404 /adm/notfound.html
1.18      www       897: ErrorDocument     406 /adm/unauthorized
1.1       harris41  898: ErrorDocument	  500 /adm/errorhandler
                    899: </Location>
                    900: 
1.205     www       901: <LocationMatch "^/+priv/.*/$">
1.139     albertel  902: AuthType LONCAPA
1.131     albertel  903: Require valid-user
1.125     albertel  904: PerlAuthzHandler       Apache::loncacc
1.1       harris41  905: SetHandler perl-script
1.126     albertel  906: PerlHandler Apache::lonpubdir
1.1       harris41  907: ErrorDocument     403 /adm/login
                    908: ErrorDocument     404 /adm/notfound.html
1.18      www       909: ErrorDocument     406 /adm/unauthorized
1.1       harris41  910: ErrorDocument	  500 /adm/errorhandler
                    911: </LocationMatch>
                    912: 
1.18      www       913: <Location /adm/unauthorized>
1.139     albertel  914: AuthType LONCAPA
1.125     albertel  915: Require valid-user
                    916: PerlAuthzHandler       Apache::lonacc
1.18      www       917: SetHandler perl-script
1.126     albertel  918: PerlHandler Apache::lonunauthorized
1.18      www       919: ErrorDocument     403 /adm/login
                    920: ErrorDocument     404 /adm/notfound.html
1.1       harris41  921: ErrorDocument	  500 /adm/errorhandler
                    922: </Location>
                    923: 
                    924: <Location /adm/retrieve>
1.139     albertel  925: AuthType LONCAPA
1.125     albertel  926: Require valid-user
                    927: PerlAuthzHandler       Apache::lonacc
1.1       harris41  928: SetHandler perl-script
1.126     albertel  929: PerlHandler Apache::lonretrieve
1.1       harris41  930: ErrorDocument     403 /adm/login
                    931: ErrorDocument     404 /adm/notfound.html
1.18      www       932: ErrorDocument     406 /adm/unauthorized
1.1       harris41  933: ErrorDocument	  500 /adm/errorhandler
                    934: </Location>
                    935: 
1.109     www       936: <Location /adm/cleanup>
1.139     albertel  937: AuthType LONCAPA
1.125     albertel  938: Require valid-user
                    939: PerlAuthzHandler       Apache::lonacc
1.109     www       940: SetHandler perl-script
1.126     albertel  941: PerlHandler Apache::loncleanup
1.109     www       942: ErrorDocument     403 /adm/login
                    943: ErrorDocument     404 /adm/notfound.html
                    944: ErrorDocument     406 /adm/unauthorized
                    945: ErrorDocument	  500 /adm/errorhandler
                    946: </Location>
                    947: 
1.1       harris41  948: <Location /adm/cfile>
1.139     albertel  949: AuthType LONCAPA
1.125     albertel  950: Require valid-user
                    951: PerlAuthzHandler       Apache::lonacc
1.1       harris41  952: SetHandler perl-script
1.126     albertel  953: PerlHandler Apache::loncfile
1.1       harris41  954: ErrorDocument     403 /adm/login
                    955: ErrorDocument     404 /adm/notfound.html
1.18      www       956: ErrorDocument     406 /adm/unauthorized
1.1       harris41  957: ErrorDocument	  500 /adm/errorhandler
                    958: </Location>
                    959: 
                    960: <Location /adm/diff>
1.139     albertel  961: AuthType LONCAPA
1.125     albertel  962: Require valid-user
                    963: PerlAuthzHandler       Apache::lonacc
1.1       harris41  964: SetHandler perl-script
1.126     albertel  965: PerlHandler Apache::londiff
1.1       harris41  966: ErrorDocument     403 /adm/login
                    967: ErrorDocument     404 /adm/notfound.html
1.18      www       968: ErrorDocument     406 /adm/unauthorized
1.1       harris41  969: ErrorDocument	  500 /adm/errorhandler
                    970: </Location>
                    971: 
                    972: <Location /adm/upload>
1.139     albertel  973: AuthType LONCAPA
1.125     albertel  974: Require valid-user
                    975: PerlAuthzHandler       Apache::lonacc
1.1       harris41  976: SetHandler perl-script
1.126     albertel  977: PerlHandler Apache::lonupload
1.1       harris41  978: ErrorDocument     403 /adm/login
                    979: ErrorDocument     404 /adm/notfound.html
1.18      www       980: ErrorDocument     406 /adm/unauthorized
1.1       harris41  981: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn   982: </Location>
                    983: 
1.73      raeburn   984: <Location /adm/imsimport>
1.139     albertel  985: AuthType LONCAPA
1.125     albertel  986: Require valid-user
                    987: PerlAuthzHandler       Apache::lonacc
1.73      raeburn   988: SetHandler perl-script
1.126     albertel  989: PerlHandler Apache::imsimport
1.73      raeburn   990: ErrorDocument     403 /adm/login
                    991: ErrorDocument     404 /adm/notfound.html
                    992: ErrorDocument     406 /adm/unauthorized
                    993: ErrorDocument     500 /adm/errorhandler
                    994: </Location>
                    995: 
1.72      raeburn   996: <Location /adm/testbank>
1.139     albertel  997: AuthType LONCAPA
1.125     albertel  998: Require valid-user
                    999: PerlAuthzHandler       Apache::lonacc
1.72      raeburn  1000: SetHandler perl-script
1.126     albertel 1001: PerlHandler Apache::testbankimport
1.72      raeburn  1002: ErrorDocument     403 /adm/login
                   1003: ErrorDocument     404 /adm/notfound.html
                   1004: ErrorDocument     406 /adm/unauthorized
                   1005: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1006: </Location>
                   1007: 
                   1008: <Location /adm/assesscalc>
1.139     albertel 1009: AuthType LONCAPA
1.125     albertel 1010: Require valid-user
                   1011: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1012: SetHandler perl-script
1.126     albertel 1013: PerlHandler Apache::lonspreadsheet
1.1       harris41 1014: ErrorDocument     403 /adm/login
                   1015: ErrorDocument     406 /adm/roles
1.20      www      1016: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1017: ErrorDocument	  500 /adm/errorhandler
                   1018: </Location>
                   1019: 
                   1020: <Location /adm/studentcalc>
1.139     albertel 1021: AuthType LONCAPA
1.125     albertel 1022: Require valid-user
                   1023: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1024: SetHandler perl-script
1.126     albertel 1025: PerlHandler Apache::lonspreadsheet
1.1       harris41 1026: ErrorDocument     403 /adm/login
                   1027: ErrorDocument     406 /adm/roles
1.20      www      1028: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1029: ErrorDocument	  500 /adm/errorhandler
                   1030: </Location>
                   1031: 
                   1032: <Location /adm/classcalc>
1.139     albertel 1033: AuthType LONCAPA
1.125     albertel 1034: Require valid-user
                   1035: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1036: SetHandler perl-script
1.126     albertel 1037: PerlHandler Apache::lonspreadsheet
1.1       harris41 1038: ErrorDocument     403 /adm/login
                   1039: ErrorDocument     406 /adm/roles
1.20      www      1040: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1041: ErrorDocument	  500 /adm/errorhandler
                   1042: </Location>
                   1043: 
                   1044: <Location /adm/dropadd>
1.139     albertel 1045: AuthType LONCAPA
1.125     albertel 1046: Require valid-user
                   1047: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1048: SetHandler perl-script
1.126     albertel 1049: PerlHandler Apache::londropadd
1.44      www      1050: ErrorDocument     403 /adm/login
                   1051: ErrorDocument     406 /adm/roles
                   1052: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn  1053: </Location>
                   1054: 
1.92      matthew  1055: <Location /adm/viewclasslist>
1.139     albertel 1056: AuthType LONCAPA
1.125     albertel 1057: Require valid-user
                   1058: PerlAuthzHandler       Apache::lonacc
1.92      matthew  1059: SetHandler perl-script
1.126     albertel 1060: PerlHandler Apache::lonviewclasslist
1.92      matthew  1061: ErrorDocument     403 /adm/login
                   1062: ErrorDocument     406 /adm/roles
                   1063: ErrorDocument	  500 /adm/errorhandler
                   1064: </Location>
                   1065: 
1.118     raeburn  1066: <Location /adm/coursegroups>
1.139     albertel 1067: AuthType LONCAPA
1.125     albertel 1068: Require valid-user
                   1069: PerlAuthzHandler       Apache::lonacc
1.118     raeburn  1070: SetHandler perl-script
1.126     albertel 1071: PerlHandler Apache::loncoursegroups
1.118     raeburn  1072: ErrorDocument     403 /adm/login
                   1073: ErrorDocument     406 /adm/roles
                   1074: ErrorDocument     500 /adm/errorhandler
                   1075: </Location>
                   1076: 
1.143     raeburn  1077: <Location /adm/groupboards>
                   1078: AuthType LONCAPA
                   1079: Require valid-user
                   1080: PerlAuthzHandler       Apache::lonacc
                   1081: SetHandler perl-script
                   1082: PerlHandler Apache::groupboards
                   1083: ErrorDocument     403 /adm/login
                   1084: ErrorDocument     406 /adm/roles
                   1085: ErrorDocument     500 /adm/errorhandler
                   1086: </Location>
                   1087: 
1.144     raeburn  1088: <Location /adm/grouproster>
                   1089: AuthType LONCAPA
                   1090: Require valid-user
                   1091: PerlAuthzHandler       Apache::lonacc
                   1092: SetHandler perl-script
                   1093: PerlHandler Apache::grouproster
                   1094: ErrorDocument     403 /adm/login
                   1095: ErrorDocument     406 /adm/roles
                   1096: ErrorDocument     500 /adm/errorhandler
                   1097: </Location>
                   1098: 
1.112     raeburn  1099: <Location /adm/whatsnew>
1.139     albertel 1100: AuthType LONCAPA
1.125     albertel 1101: Require valid-user
                   1102: PerlAuthzHandler       Apache::lonacc
1.112     raeburn  1103: SetHandler perl-script
1.126     albertel 1104: PerlHandler Apache::lonwhatsnew
1.112     raeburn  1105: ErrorDocument     403 /adm/login
                   1106: ErrorDocument     406 /adm/roles
                   1107: ErrorDocument     500 /adm/errorhandler
                   1108: </Location>
                   1109: 
1.65      raeburn  1110: <Location /adm/populate>
1.139     albertel 1111: AuthType LONCAPA
1.125     albertel 1112: Require valid-user
                   1113: PerlAuthzHandler       Apache::lonacc
1.65      raeburn  1114: SetHandler perl-script
1.126     albertel 1115: PerlHandler Apache::lonpopulate
1.65      raeburn  1116: ErrorDocument     403 /adm/login
                   1117: ErrorDocument     406 /adm/roles
                   1118: ErrorDocument     500 /adm/errorhandler
1.44      www      1119: </Location>
                   1120: 
                   1121: <Location /adm/managekeys>
1.139     albertel 1122: AuthType LONCAPA
1.125     albertel 1123: Require valid-user
                   1124: PerlAuthzHandler       Apache::lonacc
1.44      www      1125: SetHandler perl-script
1.126     albertel 1126: PerlHandler Apache::lonmanagekeys
1.1       harris41 1127: ErrorDocument     403 /adm/login
                   1128: ErrorDocument     406 /adm/roles
                   1129: ErrorDocument	  500 /adm/errorhandler
                   1130: </Location>
                   1131: 
                   1132: <Location /adm/printout>
1.139     albertel 1133: AuthType LONCAPA
1.125     albertel 1134: Require valid-user
                   1135: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1136: SetHandler perl-script
1.126     albertel 1137: PerlHandler Apache::lonprintout
1.1       harris41 1138: ErrorDocument     403 /adm/login
1.20      www      1139: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1140: ErrorDocument	  500 /adm/errorhandler
                   1141: </Location>
                   1142: 
                   1143: <Location /adm/feedback>
1.139     albertel 1144: AuthType LONCAPA
1.125     albertel 1145: Require valid-user
                   1146: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1147: SetHandler perl-script
1.126     albertel 1148: PerlHandler Apache::lonfeedback
1.10      www      1149: ErrorDocument     403 /adm/login
                   1150: ErrorDocument	  500 /adm/errorhandler
                   1151: </Location>
                   1152: 
                   1153: <Location /adm/coursedocs>
1.139     albertel 1154: AuthType LONCAPA
1.125     albertel 1155: Require valid-user
                   1156: PerlAuthzHandler       Apache::lonacc
1.10      www      1157: SetHandler perl-script
1.126     albertel 1158: PerlHandler Apache::londocs
1.108     albertel 1159: PerlCleanupHandler Apache::londocs::untiehash
1.129     albertel 1160: PerlCleanupHandler	Apache::lonacc::cleanup
1.10      www      1161: ErrorDocument     403 /adm/login
                   1162: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn  1163: </Location>
                   1164: 
1.207     raeburn  1165: <Location /adm/supplemental>
                   1166: AuthType LONCAPA
                   1167: Require valid-user
                   1168: PerlAuthzHandler       Apache::lonacc
                   1169: SetHandler perl-script
                   1170: PerlHandler Apache::londocs
                   1171: PerlCleanupHandler Apache::londocs::untiehash
                   1172: PerlCleanupHandler      Apache::lonacc::cleanup
                   1173: ErrorDocument     403 /adm/login
                   1174: ErrorDocument     500 /adm/errorhandler
                   1175: </Location>
                   1176: 
1.73      raeburn  1177: <Location /adm/imsimportdocs>
1.139     albertel 1178: AuthType LONCAPA
1.125     albertel 1179: Require valid-user
                   1180: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1181: SetHandler perl-script
1.126     albertel 1182: PerlHandler Apache::imsimportdocs
1.73      raeburn  1183: ErrorDocument     403 /adm/login
                   1184: ErrorDocument     500 /adm/errorhandler
1.10      www      1185: </Location>
                   1186: 
1.215.2.8  raeburn  1187: <Location /adm/extresedit>
                   1188: AuthType LONCAPA
                   1189: Require valid-user
                   1190: PerlAuthzHandler       Apache::lonacc
                   1191: SetHandler perl-script
                   1192: PerlHandler Apache::lonextresedit
                   1193: ErrorDocument     403 /adm/login
                   1194: ErrorDocument     500 /adm/errorhandler
                   1195: </Location>
                   1196: 
1.135     www      1197: <LocationMatch "^/adm/announcements">
1.139     albertel 1198: AuthType LONCAPA
1.125     albertel 1199: Require valid-user
                   1200: PerlAuthzHandler       Apache::lonacc
1.10      www      1201: SetHandler perl-script
1.126     albertel 1202: PerlHandler Apache::lonannounce
1.10      www      1203: ErrorDocument     403 /adm/login
                   1204: ErrorDocument	  500 /adm/errorhandler
1.135     www      1205: </LocationMatch>
1.10      www      1206: 
                   1207: <Location /adm/chat>
1.139     albertel 1208: AuthType LONCAPA
1.125     albertel 1209: Require valid-user
                   1210: PerlAuthzHandler       Apache::lonacc
1.10      www      1211: SetHandler perl-script
1.126     albertel 1212: PerlHandler Apache::lonchat
1.13      www      1213: ErrorDocument	  500 /adm/errorhandler
                   1214: </Location>
                   1215: 
                   1216: <Location /adm/chatfetch>
1.139     albertel 1217: AuthType LONCAPA
1.125     albertel 1218: Require valid-user
                   1219: PerlAuthzHandler       Apache::lonacc
1.13      www      1220: SetHandler perl-script
1.126     albertel 1221: PerlHandler Apache::lonchatfetch
1.20      www      1222: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1223: ErrorDocument	  500 /adm/errorhandler
                   1224: </Location>
                   1225: 
1.137     albertel 1226: <Location /adm/groupchat>
1.139     albertel 1227: AuthType LONCAPA
1.137     albertel 1228: Require valid-user
                   1229: PerlAuthzHandler       Apache::lonacc
                   1230: SetHandler perl-script
                   1231: PerlHandler Apache::longroupchat
                   1232: ErrorDocument     403 /adm/login
                   1233: ErrorDocument     500 /adm/errorhandler
                   1234: </Location>
                   1235: 
1.1       harris41 1236: <Location /adm/evaluate>
1.139     albertel 1237: AuthType LONCAPA
1.125     albertel 1238: Require valid-user
                   1239: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1240: SetHandler perl-script
1.126     albertel 1241: PerlHandler Apache::lonevaluate
1.1       harris41 1242: ErrorDocument     403 /adm/login
                   1243: ErrorDocument	  500 /adm/errorhandler
                   1244: </Location>
                   1245: 
                   1246: <Location /adm/preferences>
1.139     albertel 1247: AuthType LONCAPA
1.125     albertel 1248: Require valid-user
                   1249: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1250: SetHandler perl-script
1.126     albertel 1251: PerlHandler Apache::lonpreferences
1.1       harris41 1252: ErrorDocument     403 /adm/login
                   1253: ErrorDocument	  500 /adm/errorhandler
                   1254: </Location>
                   1255: 
                   1256: <Location /adm/communicate>
1.139     albertel 1257: AuthType LONCAPA
1.125     albertel 1258: Require valid-user
                   1259: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1260: SetHandler perl-script
1.126     albertel 1261: PerlHandler Apache::loncommunicate
1.1       harris41 1262: ErrorDocument     403 /adm/login
                   1263: ErrorDocument	  500 /adm/errorhandler
                   1264: </Location>
                   1265: 
                   1266: <Location /adm/searchcat>
1.139     albertel 1267: AuthType LONCAPA
1.125     albertel 1268: Require valid-user
                   1269: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1270: SetHandler perl-script
1.126     albertel 1271: PerlHandler Apache::lonsearchcat
1.28      www      1272: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1273: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1274: ErrorDocument     403 /adm/login
1.20      www      1275: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1276: ErrorDocument	  500 /adm/errorhandler
                   1277: </Location>
                   1278: 
                   1279: <Location /adm/navmaps>
1.139     albertel 1280: AuthType LONCAPA
1.125     albertel 1281: Require valid-user
                   1282: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1283: SetHandler perl-script
1.160     albertel 1284: PerlHandler Apache::lonnavdisplay
1.1       harris41 1285: ErrorDocument     403 /adm/login
                   1286: ErrorDocument     406 /adm/roles
                   1287: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1288: </Location>
                   1289: 
                   1290: <Location /adm/quickgrades>
1.139     albertel 1291: AuthType LONCAPA
1.125     albertel 1292: Require valid-user
                   1293: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1294: SetHandler perl-script
1.126     albertel 1295: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1296: ErrorDocument     403 /adm/login
                   1297: ErrorDocument     406 /adm/roles
                   1298: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1299: </Location>
                   1300: 
                   1301: <Location /adm/groupsort>
1.139     albertel 1302: AuthType LONCAPA
1.125     albertel 1303: Require valid-user
                   1304: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1305: SetHandler perl-script
1.126     albertel 1306: PerlHandler Apache::groupsort
1.29      www      1307: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1308: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1309: ErrorDocument     403 /adm/login
1.215.2.19  raeburn  1310: ErrorDocument     406 /adm/roles
1.1       harris41 1311: ErrorDocument	  500 /adm/errorhandler
                   1312: </Location>
                   1313: 
1.215.2.2  raeburn  1314: <Location /adm/wishlist>
                   1315: AuthType LONCAPA
                   1316: Require valid-user
                   1317: PerlAuthzHandler       Apache::lonacc
                   1318: SetHandler perl-script
                   1319: PerlHandler Apache::lonwishlistdisplay
                   1320: ErrorDocument     403 /adm/login
                   1321: ErrorDocument     406 /adm/roles
                   1322: ErrorDocument     500 /adm/errorhandler
                   1323: </Location>
                   1324: 
1.208     raeburn  1325: <Location /adm/setblock>
                   1326: AuthType LONCAPA
                   1327: Require valid-user
                   1328: PerlAuthzHandler       Apache::lonacc
                   1329: SetHandler             perl-script
                   1330: PerlHandler            Apache::lonblockingmenu
                   1331: ErrorDocument     403 /adm/login
1.209     raeburn  1332: ErrorDocument     406 /adm/roles
1.208     raeburn  1333: ErrorDocument     500 /adm/errorhandler
                   1334: </Location>
                   1335: 
1.186     droeschl 1336: <Location /adm/blockingstatus>
1.188     droeschl 1337: PerlAccessHandler      Apache::publiccheck
1.186     droeschl 1338: AuthType LONCAPA
                   1339: Require valid-user
                   1340: PerlAuthzHandler       Apache::lonacc
1.188     droeschl 1341: SetHandler             perl-script
                   1342: PerlHandler            Apache::lonblockingstatus
1.186     droeschl 1343: </Location>
                   1344: 
1.215.2.18  raeburn  1345: <Location /adm/accesstimes>
                   1346: AuthType LONCAPA
                   1347: Require valid-user
                   1348: PerlAuthzHandler       Apache::lonacc
                   1349: SetHandler             perl-script
                   1350: PerlHandler            Apache::lonaccesstimes
                   1351: ErrorDocument     403 /adm/login
                   1352: ErrorDocument     406 /adm/roles
                   1353: ErrorDocument     500 /adm/errorhandler
                   1354: </Location>
                   1355: 
1.1       harris41 1356: <Location /adm/errorhandler>
                   1357: SetHandler perl-script
1.126     albertel 1358: PerlHandler Apache::lonerrorhandler
1.1       harris41 1359: </Location>
                   1360: 
1.7       bowersj2 1361: <LocationMatch "^/adm/help/.*\.hlp$">
1.139     albertel 1362: AuthType LONCAPA
1.125     albertel 1363: Require valid-user
1.147     albertel 1364: PerlAccessHandler      Apache::publiccheck
1.125     albertel 1365: PerlAuthzHandler	Apache::lonacc
1.7       bowersj2 1366: SetHandler perl-script
1.126     albertel 1367: PerlHandler Apache::lonhelp
1.154     albertel 1368: ErrorDocument	  500 /adm/errorhandler
1.7       bowersj2 1369: </LocationMatch>
                   1370: 
1.90      raeburn  1371: <LocationMatch "^/adm/helpmenu">
1.139     albertel 1372: AuthType LONCAPA
1.125     albertel 1373: Require valid-user
                   1374: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1375: SetHandler perl-script
1.126     albertel 1376: PerlHandler Apache::lonhelpmenu
1.154     albertel 1377: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1378: </LocationMatch>
                   1379: 
                   1380: <LocationMatch "^/adm/support">
1.139     albertel 1381: AuthType LONCAPA
1.125     albertel 1382: Require valid-user
                   1383: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1384: SetHandler perl-script
1.126     albertel 1385: PerlHandler Apache::lonsupportreq
1.154     albertel 1386: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1387: </LocationMatch>
                   1388: 
1.100     raeburn  1389: <LocationMatch "^/adm/helpdesk">
                   1390: SetHandler perl-script
1.126     albertel 1391: PerlHandler Apache::lonsupportreq
1.154     albertel 1392: ErrorDocument	  500 /adm/errorhandler
1.100     raeburn  1393: </LocationMatch>
                   1394: 
1.215.2.5  raeburn  1395: <LocationMatch "^/adm/css/.*\.css$">
1.133     albertel 1396: SetHandler perl-script
                   1397: PerlHandler Apache::loncss
1.154     albertel 1398: ErrorDocument	  500 /adm/errorhandler
1.133     albertel 1399: </LocationMatch>
                   1400: 
1.155     raeburn  1401: <LocationMatch "^/adm/coursecatalog">
                   1402: SetHandler perl-script
                   1403: PerlHandler Apache::coursecatalog
1.156     albertel 1404: ErrorDocument	  500 /adm/errorhandler
1.155     raeburn  1405: </LocationMatch>
                   1406: 
1.161     raeburn  1407: <LocationMatch "^/adm/resetpw">
                   1408: SetHandler perl-script
                   1409: PerlHandler Apache::resetpw
                   1410: ErrorDocument     500 /adm/errorhandler
                   1411: </LocationMatch>
1.155     raeburn  1412: 
1.173     raeburn  1413: <LocationMatch "^/adm/selfenroll">
                   1414: SetHandler perl-script
                   1415: PerlHandler Apache::selfenroll
                   1416: ErrorDocument     500 /adm/errorhandler
                   1417: </LocationMatch>
                   1418: 
1.171     raeburn  1419: <LocationMatch "^/adm/createaccount">
                   1420: SetHandler perl-script
                   1421: PerlHandler Apache::createaccount
                   1422: ErrorDocument     500 /adm/errorhandler
                   1423: </LocationMatch>
                   1424: 
1.165     albertel 1425: <LocationMatch "^/adm/dns">
                   1426: SetHandler perl-script
                   1427: PerlHandler Apache::londns
                   1428: ErrorDocument     500 /adm/errorhandler
                   1429: </LocationMatch>
1.164     albertel 1430: 
1.215.2.4  raeburn  1431: <LocationMatch "^/ajax/spellcheck">
                   1432: SetHandler perl-script
                   1433: PerlHandler Apache::spellcheck
                   1434: </LocationMatch>
                   1435: 
                   1436: 
1.215.2.9  raeburn  1437: 
1.1       harris41 1438: # ------------------------------------------------- Backdoor Adm Tests/Programs
                   1439: 
                   1440: <Location /adm/test>
1.181     raeburn  1441: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1442: SetHandler perl-script
1.126     albertel 1443: PerlHandler Apache::lontest
1.1       harris41 1444: </Location>
                   1445: 
                   1446: # ------------------------------------------------------- Shutting down a child
                   1447: 
1.129     albertel 1448: PerlChildExitHandler Apache::lonacc::goodbye
1.1       harris41 1449: 
                   1450: #
                   1451: # LON-CAPA Section (extensions to access.conf permission configuration)
                   1452: #
                   1453: # =========================================================== Directory Options
                   1454: 
                   1455: # Start out with "no"
                   1456: 
                   1457: <Directory />
                   1458: Options None
                   1459: AllowOverride None
1.215.2.10  raeburn  1460: <IfModule mod_authz_core.c>
                   1461:   Require all denied
                   1462: </IfModule>
                   1463: <IfModule !mod_authz_core.c>
                   1464:   order deny,allow
                   1465:   deny from all
                   1466: </IfModule>
1.158     raeburn  1467: </Directory>
                   1468: 
                   1469: # Allow uploaded files to be served
                   1470: 
                   1471: <Directory "/home/httpd/lonUsers">
1.215.2.22  raeburn  1472: Options FollowSymLinks
1.158     raeburn  1473: AllowOverride None
1.215.2.10  raeburn  1474: <IfModule mod_authz_core.c>
                   1475:   Require all granted
                   1476: </IfModule>
                   1477: <IfModule !mod_authz_core.c>
                   1478:   order allow,deny
                   1479:   allow from all
                   1480: </IfModule>
1.158     raeburn  1481: </Directory>
                   1482:  
1.1       harris41 1483: # Yes to symbolic links and server-side includes
                   1484: 
                   1485: <Directory /home/httpd/html>
1.215.2.22  raeburn  1486: Options FollowSymLinks
1.1       harris41 1487: AllowOverride None
1.215.2.10  raeburn  1488: <IfModule mod_authz_core.c>
                   1489:   Require all granted
                   1490: </IfModule>
                   1491: <IfModule !mod_authz_core.c>
                   1492:   order allow,deny
                   1493:   allow from all
                   1494: </IfModule>
1.1       harris41 1495: </Directory>
                   1496: 
                   1497: # If it is in cgi-bin, then it can be executed as a CGI script.
                   1498: 
                   1499: <Directory /home/httpd/cgi-bin>
                   1500: AllowOverride None
1.157     albertel 1501: Options ExecCGI FollowSymLinks
1.215.2.10  raeburn  1502: <IfModule mod_authz_core.c>
                   1503:   Require all granted
                   1504: </IfModule>
                   1505: <IfModule !mod_authz_core.c>
                   1506:   order allow,deny
                   1507:   allow from all
                   1508: </IfModule>
1.159     raeburn  1509: </Directory>
                   1510: 
                   1511: # Allow serving of files in prtspool
                   1512: 
                   1513: <Directory "/home/httpd/prtspool/">
1.215.2.21  raeburn  1514: Options FollowSymLinks
1.159     raeburn  1515: AllowOverride None
1.215.2.10  raeburn  1516: <IfModule mod_authz_core.c>
                   1517:   Require all granted
                   1518: </IfModule>
                   1519: <IfModule !mod_authz_core.c>
                   1520:   order allow,deny
                   1521:   allow from all
                   1522: </IfModule>
1.1       harris41 1523: </Directory>
                   1524: 
1.167     banghart 1525: # Allow serving of files in zipspool
                   1526: 
                   1527: <Directory "/home/httpd/zipspool/">
1.215.2.21  raeburn  1528: Options FollowSymLinks
1.167     banghart 1529: AllowOverride None
1.215.2.10  raeburn  1530: <IfModule mod_authz_core.c>
                   1531:   Require all granted
                   1532: </IfModule>
                   1533: <IfModule !mod_authz_core.c>
                   1534:   order allow,deny
                   1535:   allow from all
                   1536: </IfModule>
1.167     banghart 1537: </Directory>
                   1538: 
1.177     raeburn  1539: # Allow serving of files in captchaspool
                   1540: 
                   1541: <Directory "/home/httpd/captchaspool/">
1.215.2.21  raeburn  1542: Options FollowSymLinks
1.177     raeburn  1543: AllowOverride None
1.215.2.10  raeburn  1544: <IfModule mod_authz_core.c>
                   1545:   Require all granted
                   1546: </IfModule>
                   1547: <IfModule !mod_authz_core.c>
                   1548:   order allow,deny
                   1549:   allow from all
                   1550: </IfModule>
1.177     raeburn  1551: </Directory>
                   1552: 
1.215.2.10  raeburn  1553: <DirectoryMatch "^/home/httpd/html/priv/.+/">
                   1554:    DirectoryIndex disabled
                   1555: </DirectoryMatch>
                   1556: 
1.215.2.16  raeburn  1557: <DirectoryMatch "^/home/httpd/html/res/.+/">
                   1558:    DirectoryIndex disabled
                   1559: </DirectoryMatch>
                   1560: 
1.1       harris41 1561: # ============================================================= Access Handlers
                   1562: 
                   1563: # ------------------------------------------------- Allow server-status reports
                   1564: <Location /server-status>
1.181     raeburn  1565: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1566: SetHandler server-status
                   1567: </Location>
                   1568: 
                   1569: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181     raeburn  1570: <LocationMatch "^/+lon-status/.*">
                   1571: PerlAccessHandler Apache::lonstatusacc
                   1572: ErrorDocument     406 /adm/roles
                   1573: ErrorDocument     500 /adm/errorhandler
                   1574: </LocationMatch>
1.1       harris41 1575: 
                   1576: # ------------------- Allow access to local system documentation from localhost
                   1577: Alias /doc /usr/doc
                   1578: <Directory /usr/doc>
                   1579: Options Indexes FollowSymLinks
1.215.2.10  raeburn  1580: <IfModule mod_authz_host.c>
                   1581:   Require local
                   1582: </IfModule>
                   1583: <IfModule !mod_authz_host.c>
                   1584:   order deny,allow
                   1585:   deny from all
                   1586:   allow from localhost
                   1587: </IfModule>
1.1       harris41 1588: </Directory>
                   1589: 
                   1590: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1591: # ====================================== Internal Settings / Perl Configuration
                   1592: 
1.215.2.22.6.  (raeburn 1593:): PerlSetVar	 lonVersion   '2.11.2-2017061214'
1.1       harris41 1594: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
1.210     raeburn  1595: PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs
1.1       harris41 1596: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1597: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1598: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1599: PerlSetVar       londPort     5663
1.215.2.11  raeburn  1600: PerlSetVar       lonSysEMail  techsupport@loncapa.org
1.1       harris41 1601: PerlSetVar       lonDaemons   /home/httpd/perl
1.184     foxr     1602: PerlSetVar       lonLib       /home/httpd/lib
1.1       harris41 1603: PerlSetVar       lonSockDir   /home/httpd/sockets
1.164     albertel 1604: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
1.1       harris41 1605: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1606: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1607: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.166     banghart 1608: PerlSetVar       lonZipDir    /home/httpd/zipspool
1.177     raeburn  1609: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
                   1610: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
1.168     albertel 1611: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
1.215.2.13  raeburn  1612: # & separated list of % separated fields in order of
1.119     albertel 1613: # - internal name to call it, 
                   1614: # - regexp that it should match (done case-insensitively)
                   1615: # - regexp that is should not match (done case-insensitively)
                   1616: # - regexp that will pull out the version number into $1
                   1617: # - a number that describes the minimum version that has mathml support
                   1618: # - a number that describes the minimum number version that has unicode support
                   1619: 
1.215.2.14  raeburn  1620: 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&chrome%chrome%chromeframe%\s+chrome\/(\d+\.\d+)%9999%1&explorer%\s+rv\:\d+\.\d+%firefox%\s+rv\:(\d+\.\d+)%9999%5&opera%\sOPR\/\d+\.\d+%shouldnotmatch%\sOPR\/(\d+\.\d+)%9999%6&opera%^Opera\/9.80\s.+Version\/\d+\.\d+$%shouldnotmatch%Version\/(\d+\.\d+)$%9999%6&opera%^Opera\/\d+\.\d+\s%Version\/\d+\.\d+$%^Opera\/(\d+\.\d+)\s%9999%6
1.119     albertel 1621: 
1.105     albertel 1622: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1623: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1624: PerlSetVar       lonScriptTimeout 10
1.70      www      1625: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1626: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1627: # -----------------------------------------------------------------------------
                   1628: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1629: # www@localhost.  This value must always be "localhostkey".
                   1630: # The only security risk occurs when somebody logs in as 'www' on your system
                   1631: # (in which case you have much bigger problems than whether or not they
                   1632: # can access the non-authoritative loncapa database on your machine).
                   1633: 
                   1634: PerlSetVar       lonSqlAccess   localhostkey
                   1635: 
1.86      foxr     1636: #----------------------------------------------------------------------------
                   1637: #
1.79      foxr     1638: #   Parameters used by secure lond/lonc
                   1639: 
                   1640: #
                   1641: #   Secure lond/lonc require ssl certificate and private
                   1642: #   key files to function correctly.  The certificate
                   1643: #   files need not be terribly secure, but the private key files
                   1644: #   should be set up so that only www (the lonc/lond effective user)
                   1645: #   can read them.
                   1646: # 
                   1647: #   The definition below is the full path to the directory that
                   1648: #   contains the certificate and key files:
1.82      foxr     1649: 
1.79      foxr     1650: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1651: 
                   1652: #
                   1653: #  Secure lond/lonc require two certificates and a private host key.
                   1654: #  The certificates required are that of the lonCAPA certificate authority
                   1655: #  and the certificate that authority issued to this host.
                   1656: #  lonnetCertificateAuthority is the name of the file that contains the
                   1657: #                            lonCAPA certificate authority's certificate.
                   1658: #  lonnetCertificate is the name of the file that contains the certificate
                   1659: #                    issued to the host by the certificate authority.
                   1660: #  Both of these variables are names of files assumed to be in 
                   1661: #  lonCertificateDirectory:
                   1662: 
                   1663: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1664: PerlSetVar lonnetCertificate          lonhostcert.pem
                   1665: 
                   1666: #
                   1667: #  To generate the request for a certificate, and to negotiate the
                   1668: #  initial ssl connection, the host requires a private key.  This key
                   1669: #  is created at lonCAPA install time.  Did we mention above that it
                   1670: #  should be set so that only www can read it?  The variale below
                   1671: #  is the name of the file relative to lonnetCertificateDirectory
                   1672: #  that has the host's private key.  Did we remember to tell you to
                   1673: #  keep the permissions on that file set to rw-------  (0600)?
                   1674: #  
                   1675: 
                   1676: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1677: 
                   1678: # Did we mention that the file described above must have
                   1679: # permissions really locked down so that it can't be stolen?
                   1680: 
1.86      foxr     1681: #-------------------------------------------------------------------------
                   1682: 
                   1683: #   Parameters that define where all the ssl stuff is that's needed
                   1684: #   to generate certificate requests and, on a system that's a CA
                   1685: #   the certificate authority.
                   1686: #    
                   1687: #    SSLProgram    -> Path to the openssl command
                   1688: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1689: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1690: #                     Authority.
1.87      foxr     1691: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1692: #                    (on the cert manager system).
                   1693: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1694: #    The following are good for the loncapa redhat installs and
                   1695: #    the loncapa certificate authority system:
                   1696: #
                   1697: PerlSetVar SSLProgram	/usr/bin/openssl
                   1698: PerlSetVar SSLDirectory /usr/share/ssl
                   1699: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1700: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1701: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1702: 
                   1703: #-------------------------------------------------------------------------
                   1704: 
1.79      foxr     1705: 
1.204     raeburn  1706: # ====================================== Include support for SSL rewrites
                   1707: 
                   1708: Include conf/loncapa_rewrite.conf
1.79      foxr     1709: 
1.2       harris41 1710: 
1.8       harris41 1711: # ====================================== Include machine-specific configuration
1.2       harris41 1712: 
                   1713: Include conf/loncapa.conf
1.61      albertel 1714: 
                   1715: # ================================================= Include local configuration
                   1716: 
                   1717: Include conf/loncapa_apache_local*.conf
1.1       harris41 1718: 
                   1719: # ================================================== Initiate mod_perl starting
                   1720: 
                   1721: PerlRequire      conf/startup.pl
1.47      albertel 1722: <IfDefine !MODPERL2>
1.1       harris41 1723: PerlFreshRestart On
1.47      albertel 1724: </IfDefine>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>