Annotation of loncom/loncapa_apache.conf, revision 1.278

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.222     raeburn     4: 
1.278   ! raeburn     5: # $Id: loncapa_apache.conf,v 1.277 2022/06/18 02:10:19 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.223     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.229     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.228     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.241     raeburn    71: <LocationMatch "^(/adm/lonIcons|/adm/jQuery|/res/adm/pages|/ckeditor|/adm/jpicker|/adm/countdown|/adm/spellchecker|/adm/nicescroll|/adm/MathJax|/adm/daxe)">
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.271     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.274     raeburn   153: <LocationMatch "^/+uploaded/.+/.+/(portfolio|feedback|docs|groups|supplemental)/.+">
1.272     raeburn   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.255     raeburn   278: <LocationMatch "^/adm/.*/ext\.tool$">
1.242     raeburn   279: AuthType LONCAPA
                    280: Require valid-user
                    281: PerlAuthzHandler        Apache::lonacc
                    282: SetHandler              perl-script
                    283: PerlHandler             Apache::londatecheck
                    284: PerlHandler             Apache::lonipcheck
                    285: PerlHandler             Apache::lonexttool
                    286: ErrorDocument     404 /adm/notfound.html
                    287: ErrorDocument     406 /adm/notinit.html
                    288: ErrorDocument     500 /adm/errorhandler
                    289: </LocationMatch>
                    290: 
1.244     raeburn   291: <LocationMatch "^/adm/placement$">
                    292: AuthType LONCAPA
                    293: Require valid-user
                    294: PerlAuthzHandler        Apache::lonacc
                    295: SetHandler              perl-script
                    296: PerlHandler             Apache::lonplacementtest
                    297: ErrorDocument     404 /adm/notfound.html
                    298: ErrorDocument     406 /adm/notinit.html
                    299: ErrorDocument     500 /adm/errorhandler
                    300: </LocationMatch>
                    301: 
1.268     raeburn   302: <Location /adm/exturlcheck>
                    303: AuthType LONCAPA
                    304: Require valid-user
                    305: PerlAuthzHandler  Apache::lonacc
                    306: SetHandler        perl-script
                    307: PerlHandler       Apache::lonexturlcheck
                    308: ErrorDocument     403 /adm/login
                    309: ErrorDocument     404 /adm/notfound.html
                    310: ErrorDocument     406 /adm/unauthorized
                    311: ErrorDocument     500 /adm/errorhandler
                    312: </Location>
                    313: 
1.205     www       314: <LocationMatch "^/+priv/.*">
1.139     albertel  315: AuthType LONCAPA
1.131     albertel  316: Require valid-user
1.125     albertel  317: PerlAuthzHandler Apache::loncacc
1.1       harris41  318: SetHandler        perl-script
                    319: ErrorDocument     403 /adm/login
                    320: ErrorDocument     404 /adm/notfound.html
1.18      www       321: ErrorDocument     406 /adm/unauthorized
1.1       harris41  322: ErrorDocument	  500 /adm/errorhandler
                    323: </LocationMatch>
                    324: 
1.234     raeburn   325: <LocationMatch "^/+webdav/[\w\-.]+/\w[\w.\-\@]+/">
1.214     raeburn   326:   <IfModule mod_dav.c>
                    327:     <IfModule mod_ssl.c>
                    328:       AuthType Basic
                    329:       AuthName "LONCAPA username,domain"
                    330:       Require valid-user
                    331:       SSLRequireSSL
                    332:       PerlAuthenHandler Apache::lonwebdavauth
                    333:       PerlAuthzHandler Apache::lonwebdavacc
                    334:       Dav On
                    335:       DirectoryIndex index.missing
                    336:       Options Indexes FollowSymLinks
                    337:       ErrorDocument     403 /adm/nowebdav.html
                    338:       ErrorDocument     404 /adm/notfound.html
                    339:       ErrorDocument     406 /adm/unauthorized
                    340:       ErrorDocument     500 /adm/errorhandler
                    341:     </IfModule>
                    342:     <IfModule !mod_ssl.c>
                    343:       <IfModule mod_rewrite.c>
                    344:         RewriteEngine on
                    345:         RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
                    346:       </IfModule>
                    347:     </IfModule>
1.211     raeburn   348:   </IfModule>
1.214     raeburn   349:   <IfModule !mod_dav.c>
1.211     raeburn   350:     <IfModule mod_rewrite.c>
1.214     raeburn   351:       RewriteEngine on
                    352:       RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
1.211     raeburn   353:     </IfModule>
                    354:   </IfModule>
1.210     raeburn   355: </LocationMatch>
                    356: 
1.21      www       357: <LocationMatch "^/+raw.*">
1.1       harris41  358: PerlAccessHandler Apache::lonracc
                    359: </LocationMatch>
                    360: 
1.41      bowersj2  361: <LocationMatch "^/adm/helper/.*\.helper$">
1.139     albertel  362: AuthType LONCAPA
1.125     albertel  363: Require valid-user
1.142     albertel  364: PerlAuthzHandler  Apache::lonacc
1.41      bowersj2  365: SetHandler        perl-script
1.126     albertel  366: PerlHandler       Apache::lonhelper
1.41      bowersj2  367: ErrorDocument     403 /adm/login
                    368: ErrorDocument     404 /adm/notfound.html
                    369: ErrorDocument     406 /adm/unauthorized
                    370: ErrorDocument     500 /adm/errorhandler
                    371: </LocationMatch>
                    372: 
1.23      albertel  373: <LocationMatch "/prtspool">
1.139     albertel  374: AuthType LONCAPA
1.125     albertel  375: Require valid-user
                    376: PerlAuthzHandler Apache::lonacc
1.23      albertel  377: ErrorDocument     403 /adm/login
                    378: ErrorDocument     404 /adm/notfound.html
                    379: ErrorDocument     406 /adm/roles
1.99      www       380: ErrorDocument     413 /adm/overloaded.txt
1.23      albertel  381: ErrorDocument	  500 /adm/errorhandler
                    382: </LocationMatch>
1.167     banghart  383: 
                    384: <LocationMatch "/zipspool">
                    385: AuthType LONCAPA
                    386: Require valid-user
                    387: PerlAuthzHandler Apache::lonacc
                    388: ErrorDocument     403 /adm/login
                    389: ErrorDocument     404 /adm/notfound.html
                    390: ErrorDocument     406 /adm/roles
                    391: ErrorDocument     413 /adm/overloaded.txt
                    392: ErrorDocument	  500 /adm/errorhandler
                    393: </LocationMatch>
1.1       harris41  394: # ------------------------------------------------------------------------- RAT
                    395: 
1.205     www       396: <LocationMatch "^/+priv/.*\.sequence$">
1.1       harris41  397: SetHandler perl-script
1.126     albertel  398: PerlHandler Apache::lonratedt
1.1       harris41  399: </LocationMatch>
                    400: 
1.205     www       401: <LocationMatch "^/+priv/.*\.page$">
1.1       harris41  402: SetHandler perl-script
1.126     albertel  403: PerlHandler Apache::lonratedt
1.1       harris41  404: </LocationMatch>
                    405: 
1.205     www       406: <LocationMatch "^/+priv/.*\/ratserver$">
1.1       harris41  407: SetHandler perl-script
1.126     albertel  408: PerlHandler Apache::lonratsrv
1.1       harris41  409: </LocationMatch>
                    410: 
1.205     www       411: <LocationMatch "^/+priv/.*\/adveditmenu$">
1.100     raeburn   412: SetHandler perl-script
1.126     albertel  413: PerlHandler Apache::lonratmenu
1.100     raeburn   414: </LocationMatch>
                    415: 
1.1       harris41  416: <Location /adm/ratparms>
1.139     albertel  417: AuthType LONCAPA
1.125     albertel  418: Require valid-user
                    419: PerlAuthzHandler       Apache::lonacc
1.1       harris41  420: SetHandler perl-script
1.126     albertel  421: PerlHandler Apache::lonratparms
1.1       harris41  422: ErrorDocument     403 /adm/login
                    423: ErrorDocument	  500 /adm/errorhandler
                    424: </Location>
                    425: 
                    426: # --------------------------------------------- Resource Space Content Handlers
                    427: 
1.64      albertel  428: <LocationMatch "^/+res.*/$">
1.1       harris41  429: SetHandler perl-script
1.126     albertel  430: PerlHandler Apache::lonindexer
1.29      www       431: PerlCleanupHandler Apache::lonindexer::cleanup
1.129     albertel  432: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  433: </LocationMatch>
                    434: 
1.190     raeburn   435: <LocationMatch "^/+res.*\.tex$">
1.1       harris41  436: SetHandler perl-script
1.126     albertel  437: PerlHandler Apache::lontex
1.1       harris41  438: </LocationMatch>
                    439: 
1.71      www       440: <LocationMatch "^/+res/.*\.page$">
1.1       harris41  441: SetHandler perl-script
1.126     albertel  442: PerlHandler Apache::lonpage
1.1       harris41  443: </LocationMatch>
                    444: 
1.71      www       445: <LocationMatch "^/+res/.*\.sequence$">
1.1       harris41  446: SetHandler perl-script
1.126     albertel  447: PerlHandler Apache::lonsequence
1.1       harris41  448: </LocationMatch>
                    449: 
1.205     www       450: <LocationMatch "^/+(res|priv|public|uploaded|editupload|adm)/.*\.meta$">
1.132     albertel  451: PerlAccessHandler      Apache::publiccheck
1.1       harris41  452: SetHandler perl-script
1.126     albertel  453: PerlHandler Apache::lonmeta
1.99      www       454: ErrorDocument     413 /adm/overloaded.txt
1.39      www       455: </LocationMatch>
                    456: 
1.71      www       457: <LocationMatch "^/adm/bombs/">
1.139     albertel  458: AuthType LONCAPA
1.125     albertel  459: Require valid-user
1.228     raeburn   460: PerlAuthzHandler Apache::lonacc
1.71      www       461: SetHandler perl-script
1.126     albertel  462: PerlHandler Apache::lonmeta
1.71      www       463: </LocationMatch>
                    464: 
                    465: 
                    466: 
1.205     www       467: <LocationMatch "^/+(res|priv)/.*\.rights$">
1.39      www       468: SetHandler perl-script
1.126     albertel  469: PerlHandler Apache::lonrights
1.1       harris41  470: </LocationMatch>
                    471: 
1.205     www       472: <LocationMatch "^/+(uploaded|res|priv)/.*\.(xml|html|htm|xhtml|xhtm|sty)$">
1.1       harris41  473: SetHandler perl-script
1.126     albertel  474: PerlHandler Apache::londatecheck
1.178     raeburn   475: PerlHandler Apache::lonipcheck
1.126     albertel  476: PerlHandler Apache::lonxml
1.1       harris41  477: </LocationMatch>
                    478: 
1.205     www       479: <LocationMatch "^/+(res|priv).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
1.1       harris41  480: SetHandler perl-script
1.126     albertel  481: PerlHandler Apache::lonhomework
1.1       harris41  482: </LocationMatch>
                    483: 
1.205     www       484: <LocationMatch "^/+priv/.*\.(js|css|txt|tex)$">
1.185     raeburn   485: SetHandler perl-script
                    486: PerlHandler Apache::lonxml
                    487: </LocationMatch>
                    488: 
1.253     damieng   489: <LocationMatch "^/daxepage/priv/">
1.236     damieng   490: AuthType LONCAPA
                    491: Require valid-user
                    492: PerlAuthzHandler       Apache::loncacc
1.240     damieng   493: ErrorDocument     403 /adm/login
                    494: ErrorDocument     404 /adm/notfound.html
                    495: ErrorDocument     406 /adm/unauthorized
                    496: ErrorDocument     500 /adm/errorhandler
                    497: </LocationMatch>
                    498: 
1.253     damieng   499: <LocationMatch "^/daxeopen/">
                    500: AuthType LONCAPA
                    501: Require valid-user
                    502: PerlAuthzHandler       Apache::lonacc
                    503: </LocationMatch>
                    504: 
1.240     damieng   505: <LocationMatch "^/daxe(page|open)/uploaded/">
                    506: AuthType LONCAPA
                    507: Require valid-user
                    508: PerlAuthzHandler       Apache::lonacc
1.236     damieng   509: ErrorDocument     403 /adm/login
                    510: ErrorDocument     404 /adm/notfound.html
                    511: ErrorDocument     406 /adm/unauthorized
                    512: ErrorDocument     500 /adm/errorhandler
                    513: </LocationMatch>
                    514: 
1.238     damieng   515: <LocationMatch "^/daxepage/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
1.237     damieng   516: SetHandler perl-script
                    517: PerlHandler Apache::daxepage
                    518: </LocationMatch>
                    519: 
1.243     damieng   520: <LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/.*html?$">
1.239     damieng   521: SetHandler perl-script
                    522: PerlHandler Apache::daxepage
                    523: </LocationMatch>
                    524: 
1.238     damieng   525: <LocationMatch "^/daxeopen/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
1.236     damieng   526: SetHandler perl-script
                    527: PerlHandler Apache::daxeopen
                    528: </LocationMatch>
                    529: 
1.252     damieng   530: <LocationMatch "^/daxeopen/$">
                    531: SetHandler perl-script
                    532: PerlHandler Apache::daxeopen
                    533: </LocationMatch>
                    534: 
1.253     damieng   535: <LocationMatch "^/daxeopen/(res|priv)/(.+/)?$">
1.236     damieng   536: SetHandler perl-script
                    537: PerlHandler Apache::daxeopen
                    538: </LocationMatch>
                    539: 
1.243     damieng   540: <LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/.*html?$">
1.239     damieng   541: SetHandler perl-script
                    542: PerlHandler Apache::daxeopen
                    543: </LocationMatch>
                    544: 
1.246     raeburn   545: <LocationMatch "(?i)^/daxeopen/priv/.+\.(?!task$|problem$|exam$|quiz$|assess$|survey$|library$|xml$|html$|htm$|xhtml$|xhtm$)[^.]*$">
1.236     damieng   546: <IfModule mod_rewrite.c>
                    547:   RewriteEngine on
1.245     raeburn   548:   RewriteRule /daxeopen/(.*) /$1
1.236     damieng   549: </IfModule>
1.245     raeburn   550: </LocationMatch>
1.236     damieng   551: 
1.252     damieng   552: <LocationMatch "(?i)^/daxeopen/(res/.*\.(jpg|jpeg|gif|png|svg))$">
                    553: <IfModule mod_rewrite.c>
                    554:   RewriteEngine on
                    555:   RewriteRule /daxeopen/(.*) /$1
                    556: </IfModule>
                    557: </LocationMatch>
                    558: 
1.236     damieng   559: <LocationMatch "^/daxesave$">
                    560: AuthType LONCAPA
                    561: Require valid-user
                    562: PerlAuthzHandler       Apache::lonacc
                    563: SetHandler perl-script
                    564: PerlHandler Apache::daxesave
                    565: </LocationMatch>
                    566: 
1.247     raeburn   567: <Location /adm/coursepub>
                    568: AuthType LONCAPA
                    569: Require valid-user
                    570: PerlAuthzHandler Apache::lonacc
                    571: SetHandler perl-script
                    572: PerlHandler Apache::loncoursepub
                    573: ErrorDocument     404 /adm/notfound.html
                    574: ErrorDocument     500 /adm/errorhandler
                    575: </Location>
                    576: 
1.1       harris41  577: <LocationMatch "^/adm/wrapper/">
1.139     albertel  578: AuthType LONCAPA
1.125     albertel  579: Require valid-user
                    580: PerlAuthzHandler       Apache::lonacc
1.172     www       581: PerlHandler Apache::londatecheck
1.178     raeburn   582: PerlHandler Apache::lonipcheck
1.1       harris41  583: SetHandler perl-script
1.126     albertel  584: PerlHandler Apache::lonwrapper
1.66      www       585: ErrorDocument     403 /adm/login
                    586: ErrorDocument	  500 /adm/errorhandler
                    587: </LocationMatch>
                    588: 
1.113     www       589: <LocationMatch "^/adm/source">
1.139     albertel  590: AuthType LONCAPA
1.125     albertel  591: Require valid-user
                    592: PerlAuthzHandler       Apache::lonacc
1.83      taceyjo1  593: SetHandler perl-script
1.126     albertel  594: PerlHandler Apache::lonsource
1.83      taceyjo1  595: ErrorDocument     403 /adm/login
1.85      www       596: ErrorDocument     406 /adm/roles
1.83      taceyjo1  597: ErrorDocument	  500 /adm/errorhandler
                    598: </LocationMatch>
                    599: 
                    600: 
1.66      www       601: <LocationMatch "^/adm/localize/">
1.139     albertel  602: AuthType LONCAPA
1.125     albertel  603: Require valid-user
                    604: PerlAuthzHandler       Apache::lonacc
1.66      www       605: SetHandler perl-script
1.126     albertel  606: PerlHandler Apache::lonlocalize
1.1       harris41  607: ErrorDocument     403 /adm/login
                    608: ErrorDocument	  500 /adm/errorhandler
                    609: </LocationMatch>
                    610: 
                    611: # -------------------------------------------------------------- Admin Programs
1.24      albertel  612: 
                    613: <Location /adm/randomlabel.png>
1.139     albertel  614: AuthType LONCAPA
1.125     albertel  615: Require valid-user
                    616: PerlAuthzHandler       Apache::lonacc
1.24      albertel  617: SetHandler perl-script
1.126     albertel  618: PerlHandler Apache::randomlylabel
1.69      albertel  619: ErrorDocument     403 /adm/login
                    620: ErrorDocument	  500 /adm/errorhandler
                    621: </Location>
                    622: 
                    623: <Location /adm/imagechoice>
1.139     albertel  624: AuthType LONCAPA
1.125     albertel  625: Require valid-user
                    626: PerlAuthzHandler       Apache::lonacc
1.69      albertel  627: SetHandler perl-script
1.126     albertel  628: PerlHandler Apache::imagechoice
1.24      albertel  629: ErrorDocument     403 /adm/login
                    630: ErrorDocument	  500 /adm/errorhandler
                    631: </Location>
1.1       harris41  632: 
1.200     www       633: <Location /adm/searchcourse>
                    634: AuthType LONCAPA
                    635: Require valid-user
                    636: PerlAuthzHandler       Apache::lonacc
                    637: SetHandler perl-script
                    638: PerlHandler Apache::lonsearchcourse
                    639: ErrorDocument     403 /adm/login
                    640: ErrorDocument     500 /adm/errorhandler
                    641: </Location>
                    642: 
1.201     www       643: <Location /adm/indexcourse>
                    644: AuthType LONCAPA
                    645: Require valid-user
                    646: PerlAuthzHandler       Apache::lonacc
                    647: SetHandler perl-script
                    648: PerlHandler Apache::lonindexcourse
                    649: ErrorDocument     403 /adm/login
                    650: ErrorDocument     500 /adm/errorhandler
                    651: </Location>
1.200     www       652: 
1.1       harris41  653: <Location /adm/statistics>
1.139     albertel  654: AuthType LONCAPA
1.125     albertel  655: Require valid-user
                    656: PerlAuthzHandler       Apache::lonacc
1.1       harris41  657: SetHandler perl-script
1.126     albertel  658: PerlHandler Apache::lonstatistics
1.1       harris41  659: ErrorDocument     403 /adm/login
1.20      www       660: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  661: ErrorDocument	  500 /adm/errorhandler
                    662: </Location>
                    663: 
1.92      matthew   664: <Location /adm/trackstudent>
1.139     albertel  665: AuthType LONCAPA
1.125     albertel  666: Require valid-user
                    667: PerlAuthzHandler       Apache::lonacc
1.92      matthew   668: SetHandler perl-script
1.126     albertel  669: PerlHandler Apache::lontrackstudent
1.92      matthew   670: ErrorDocument     403 /adm/login
                    671: ErrorDocument     413 /adm/overloaded.txt
                    672: ErrorDocument	  500 /adm/errorhandler
                    673: </Location>
                    674: 
1.1       harris41  675: <Location /adm/roles>
1.139     albertel  676: AuthType LONCAPA
1.125     albertel  677: Require valid-user
                    678: PerlAuthzHandler       Apache::lonacc
1.1       harris41  679: SetHandler perl-script
1.126     albertel  680: PerlHandler Apache::lonroles
1.33      www       681: ErrorDocument     403 /adm/login
1.174     www       682: ErrorDocument     409 /adm/preferences?action=lockwarning
1.33      www       683: ErrorDocument	  500 /adm/errorhandler
                    684: </Location>
                    685: 
                    686: <Location /adm/menu>
1.139     albertel  687: AuthType LONCAPA
1.125     albertel  688: Require valid-user
                    689: PerlAuthzHandler       Apache::lonacc
1.33      www       690: SetHandler perl-script
1.128     albertel  691: PerlHandler Apache::lonmainmenu
1.42      www       692: ErrorDocument     403 /adm/login
                    693: ErrorDocument	  500 /adm/errorhandler
                    694: </Location>
                    695: 
1.203     www       696: <Location /adm/pickresource>
                    697: AuthType LONCAPA
                    698: Require valid-user
                    699: PerlAuthzHandler       Apache::lonacc
                    700: SetHandler perl-script
                    701: PerlHandler Apache::lonpickresource
                    702: ErrorDocument     403 /adm/login
                    703: ErrorDocument     500 /adm/errorhandler
                    704: </Location>
                    705: 
1.176     raeburn   706: <Location /adm/pickauthor>
                    707: AuthType LONCAPA
                    708: Require valid-user
                    709: PerlAuthzHandler       Apache::lonacc
                    710: SetHandler perl-script
                    711: PerlHandler Apache::lonpickauthor
                    712: ErrorDocument     403 /adm/login
                    713: ErrorDocument     500 /adm/errorhandler
                    714: </Location>
                    715: 
1.27      www       716: <Location /adm/pickstudent>
1.139     albertel  717: AuthType LONCAPA
1.125     albertel  718: Require valid-user
                    719: PerlAuthzHandler       Apache::lonacc
1.27      www       720: SetHandler perl-script
1.126     albertel  721: PerlHandler Apache::lonpickstudent
1.40      www       722: ErrorDocument     403 /adm/login
                    723: ErrorDocument	  500 /adm/errorhandler
                    724: </Location>
                    725: 
1.187     raeburn   726: <Location /adm/pickuser>
                    727: AuthType LONCAPA
                    728: Require valid-user
                    729: PerlAuthzHandler       Apache::lonacc
                    730: SetHandler perl-script
                    731: PerlHandler Apache::lonpickuser
                    732: ErrorDocument     403 /adm/login
                    733: ErrorDocument     406 /adm/roles
                    734: ErrorDocument     500 /adm/errorhandler
                    735: </Location>
                    736: 
1.40      www       737: <Location /adm/pickcourse>
1.139     albertel  738: AuthType LONCAPA
1.125     albertel  739: Require valid-user
                    740: PerlAuthzHandler       Apache::lonacc
1.40      www       741: SetHandler perl-script
1.126     albertel  742: PerlHandler Apache::lonpickcourse
1.77      albertel  743: ErrorDocument     403 /adm/login
                    744: ErrorDocument	  500 /adm/errorhandler
                    745: </Location>
                    746: 
                    747: <Location /adm/pickcode>
1.139     albertel  748: AuthType LONCAPA
1.125     albertel  749: Require valid-user
                    750: PerlAuthzHandler       Apache::lonacc
1.77      albertel  751: SetHandler perl-script
1.126     albertel  752: PerlHandler Apache::lonpickcode
1.1       harris41  753: ErrorDocument     403 /adm/login
                    754: ErrorDocument	  500 /adm/errorhandler
                    755: </Location>
                    756: 
1.215     raeburn   757: <Location /adm/dependencies>
                    758: AuthType LONCAPA
                    759: Require valid-user
                    760: PerlAuthzHandler       Apache::lonacc
                    761: SetHandler perl-script
                    762: PerlHandler Apache::londependencies
                    763: ErrorDocument     403 /adm/login
                    764: ErrorDocument     406 /adm/roles
                    765: ErrorDocument     500 /adm/errorhandler
                    766: </Location>
                    767: 
1.1       harris41  768: <Location /adm/login>
                    769: SetHandler perl-script
1.126     albertel  770: PerlHandler Apache::lonlogin
1.1       harris41  771: </Location>
                    772: 
1.275     raeburn   773: <LocationMatch "^/+adm/launch/tiny/[\w.-]+/\w+">
                    774: SetHandler perl-script
                    775: PerlHandler Apache::ltiauth
                    776: </LocationMatch>
                    777: 
1.277     raeburn   778: <Location /adm/relaunch>
                    779: SetHandler perl-script
                    780: PerlHandler Apache::lonrelaunch
                    781: </Location>
                    782: 
1.258     raeburn   783: <LocationMatch "^/+adm/lti($|/)">
                    784: SetHandler perl-script
1.259     raeburn   785: PerlHandler Apache::ltiauth
1.258     raeburn   786: </LocationMatch>
                    787: 
1.261     raeburn   788: <Location /adm/service/passback>
                    789: SetHandler perl-script
                    790: PerlHandler Apache::ltipassback
                    791: </Location>
                    792: 
1.260     raeburn   793: <Location /adm/service/roster>
                    794: SetHandler perl-script
                    795: PerlHandler Apache::ltiroster
                    796: </Location>
                    797: 
1.269     raeburn   798: <LocationMatch "^/adm/service/logout/\w+$">
                    799: SetHandler perl-script
                    800: PerlHandler Apache::ltilogout
                    801: </LocationMatch>
                    802: 
1.148     raeburn   803: <Location /adm/restrictedaccess>
                    804: PerlAccessHandler      Apache::publiccheck
                    805: AuthType LONCAPA
1.152     albertel  806: Require valid-user
1.228     raeburn   807: PerlAuthzHandler       Apache::lonacc
1.148     raeburn   808: SetHandler perl-script
                    809: PerlHandler Apache::restrictedaccess
1.154     albertel  810: ErrorDocument	  500 /adm/errorhandler
1.148     raeburn   811: </Location>
                    812: 
1.162     raeburn   813: <Location /adm/blockedaccess>
                    814: PerlAccessHandler      Apache::publiccheck
                    815: AuthType LONCAPA
                    816: Require valid-user
1.228     raeburn   817: PerlAuthzHandler       Apache::lonacc
1.162     raeburn   818: SetHandler perl-script
                    819: PerlHandler Apache::blockedaccess
                    820: ErrorDocument     500 /adm/errorhandler
                    821: </Location>
                    822: 
1.267     raeburn   823: <Location /adm/protected>
                    824: PerlAccessHandler      Apache::publiccheck
                    825: AuthType LONCAPA
                    826: Require valid-user
                    827: PerlAuthzHandler       Apache::lonacc
                    828: SetHandler perl-script
                    829: PerlHandler Apache::lonprotected
                    830: ErrorDocument     403 /adm/login
                    831: ErrorDocument     500 /adm/errorhandler
                    832: </Location>
                    833: 
1.1       harris41  834: <Location /adm/logout>
1.139     albertel  835: AuthType LONCAPA
1.125     albertel  836: Require valid-user
                    837: PerlAuthzHandler       Apache::lonacc
1.1       harris41  838: SetHandler perl-script
1.126     albertel  839: PerlHandler Apache::lonlogout
1.1       harris41  840: ErrorDocument     403 /adm/login
1.175     www       841: ErrorDocument     409 /adm/preferences?action=lockwarning
1.154     albertel  842: ErrorDocument	  500 /adm/errorhandler
1.1       harris41  843: </Location>
                    844: 
1.117     albertel  845: <Location /adm/switchserver>
1.139     albertel  846: AuthType LONCAPA
1.125     albertel  847: Require valid-user
                    848: PerlAuthzHandler       Apache::lonacc
1.117     albertel  849: SetHandler perl-script
1.126     albertel  850: PerlHandler Apache::switchserver
1.117     albertel  851: ErrorDocument     403 /adm/login
1.154     albertel  852: ErrorDocument	  500 /adm/errorhandler
1.117     albertel  853: </Location>
                    854: 
1.1       harris41  855: <Location /adm/authenticate>
                    856: SetHandler perl-script
1.126     albertel  857: PerlHandler Apache::lonauth
1.1       harris41  858: </Location>
                    859: 
1.117     albertel  860: <Location /adm/migrateuser>
                    861: SetHandler perl-script
1.126     albertel  862: PerlHandler Apache::migrateuser
1.117     albertel  863: </Location>
                    864: 
1.212     raeburn   865: <Location /adm/sso>
1.276     raeburn   866:   Header set Cache-Control "private,no-store,no-cache,max-age=0"
1.212     raeburn   867:   <IfModule mod_shib>
                    868:     AuthType shibboleth
                    869:     ShibUseEnvironment On
                    870:     ShibRequestSetting requireSession 1
                    871:     ShibRequestSetting redirectToSSL 443
                    872:     require valid-user
                    873:     PerlAuthzHandler       Apache::lonshibacc
                    874:     PerlAuthzHandler       Apache::lonacc
1.276     raeburn   875:     ErrorDocument     403 /adm/login
                    876:     ErrorDocument     500 /adm/errorhandler
1.212     raeburn   877:   </IfModule>
1.213     raeburn   878:   <IfModule !mod_shib>
                    879:     PerlTypeHandler        Apache::lonnoshib
                    880:   </IfModule>
1.212     raeburn   881: </Location>
                    882: 
1.278   ! raeburn   883: <Location /adm/linkexit>
        !           884: AuthType LONCAPA
        !           885: Require valid-user
        !           886: PerlAuthzHandler       Apache::lonacc
        !           887: SetHandler perl-script
        !           888: PerlHandler Apache::lonlinkexit
        !           889: ErrorDocument     403 /adm/login
        !           890: ErrorDocument     409 /adm/preferences?action=lockwarning
        !           891: ErrorDocument     500 /adm/errorhandler
        !           892: </Location>
        !           893: 
1.1       harris41  894: <Location /adm/annotations>
1.139     albertel  895: AuthType LONCAPA
1.125     albertel  896: Require valid-user
                    897: PerlAuthzHandler       Apache::lonacc
1.1       harris41  898: SetHandler perl-script
1.126     albertel  899: PerlHandler Apache::admannotations
1.1       harris41  900: ErrorDocument     403 /adm/login
                    901: ErrorDocument	  500 /adm/errorhandler
                    902: </Location>
                    903: 
1.265     raeburn   904: <Location /adm/annotation>
                    905: AuthType LONCAPA
                    906: Require valid-user
                    907: PerlAuthzHandler       Apache::lonacc
                    908: SetHandler perl-script
                    909: PerlHandler Apache::admannotations
                    910: ErrorDocument     403 /adm/login
                    911: ErrorDocument     500 /adm/errorhandler
                    912: </Location>
                    913: 
1.91      www       914: <Location /adm/spellcheck>
1.139     albertel  915: AuthType LONCAPA
1.125     albertel  916: Require valid-user
                    917: PerlAuthzHandler       Apache::lonacc
1.91      www       918: SetHandler perl-script
1.126     albertel  919: PerlHandler Apache::lonspeller
1.91      www       920: ErrorDocument     403 /adm/login
                    921: ErrorDocument	  500 /adm/errorhandler
                    922: </Location>
                    923: 
1.1       harris41  924: <Location /adm/flip>
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::lonpageflip
1.30      www       930: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129     albertel  931: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  932: ErrorDocument     406 /adm/roles
                    933: ErrorDocument     403 /adm/login
                    934: ErrorDocument	  500 /adm/errorhandler
                    935: </Location>
                    936: 
                    937: <Location /adm/ambiguous>
1.139     albertel  938: AuthType LONCAPA
1.125     albertel  939: Require valid-user
                    940: PerlAuthzHandler       Apache::lonacc
1.1       harris41  941: SetHandler perl-script
1.126     albertel  942: PerlHandler Apache::lonambiguous
1.30      www       943: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129     albertel  944: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  945: ErrorDocument     403 /adm/login
                    946: ErrorDocument	  500 /adm/errorhandler
                    947: </Location>
                    948: 
                    949: <Location /adm/email>
1.139     albertel  950: AuthType LONCAPA
1.125     albertel  951: Require valid-user
                    952: PerlAuthzHandler       Apache::lonacc
1.1       harris41  953: SetHandler perl-script
1.130     albertel  954: PerlHandler Apache::lonmsgdisplay
1.1       harris41  955: ErrorDocument     403 /adm/login
                    956: ErrorDocument	  500 /adm/errorhandler
                    957: </Location>
                    958: 
1.116     raeburn   959: <Location /adm/notify>
1.139     albertel  960: AuthType LONCAPA
1.125     albertel  961: Require valid-user
                    962: PerlAuthzHandler       Apache::lonacc
1.116     raeburn   963: SetHandler perl-script
1.126     albertel  964: PerlHandler Apache::lonnotify
1.116     raeburn   965: ErrorDocument     403 /adm/login
                    966: ErrorDocument     500 /adm/errorhandler
                    967: </Location>
                    968: 
1.1       harris41  969: <Location /adm/parmset>
1.139     albertel  970: AuthType LONCAPA
1.125     albertel  971: Require valid-user
                    972: PerlAuthzHandler       Apache::lonacc
1.1       harris41  973: SetHandler perl-script
1.126     albertel  974: PerlHandler Apache::lonparmset
1.31      bowersj2  975: ErrorDocument     403 /adm/login
                    976: ErrorDocument     406 /adm/roles
                    977: ErrorDocument	  500 /adm/errorhandler
                    978: </Location>
                    979: 
1.185     raeburn   980: <Location /adm/courseprefs>
                    981: AuthType LONCAPA
                    982: Require valid-user
                    983: PerlAuthzHandler       Apache::lonacc
                    984: SetHandler perl-script
                    985: PerlHandler Apache::courseprefs
                    986: ErrorDocument     403 /adm/login
                    987: ErrorDocument     406 /adm/roles
                    988: ErrorDocument     500 /adm/errorhandler
                    989: </Location>
                    990: 
1.110     albertel  991: <Location /adm/slotrequest>
1.139     albertel  992: AuthType LONCAPA
1.125     albertel  993: Require valid-user
                    994: PerlAuthzHandler       Apache::lonacc
1.110     albertel  995: SetHandler perl-script
1.126     albertel  996: PerlHandler Apache::slotrequest
1.110     albertel  997: ErrorDocument     403 /adm/login
                    998: ErrorDocument     406 /adm/roles
                    999: ErrorDocument	  500 /adm/errorhandler
                   1000: </Location>
                   1001: 
1.31      bowersj2 1002: <Location /adm/wizard>
1.139     albertel 1003: AuthType LONCAPA
1.125     albertel 1004: Require valid-user
                   1005: PerlAuthzHandler       Apache::lonacc
1.31      bowersj2 1006: SetHandler perl-script
1.126     albertel 1007: PerlHandler Apache::lonwizard
1.1       harris41 1008: ErrorDocument     403 /adm/login
                   1009: ErrorDocument     406 /adm/roles
                   1010: ErrorDocument	  500 /adm/errorhandler
                   1011: </Location>
                   1012: 
                   1013: <Location /adm/grades>
1.139     albertel 1014: AuthType LONCAPA
1.125     albertel 1015: Require valid-user
                   1016: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1017: SetHandler perl-script
1.126     albertel 1018: PerlHandler Apache::grades
1.1       harris41 1019: ErrorDocument     403 /adm/login
                   1020: ErrorDocument     406 /adm/roles
                   1021: ErrorDocument	  500 /adm/errorhandler
                   1022: </Location>
                   1023: 
1.187     raeburn  1024: <Location /adm/requestcourse>
                   1025: AuthType LONCAPA
                   1026: Require valid-user
                   1027: PerlAuthzHandler       Apache::lonacc
                   1028: SetHandler perl-script
                   1029: PerlHandler Apache::lonrequestcourse
                   1030: ErrorDocument     403 /adm/login
                   1031: ErrorDocument     406 /adm/roles
                   1032: ErrorDocument     500 /adm/errorhandler
                   1033: </Location>
                   1034: 
1.1       harris41 1035: <Location /adm/createcourse>
1.139     albertel 1036: AuthType LONCAPA
1.125     albertel 1037: Require valid-user
                   1038: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1039: SetHandler perl-script
1.126     albertel 1040: PerlHandler Apache::loncreatecourse
1.1       harris41 1041: ErrorDocument     403 /adm/login
                   1042: ErrorDocument     406 /adm/roles
                   1043: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn  1044: </Location>
                   1045: 
                   1046: <Location /adm/modifycourse>
1.139     albertel 1047: AuthType LONCAPA
1.125     albertel 1048: Require valid-user
                   1049: PerlAuthzHandler       Apache::lonacc
1.67      raeburn  1050: SetHandler perl-script
1.126     albertel 1051: PerlHandler Apache::lonmodifycourse
1.67      raeburn  1052: ErrorDocument     403 /adm/login
                   1053: ErrorDocument     406 /adm/roles
                   1054: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1055: </Location>
                   1056: 
1.163     raeburn  1057: <Location /adm/domainprefs>
                   1058: AuthType LONCAPA
                   1059: Require valid-user
                   1060: PerlAuthzHandler       Apache::lonacc
                   1061: SetHandler perl-script
                   1062: PerlHandler Apache::domainprefs
                   1063: ErrorDocument     403 /adm/login
                   1064: ErrorDocument     406 /adm/roles
                   1065: ErrorDocument     500 /adm/errorhandler
                   1066: </Location>
                   1067: 
1.182     raeburn  1068: <Location /adm/domainstatus>
                   1069: PerlAccessHandler       Apache::lonstatusacc
                   1070: SetHandler perl-script
                   1071: PerlHandler Apache::domainstatus
                   1072: ErrorDocument     403 /adm/login
                   1073: ErrorDocument     406 /adm/roles
                   1074: ErrorDocument     500 /adm/errorhandler
                   1075: </Location>
                   1076: 
1.1       harris41 1077: <Location /adm/createuser>
1.139     albertel 1078: AuthType LONCAPA
1.125     albertel 1079: Require valid-user
                   1080: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1081: SetHandler perl-script
1.126     albertel 1082: PerlHandler Apache::loncreateuser
1.1       harris41 1083: ErrorDocument     403 /adm/login
                   1084: ErrorDocument     406 /adm/roles
                   1085: ErrorDocument	  500 /adm/errorhandler
                   1086: </Location>
                   1087: 
                   1088: <Location /adm/publish>
1.139     albertel 1089: AuthType LONCAPA
1.125     albertel 1090: Require valid-user
                   1091: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1092: SetHandler perl-script
1.126     albertel 1093: PerlHandler Apache::lonpublisher
1.1       harris41 1094: ErrorDocument     403 /adm/login
                   1095: ErrorDocument     404 /adm/notfound.html
1.18      www      1096: ErrorDocument     406 /adm/unauthorized
1.1       harris41 1097: ErrorDocument	  500 /adm/errorhandler
                   1098: </Location>
                   1099: 
1.205     www      1100: <LocationMatch "^/+priv/.*/$">
1.139     albertel 1101: AuthType LONCAPA
1.131     albertel 1102: Require valid-user
1.125     albertel 1103: PerlAuthzHandler       Apache::loncacc
1.1       harris41 1104: SetHandler perl-script
1.126     albertel 1105: PerlHandler Apache::lonpubdir
1.1       harris41 1106: ErrorDocument     403 /adm/login
                   1107: ErrorDocument     404 /adm/notfound.html
1.18      www      1108: ErrorDocument     406 /adm/unauthorized
1.1       harris41 1109: ErrorDocument	  500 /adm/errorhandler
                   1110: </LocationMatch>
                   1111: 
1.18      www      1112: <Location /adm/unauthorized>
1.139     albertel 1113: AuthType LONCAPA
1.125     albertel 1114: Require valid-user
                   1115: PerlAuthzHandler       Apache::lonacc
1.18      www      1116: SetHandler perl-script
1.126     albertel 1117: PerlHandler Apache::lonunauthorized
1.18      www      1118: ErrorDocument     403 /adm/login
                   1119: ErrorDocument     404 /adm/notfound.html
1.1       harris41 1120: ErrorDocument	  500 /adm/errorhandler
                   1121: </Location>
                   1122: 
                   1123: <Location /adm/retrieve>
1.139     albertel 1124: AuthType LONCAPA
1.125     albertel 1125: Require valid-user
                   1126: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1127: SetHandler perl-script
1.126     albertel 1128: PerlHandler Apache::lonretrieve
1.1       harris41 1129: ErrorDocument     403 /adm/login
                   1130: ErrorDocument     404 /adm/notfound.html
1.18      www      1131: ErrorDocument     406 /adm/unauthorized
1.1       harris41 1132: ErrorDocument	  500 /adm/errorhandler
                   1133: </Location>
                   1134: 
1.109     www      1135: <Location /adm/cleanup>
1.139     albertel 1136: AuthType LONCAPA
1.125     albertel 1137: Require valid-user
                   1138: PerlAuthzHandler       Apache::lonacc
1.109     www      1139: SetHandler perl-script
1.126     albertel 1140: PerlHandler Apache::loncleanup
1.109     www      1141: ErrorDocument     403 /adm/login
                   1142: ErrorDocument     404 /adm/notfound.html
                   1143: ErrorDocument     406 /adm/unauthorized
                   1144: ErrorDocument	  500 /adm/errorhandler
                   1145: </Location>
                   1146: 
1.1       harris41 1147: <Location /adm/cfile>
1.139     albertel 1148: AuthType LONCAPA
1.125     albertel 1149: Require valid-user
                   1150: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1151: SetHandler perl-script
1.126     albertel 1152: PerlHandler Apache::loncfile
1.1       harris41 1153: ErrorDocument     403 /adm/login
                   1154: ErrorDocument     404 /adm/notfound.html
1.18      www      1155: ErrorDocument     406 /adm/unauthorized
1.1       harris41 1156: ErrorDocument	  500 /adm/errorhandler
                   1157: </Location>
                   1158: 
                   1159: <Location /adm/diff>
1.139     albertel 1160: AuthType LONCAPA
1.125     albertel 1161: Require valid-user
                   1162: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1163: SetHandler perl-script
1.126     albertel 1164: PerlHandler Apache::londiff
1.1       harris41 1165: ErrorDocument     403 /adm/login
                   1166: ErrorDocument     404 /adm/notfound.html
1.18      www      1167: ErrorDocument     406 /adm/unauthorized
1.1       harris41 1168: ErrorDocument	  500 /adm/errorhandler
                   1169: </Location>
                   1170: 
                   1171: <Location /adm/upload>
1.139     albertel 1172: AuthType LONCAPA
1.125     albertel 1173: Require valid-user
                   1174: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1175: SetHandler perl-script
1.126     albertel 1176: PerlHandler Apache::lonupload
1.1       harris41 1177: ErrorDocument     403 /adm/login
                   1178: ErrorDocument     404 /adm/notfound.html
1.18      www      1179: ErrorDocument     406 /adm/unauthorized
1.1       harris41 1180: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn  1181: </Location>
                   1182: 
1.73      raeburn  1183: <Location /adm/imsimport>
1.139     albertel 1184: AuthType LONCAPA
1.125     albertel 1185: Require valid-user
                   1186: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1187: SetHandler perl-script
1.126     albertel 1188: PerlHandler Apache::imsimport
1.73      raeburn  1189: ErrorDocument     403 /adm/login
                   1190: ErrorDocument     404 /adm/notfound.html
                   1191: ErrorDocument     406 /adm/unauthorized
                   1192: ErrorDocument     500 /adm/errorhandler
                   1193: </Location>
                   1194: 
1.72      raeburn  1195: <Location /adm/testbank>
1.139     albertel 1196: AuthType LONCAPA
1.125     albertel 1197: Require valid-user
                   1198: PerlAuthzHandler       Apache::lonacc
1.72      raeburn  1199: SetHandler perl-script
1.126     albertel 1200: PerlHandler Apache::testbankimport
1.72      raeburn  1201: ErrorDocument     403 /adm/login
                   1202: ErrorDocument     404 /adm/notfound.html
                   1203: ErrorDocument     406 /adm/unauthorized
                   1204: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1205: </Location>
                   1206: 
                   1207: <Location /adm/assesscalc>
1.139     albertel 1208: AuthType LONCAPA
1.125     albertel 1209: Require valid-user
                   1210: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1211: SetHandler perl-script
1.126     albertel 1212: PerlHandler Apache::lonspreadsheet
1.1       harris41 1213: ErrorDocument     403 /adm/login
                   1214: ErrorDocument     406 /adm/roles
1.20      www      1215: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1216: ErrorDocument	  500 /adm/errorhandler
                   1217: </Location>
                   1218: 
                   1219: <Location /adm/studentcalc>
1.139     albertel 1220: AuthType LONCAPA
1.125     albertel 1221: Require valid-user
                   1222: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1223: SetHandler perl-script
1.126     albertel 1224: PerlHandler Apache::lonspreadsheet
1.1       harris41 1225: ErrorDocument     403 /adm/login
                   1226: ErrorDocument     406 /adm/roles
1.20      www      1227: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1228: ErrorDocument	  500 /adm/errorhandler
                   1229: </Location>
                   1230: 
                   1231: <Location /adm/classcalc>
1.139     albertel 1232: AuthType LONCAPA
1.125     albertel 1233: Require valid-user
                   1234: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1235: SetHandler perl-script
1.126     albertel 1236: PerlHandler Apache::lonspreadsheet
1.1       harris41 1237: ErrorDocument     403 /adm/login
                   1238: ErrorDocument     406 /adm/roles
1.20      www      1239: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1240: ErrorDocument	  500 /adm/errorhandler
                   1241: </Location>
                   1242: 
                   1243: <Location /adm/dropadd>
1.139     albertel 1244: AuthType LONCAPA
1.125     albertel 1245: Require valid-user
                   1246: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1247: SetHandler perl-script
1.126     albertel 1248: PerlHandler Apache::londropadd
1.44      www      1249: ErrorDocument     403 /adm/login
                   1250: ErrorDocument     406 /adm/roles
                   1251: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn  1252: </Location>
                   1253: 
1.92      matthew  1254: <Location /adm/viewclasslist>
1.139     albertel 1255: AuthType LONCAPA
1.125     albertel 1256: Require valid-user
                   1257: PerlAuthzHandler       Apache::lonacc
1.92      matthew  1258: SetHandler perl-script
1.126     albertel 1259: PerlHandler Apache::lonviewclasslist
1.92      matthew  1260: ErrorDocument     403 /adm/login
                   1261: ErrorDocument     406 /adm/roles
                   1262: ErrorDocument	  500 /adm/errorhandler
                   1263: </Location>
                   1264: 
1.118     raeburn  1265: <Location /adm/coursegroups>
1.139     albertel 1266: AuthType LONCAPA
1.125     albertel 1267: Require valid-user
                   1268: PerlAuthzHandler       Apache::lonacc
1.118     raeburn  1269: SetHandler perl-script
1.126     albertel 1270: PerlHandler Apache::loncoursegroups
1.118     raeburn  1271: ErrorDocument     403 /adm/login
                   1272: ErrorDocument     406 /adm/roles
                   1273: ErrorDocument     500 /adm/errorhandler
                   1274: </Location>
                   1275: 
1.143     raeburn  1276: <Location /adm/groupboards>
                   1277: AuthType LONCAPA
                   1278: Require valid-user
                   1279: PerlAuthzHandler       Apache::lonacc
                   1280: SetHandler perl-script
                   1281: PerlHandler Apache::groupboards
                   1282: ErrorDocument     403 /adm/login
                   1283: ErrorDocument     406 /adm/roles
                   1284: ErrorDocument     500 /adm/errorhandler
                   1285: </Location>
                   1286: 
1.144     raeburn  1287: <Location /adm/grouproster>
                   1288: AuthType LONCAPA
                   1289: Require valid-user
                   1290: PerlAuthzHandler       Apache::lonacc
                   1291: SetHandler perl-script
                   1292: PerlHandler Apache::grouproster
                   1293: ErrorDocument     403 /adm/login
                   1294: ErrorDocument     406 /adm/roles
                   1295: ErrorDocument     500 /adm/errorhandler
                   1296: </Location>
                   1297: 
1.112     raeburn  1298: <Location /adm/whatsnew>
1.139     albertel 1299: AuthType LONCAPA
1.125     albertel 1300: Require valid-user
                   1301: PerlAuthzHandler       Apache::lonacc
1.112     raeburn  1302: SetHandler perl-script
1.126     albertel 1303: PerlHandler Apache::lonwhatsnew
1.112     raeburn  1304: ErrorDocument     403 /adm/login
                   1305: ErrorDocument     406 /adm/roles
                   1306: ErrorDocument     500 /adm/errorhandler
                   1307: </Location>
                   1308: 
1.65      raeburn  1309: <Location /adm/populate>
1.139     albertel 1310: AuthType LONCAPA
1.125     albertel 1311: Require valid-user
                   1312: PerlAuthzHandler       Apache::lonacc
1.65      raeburn  1313: SetHandler perl-script
1.126     albertel 1314: PerlHandler Apache::lonpopulate
1.65      raeburn  1315: ErrorDocument     403 /adm/login
                   1316: ErrorDocument     406 /adm/roles
                   1317: ErrorDocument     500 /adm/errorhandler
1.44      www      1318: </Location>
                   1319: 
                   1320: <Location /adm/managekeys>
1.139     albertel 1321: AuthType LONCAPA
1.125     albertel 1322: Require valid-user
                   1323: PerlAuthzHandler       Apache::lonacc
1.44      www      1324: SetHandler perl-script
1.126     albertel 1325: PerlHandler Apache::lonmanagekeys
1.1       harris41 1326: ErrorDocument     403 /adm/login
                   1327: ErrorDocument     406 /adm/roles
                   1328: ErrorDocument	  500 /adm/errorhandler
                   1329: </Location>
                   1330: 
                   1331: <Location /adm/printout>
1.139     albertel 1332: AuthType LONCAPA
1.125     albertel 1333: Require valid-user
                   1334: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1335: SetHandler perl-script
1.126     albertel 1336: PerlHandler Apache::lonprintout
1.1       harris41 1337: ErrorDocument     403 /adm/login
1.20      www      1338: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1339: ErrorDocument	  500 /adm/errorhandler
                   1340: </Location>
                   1341: 
                   1342: <Location /adm/feedback>
1.139     albertel 1343: AuthType LONCAPA
1.125     albertel 1344: Require valid-user
                   1345: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1346: SetHandler perl-script
1.126     albertel 1347: PerlHandler Apache::lonfeedback
1.10      www      1348: ErrorDocument     403 /adm/login
                   1349: ErrorDocument	  500 /adm/errorhandler
                   1350: </Location>
                   1351: 
                   1352: <Location /adm/coursedocs>
1.139     albertel 1353: AuthType LONCAPA
1.125     albertel 1354: Require valid-user
                   1355: PerlAuthzHandler       Apache::lonacc
1.10      www      1356: SetHandler perl-script
1.126     albertel 1357: PerlHandler Apache::londocs
1.108     albertel 1358: PerlCleanupHandler Apache::londocs::untiehash
1.129     albertel 1359: PerlCleanupHandler	Apache::lonacc::cleanup
1.10      www      1360: ErrorDocument     403 /adm/login
                   1361: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn  1362: </Location>
                   1363: 
1.207     raeburn  1364: <Location /adm/supplemental>
                   1365: AuthType LONCAPA
                   1366: Require valid-user
                   1367: PerlAuthzHandler       Apache::lonacc
                   1368: SetHandler perl-script
                   1369: PerlHandler Apache::londocs
                   1370: PerlCleanupHandler Apache::londocs::untiehash
                   1371: PerlCleanupHandler      Apache::lonacc::cleanup
                   1372: ErrorDocument     403 /adm/login
                   1373: ErrorDocument     500 /adm/errorhandler
                   1374: </Location>
                   1375: 
1.73      raeburn  1376: <Location /adm/imsimportdocs>
1.139     albertel 1377: AuthType LONCAPA
1.125     albertel 1378: Require valid-user
                   1379: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1380: SetHandler perl-script
1.126     albertel 1381: PerlHandler Apache::imsimportdocs
1.73      raeburn  1382: ErrorDocument     403 /adm/login
                   1383: ErrorDocument     500 /adm/errorhandler
1.10      www      1384: </Location>
                   1385: 
1.224     raeburn  1386: <Location /adm/extresedit>
                   1387: AuthType LONCAPA
                   1388: Require valid-user
                   1389: PerlAuthzHandler       Apache::lonacc
                   1390: SetHandler perl-script
                   1391: PerlHandler Apache::lonextresedit
                   1392: ErrorDocument     403 /adm/login
                   1393: ErrorDocument     500 /adm/errorhandler
                   1394: </Location>
                   1395: 
1.135     www      1396: <LocationMatch "^/adm/announcements">
1.139     albertel 1397: AuthType LONCAPA
1.125     albertel 1398: Require valid-user
                   1399: PerlAuthzHandler       Apache::lonacc
1.10      www      1400: SetHandler perl-script
1.126     albertel 1401: PerlHandler Apache::lonannounce
1.10      www      1402: ErrorDocument     403 /adm/login
                   1403: ErrorDocument	  500 /adm/errorhandler
1.135     www      1404: </LocationMatch>
1.10      www      1405: 
                   1406: <Location /adm/chat>
1.139     albertel 1407: AuthType LONCAPA
1.125     albertel 1408: Require valid-user
                   1409: PerlAuthzHandler       Apache::lonacc
1.10      www      1410: SetHandler perl-script
1.126     albertel 1411: PerlHandler Apache::lonchat
1.13      www      1412: ErrorDocument	  500 /adm/errorhandler
                   1413: </Location>
                   1414: 
                   1415: <Location /adm/chatfetch>
1.139     albertel 1416: AuthType LONCAPA
1.125     albertel 1417: Require valid-user
                   1418: PerlAuthzHandler       Apache::lonacc
1.13      www      1419: SetHandler perl-script
1.126     albertel 1420: PerlHandler Apache::lonchatfetch
1.20      www      1421: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1422: ErrorDocument	  500 /adm/errorhandler
                   1423: </Location>
                   1424: 
1.137     albertel 1425: <Location /adm/groupchat>
1.139     albertel 1426: AuthType LONCAPA
1.137     albertel 1427: Require valid-user
                   1428: PerlAuthzHandler       Apache::lonacc
                   1429: SetHandler perl-script
                   1430: PerlHandler Apache::longroupchat
                   1431: ErrorDocument     403 /adm/login
                   1432: ErrorDocument     500 /adm/errorhandler
                   1433: </Location>
                   1434: 
1.1       harris41 1435: <Location /adm/evaluate>
1.139     albertel 1436: AuthType LONCAPA
1.125     albertel 1437: Require valid-user
                   1438: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1439: SetHandler perl-script
1.126     albertel 1440: PerlHandler Apache::lonevaluate
1.1       harris41 1441: ErrorDocument     403 /adm/login
                   1442: ErrorDocument	  500 /adm/errorhandler
                   1443: </Location>
                   1444: 
                   1445: <Location /adm/preferences>
1.139     albertel 1446: AuthType LONCAPA
1.125     albertel 1447: Require valid-user
                   1448: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1449: SetHandler perl-script
1.126     albertel 1450: PerlHandler Apache::lonpreferences
1.1       harris41 1451: ErrorDocument     403 /adm/login
                   1452: ErrorDocument	  500 /adm/errorhandler
                   1453: </Location>
                   1454: 
                   1455: <Location /adm/communicate>
1.139     albertel 1456: AuthType LONCAPA
1.125     albertel 1457: Require valid-user
                   1458: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1459: SetHandler perl-script
1.126     albertel 1460: PerlHandler Apache::loncommunicate
1.1       harris41 1461: ErrorDocument     403 /adm/login
                   1462: ErrorDocument	  500 /adm/errorhandler
                   1463: </Location>
                   1464: 
                   1465: <Location /adm/searchcat>
1.139     albertel 1466: AuthType LONCAPA
1.125     albertel 1467: Require valid-user
                   1468: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1469: SetHandler perl-script
1.126     albertel 1470: PerlHandler Apache::lonsearchcat
1.28      www      1471: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1472: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1473: ErrorDocument     403 /adm/login
1.20      www      1474: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1475: ErrorDocument	  500 /adm/errorhandler
                   1476: </Location>
                   1477: 
                   1478: <Location /adm/navmaps>
1.139     albertel 1479: AuthType LONCAPA
1.125     albertel 1480: Require valid-user
                   1481: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1482: SetHandler perl-script
1.160     albertel 1483: PerlHandler Apache::lonnavdisplay
1.1       harris41 1484: ErrorDocument     403 /adm/login
                   1485: ErrorDocument     406 /adm/roles
                   1486: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1487: </Location>
                   1488: 
                   1489: <Location /adm/quickgrades>
1.139     albertel 1490: AuthType LONCAPA
1.125     albertel 1491: Require valid-user
                   1492: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1493: SetHandler perl-script
1.126     albertel 1494: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1495: ErrorDocument     403 /adm/login
                   1496: ErrorDocument     406 /adm/roles
                   1497: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1498: </Location>
                   1499: 
                   1500: <Location /adm/groupsort>
1.139     albertel 1501: AuthType LONCAPA
1.125     albertel 1502: Require valid-user
                   1503: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1504: SetHandler perl-script
1.126     albertel 1505: PerlHandler Apache::groupsort
1.29      www      1506: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1507: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1508: ErrorDocument     403 /adm/login
1.251     raeburn  1509: ErrorDocument     406 /adm/roles
1.1       harris41 1510: ErrorDocument	  500 /adm/errorhandler
                   1511: </Location>
                   1512: 
1.197     wenzelju 1513: <Location /adm/wishlist>
                   1514: AuthType LONCAPA
                   1515: Require valid-user
                   1516: PerlAuthzHandler       Apache::lonacc
                   1517: SetHandler perl-script
1.202     wenzelju 1518: PerlHandler Apache::lonwishlistdisplay
1.197     wenzelju 1519: ErrorDocument     403 /adm/login
                   1520: ErrorDocument     406 /adm/roles
                   1521: ErrorDocument	  500 /adm/errorhandler
                   1522: </Location>
                   1523: 
1.208     raeburn  1524: <Location /adm/setblock>
                   1525: AuthType LONCAPA
                   1526: Require valid-user
                   1527: PerlAuthzHandler       Apache::lonacc
                   1528: SetHandler             perl-script
                   1529: PerlHandler            Apache::lonblockingmenu
                   1530: ErrorDocument     403 /adm/login
1.209     raeburn  1531: ErrorDocument     406 /adm/roles
1.208     raeburn  1532: ErrorDocument     500 /adm/errorhandler
                   1533: </Location>
                   1534: 
1.186     droeschl 1535: <Location /adm/blockingstatus>
1.188     droeschl 1536: PerlAccessHandler      Apache::publiccheck
1.186     droeschl 1537: AuthType LONCAPA
                   1538: Require valid-user
                   1539: PerlAuthzHandler       Apache::lonacc
1.188     droeschl 1540: SetHandler             perl-script
                   1541: PerlHandler            Apache::lonblockingstatus
1.186     droeschl 1542: </Location>
                   1543: 
1.249     raeburn  1544: <Location /adm/accesstimes>
                   1545: AuthType LONCAPA
                   1546: Require valid-user
                   1547: PerlAuthzHandler       Apache::lonacc
                   1548: SetHandler             perl-script
                   1549: PerlHandler            Apache::lonaccesstimes
                   1550: ErrorDocument     403 /adm/login
                   1551: ErrorDocument     406 /adm/roles
                   1552: ErrorDocument     500 /adm/errorhandler
                   1553: </Location>
                   1554: 
1.1       harris41 1555: <Location /adm/errorhandler>
                   1556: SetHandler perl-script
1.126     albertel 1557: PerlHandler Apache::lonerrorhandler
1.1       harris41 1558: </Location>
                   1559: 
1.7       bowersj2 1560: <LocationMatch "^/adm/help/.*\.hlp$">
1.139     albertel 1561: AuthType LONCAPA
1.125     albertel 1562: Require valid-user
1.147     albertel 1563: PerlAccessHandler      Apache::publiccheck
1.125     albertel 1564: PerlAuthzHandler	Apache::lonacc
1.7       bowersj2 1565: SetHandler perl-script
1.126     albertel 1566: PerlHandler Apache::lonhelp
1.154     albertel 1567: ErrorDocument	  500 /adm/errorhandler
1.7       bowersj2 1568: </LocationMatch>
                   1569: 
1.90      raeburn  1570: <LocationMatch "^/adm/helpmenu">
1.139     albertel 1571: AuthType LONCAPA
1.125     albertel 1572: Require valid-user
                   1573: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1574: SetHandler perl-script
1.126     albertel 1575: PerlHandler Apache::lonhelpmenu
1.154     albertel 1576: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1577: </LocationMatch>
                   1578: 
                   1579: <LocationMatch "^/adm/support">
1.139     albertel 1580: AuthType LONCAPA
1.125     albertel 1581: Require valid-user
                   1582: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1583: SetHandler perl-script
1.126     albertel 1584: PerlHandler Apache::lonsupportreq
1.154     albertel 1585: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1586: </LocationMatch>
                   1587: 
1.100     raeburn  1588: <LocationMatch "^/adm/helpdesk">
                   1589: SetHandler perl-script
1.126     albertel 1590: PerlHandler Apache::lonsupportreq
1.154     albertel 1591: ErrorDocument	  500 /adm/errorhandler
1.100     raeburn  1592: </LocationMatch>
                   1593: 
1.221     raeburn  1594: <LocationMatch "^/adm/css/.*\.css$">
1.133     albertel 1595: SetHandler perl-script
                   1596: PerlHandler Apache::loncss
1.154     albertel 1597: ErrorDocument	  500 /adm/errorhandler
1.133     albertel 1598: </LocationMatch>
                   1599: 
1.155     raeburn  1600: <LocationMatch "^/adm/coursecatalog">
                   1601: SetHandler perl-script
                   1602: PerlHandler Apache::coursecatalog
1.156     albertel 1603: ErrorDocument	  500 /adm/errorhandler
1.155     raeburn  1604: </LocationMatch>
                   1605: 
1.161     raeburn  1606: <LocationMatch "^/adm/resetpw">
                   1607: SetHandler perl-script
                   1608: PerlHandler Apache::resetpw
                   1609: ErrorDocument     500 /adm/errorhandler
                   1610: </LocationMatch>
1.155     raeburn  1611: 
1.173     raeburn  1612: <LocationMatch "^/adm/selfenroll">
                   1613: SetHandler perl-script
                   1614: PerlHandler Apache::selfenroll
                   1615: ErrorDocument     500 /adm/errorhandler
                   1616: </LocationMatch>
                   1617: 
1.171     raeburn  1618: <LocationMatch "^/adm/createaccount">
                   1619: SetHandler perl-script
                   1620: PerlHandler Apache::createaccount
                   1621: ErrorDocument     500 /adm/errorhandler
                   1622: </LocationMatch>
                   1623: 
1.165     albertel 1624: <LocationMatch "^/adm/dns">
                   1625: SetHandler perl-script
                   1626: PerlHandler Apache::londns
                   1627: ErrorDocument     500 /adm/errorhandler
                   1628: </LocationMatch>
1.164     albertel 1629: 
1.219     foxr     1630: <LocationMatch "^/ajax/spellcheck">
1.218     foxr     1631: SetHandler perl-script
1.219     foxr     1632: PerlHandler Apache::spellcheck
1.218     foxr     1633: </LocationMatch>
                   1634: 
1.266     raeburn  1635: <LocationMatch "^/tiny/[\w.-]+/\w+$">
1.262     raeburn  1636: AuthType LONCAPA
                   1637: Require valid-user
                   1638: PerlAuthzHandler Apache::lonacc
                   1639: SetHandler perl-script
                   1640: PerlHandler Apache::lontiny
                   1641: ErrorDocument     403 /adm/login
                   1642: ErrorDocument     406 /adm/roles
                   1643: ErrorDocument     500 /adm/errorhandler
                   1644: </LocationMatch>
1.218     foxr     1645: 
1.1       harris41 1646: # ------------------------------------------------- Backdoor Adm Tests/Programs
                   1647: 
                   1648: <Location /adm/test>
1.181     raeburn  1649: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1650: SetHandler perl-script
1.126     albertel 1651: PerlHandler Apache::lontest
1.1       harris41 1652: </Location>
                   1653: 
                   1654: # ------------------------------------------------------- Shutting down a child
                   1655: 
1.129     albertel 1656: PerlChildExitHandler Apache::lonacc::goodbye
1.1       harris41 1657: 
                   1658: #
                   1659: # LON-CAPA Section (extensions to access.conf permission configuration)
                   1660: #
                   1661: # =========================================================== Directory Options
                   1662: 
                   1663: # Start out with "no"
                   1664: 
                   1665: <Directory />
                   1666: Options None
                   1667: AllowOverride None
1.226     raeburn  1668: <IfModule mod_authz_core.c>
                   1669:   Require all denied
                   1670: </IfModule>
                   1671: <IfModule !mod_authz_core.c>
                   1672:   order deny,allow
                   1673:   deny from all
                   1674: </IfModule>
1.158     raeburn  1675: </Directory>
                   1676: 
                   1677: # Allow uploaded files to be served
                   1678: 
                   1679: <Directory "/home/httpd/lonUsers">
1.257     raeburn  1680: Options FollowSymLinks
1.158     raeburn  1681: AllowOverride None
1.226     raeburn  1682: <IfModule mod_authz_core.c>
                   1683:   Require all granted
                   1684: </IfModule>
                   1685: <IfModule !mod_authz_core.c>
                   1686:   order allow,deny
                   1687:   allow from all
                   1688: </IfModule>
1.158     raeburn  1689: </Directory>
                   1690:  
1.1       harris41 1691: # Yes to symbolic links and server-side includes
                   1692: 
                   1693: <Directory /home/httpd/html>
1.257     raeburn  1694: Options FollowSymLinks
1.1       harris41 1695: AllowOverride None
1.226     raeburn  1696: <IfModule mod_authz_core.c>
                   1697:   Require all granted
                   1698: </IfModule>
                   1699: <IfModule !mod_authz_core.c>
                   1700:   order allow,deny
                   1701:   allow from all
                   1702: </IfModule>
1.1       harris41 1703: </Directory>
                   1704: 
                   1705: # If it is in cgi-bin, then it can be executed as a CGI script.
                   1706: 
                   1707: <Directory /home/httpd/cgi-bin>
                   1708: AllowOverride None
1.157     albertel 1709: Options ExecCGI FollowSymLinks
1.226     raeburn  1710: <IfModule mod_authz_core.c>
                   1711:   Require all granted
                   1712: </IfModule>
                   1713: <IfModule !mod_authz_core.c>
                   1714:   order allow,deny
                   1715:   allow from all
                   1716: </IfModule>
1.159     raeburn  1717: </Directory>
                   1718: 
                   1719: # Allow serving of files in prtspool
                   1720: 
                   1721: <Directory "/home/httpd/prtspool/">
1.256     raeburn  1722: Options FollowSymLinks
1.159     raeburn  1723: AllowOverride None
1.226     raeburn  1724: <IfModule mod_authz_core.c>
                   1725:   Require all granted
                   1726: </IfModule>
                   1727: <IfModule !mod_authz_core.c>
                   1728:   order allow,deny
                   1729:   allow from all
                   1730: </IfModule>
1.1       harris41 1731: </Directory>
                   1732: 
1.167     banghart 1733: # Allow serving of files in zipspool
                   1734: 
                   1735: <Directory "/home/httpd/zipspool/">
1.256     raeburn  1736: Options FollowSymLinks
1.167     banghart 1737: AllowOverride None
1.226     raeburn  1738: <IfModule mod_authz_core.c>
                   1739:   Require all granted
                   1740: </IfModule>
                   1741: <IfModule !mod_authz_core.c>
                   1742:   order allow,deny
                   1743:   allow from all
                   1744: </IfModule>
1.167     banghart 1745: </Directory>
                   1746: 
1.177     raeburn  1747: # Allow serving of files in captchaspool
                   1748: 
                   1749: <Directory "/home/httpd/captchaspool/">
1.256     raeburn  1750: Options FollowSymLinks
1.177     raeburn  1751: AllowOverride None
1.226     raeburn  1752: <IfModule mod_authz_core.c>
                   1753:   Require all granted
                   1754: </IfModule>
                   1755: <IfModule !mod_authz_core.c>
                   1756:   order allow,deny
                   1757:   allow from all
                   1758: </IfModule>
1.177     raeburn  1759: </Directory>
                   1760: 
1.227     raeburn  1761: <DirectoryMatch "^/home/httpd/html/priv/.+/">
                   1762:    DirectoryIndex disabled
                   1763: </DirectoryMatch>
                   1764: 
1.235     raeburn  1765: <DirectoryMatch "^/home/httpd/html/res/.+/">
                   1766:    DirectoryIndex disabled
                   1767: </DirectoryMatch>
                   1768: 
1.1       harris41 1769: # ============================================================= Access Handlers
                   1770: 
                   1771: # ------------------------------------------------- Allow server-status reports
                   1772: <Location /server-status>
1.181     raeburn  1773: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1774: SetHandler server-status
                   1775: </Location>
                   1776: 
                   1777: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181     raeburn  1778: <LocationMatch "^/+lon-status/.*">
                   1779: PerlAccessHandler Apache::lonstatusacc
                   1780: ErrorDocument     406 /adm/roles
                   1781: ErrorDocument     500 /adm/errorhandler
                   1782: </LocationMatch>
1.1       harris41 1783: 
                   1784: # ------------------- Allow access to local system documentation from localhost
                   1785: Alias /doc /usr/doc
                   1786: <Directory /usr/doc>
                   1787: Options Indexes FollowSymLinks
1.226     raeburn  1788: <IfModule mod_authz_host.c>
                   1789:   Require local
                   1790: </IfModule>
                   1791: <IfModule !mod_authz_host.c>
                   1792:   order deny,allow
                   1793:   deny from all
                   1794:   allow from localhost
                   1795: </IfModule>
1.1       harris41 1796: </Directory>
                   1797: 
                   1798: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1799: # ====================================== Internal Settings / Perl Configuration
                   1800: 
1.250     raeburn  1801: PerlSetVar	 lonVersion  '<!-- VERSION -->'
1.1       harris41 1802: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
1.264     raeburn  1803: PerlSetVar       lonBalanceDir /home/httpd/balanceIDs
1.210     raeburn  1804: PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs
1.1       harris41 1805: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1806: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1807: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1808: PerlSetVar       londPort     5663
1.229     raeburn  1809: PerlSetVar       lonSysEMail  techsupport@loncapa.org
1.1       harris41 1810: PerlSetVar       lonDaemons   /home/httpd/perl
1.184     foxr     1811: PerlSetVar       lonLib       /home/httpd/lib
1.1       harris41 1812: PerlSetVar       lonSockDir   /home/httpd/sockets
1.164     albertel 1813: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
1.1       harris41 1814: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1815: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1816: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.166     banghart 1817: PerlSetVar       lonZipDir    /home/httpd/zipspool
1.177     raeburn  1818: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
                   1819: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
1.258     raeburn  1820: PerlSetVar       lonLTIDir    /home/httpd/lonLTItmp
1.269     raeburn  1821: PerlSetVar       ltiIDsDir    /home/httpd/ltiIDs
1.168     albertel 1822: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
1.231     raeburn  1823: # & separated list of % separated fields in order of
1.119     albertel 1824: # - internal name to call it, 
                   1825: # - regexp that it should match (done case-insensitively)
                   1826: # - regexp that is should not match (done case-insensitively)
                   1827: # - regexp that will pull out the version number into $1
                   1828: # - a number that describes the minimum version that has mathml support
                   1829: # - a number that describes the minimum number version that has unicode support
                   1830: 
1.233     raeburn  1831: 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 1832: 
1.105     albertel 1833: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1834: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1835: PerlSetVar       lonScriptTimeout 10
1.270     raeburn  1836: PerlSetVar	 BugzillaHost	https://bugs.loncapa.org/
1.70      www      1837: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1838: # -----------------------------------------------------------------------------
                   1839: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1840: # www@localhost.  This value must always be "localhostkey".
                   1841: # The only security risk occurs when somebody logs in as 'www' on your system
                   1842: # (in which case you have much bigger problems than whether or not they
                   1843: # can access the non-authoritative loncapa database on your machine).
                   1844: 
                   1845: PerlSetVar       lonSqlAccess   localhostkey
                   1846: 
1.86      foxr     1847: #----------------------------------------------------------------------------
                   1848: #
1.79      foxr     1849: #   Parameters used by secure lond/lonc
                   1850: 
                   1851: #
                   1852: #   Secure lond/lonc require ssl certificate and private
                   1853: #   key files to function correctly.  The certificate
                   1854: #   files need not be terribly secure, but the private key files
                   1855: #   should be set up so that only www (the lonc/lond effective user)
                   1856: #   can read them.
                   1857: # 
                   1858: #   The definition below is the full path to the directory that
                   1859: #   contains the certificate and key files:
1.82      foxr     1860: 
1.79      foxr     1861: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1862: 
                   1863: #
                   1864: #  Secure lond/lonc require two certificates and a private host key.
                   1865: #  The certificates required are that of the lonCAPA certificate authority
                   1866: #  and the certificate that authority issued to this host.
                   1867: #  lonnetCertificateAuthority is the name of the file that contains the
                   1868: #                            lonCAPA certificate authority's certificate.
                   1869: #  lonnetCertificate is the name of the file that contains the certificate
                   1870: #                    issued to the host by the certificate authority.
                   1871: #  Both of these variables are names of files assumed to be in 
                   1872: #  lonCertificateDirectory:
                   1873: 
                   1874: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1875: PerlSetVar lonnetCertificate          lonhostcert.pem
1.248     raeburn  1876: PerlSetVar lonnetHostnameCertificate  lonhostnamecert.pem
1.263     raeburn  1877: PerlSetVar lonnetCertRevocationList   loncapaCAcrl.pem
1.79      foxr     1878: 
                   1879: #
                   1880: #  To generate the request for a certificate, and to negotiate the
                   1881: #  initial ssl connection, the host requires a private key.  This key
                   1882: #  is created at lonCAPA install time.  Did we mention above that it
                   1883: #  should be set so that only www can read it?  The variale below
                   1884: #  is the name of the file relative to lonnetCertificateDirectory
                   1885: #  that has the host's private key.  Did we remember to tell you to
                   1886: #  keep the permissions on that file set to rw-------  (0600)?
                   1887: #  
                   1888: 
                   1889: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1890: 
                   1891: # Did we mention that the file described above must have
                   1892: # permissions really locked down so that it can't be stolen?
                   1893: 
1.86      foxr     1894: #-------------------------------------------------------------------------
                   1895: 
                   1896: #   Parameters that define where all the ssl stuff is that's needed
                   1897: #   to generate certificate requests and, on a system that's a CA
                   1898: #   the certificate authority.
                   1899: #    
                   1900: #    SSLProgram    -> Path to the openssl command
                   1901: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1902: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1903: #                     Authority.
1.87      foxr     1904: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1905: #                    (on the cert manager system).
                   1906: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1907: #    The following are good for the loncapa redhat installs and
                   1908: #    the loncapa certificate authority system:
                   1909: #
                   1910: PerlSetVar SSLProgram	/usr/bin/openssl
                   1911: PerlSetVar SSLDirectory /usr/share/ssl
                   1912: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1913: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1914: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1915: 
                   1916: #-------------------------------------------------------------------------
                   1917: 
1.79      foxr     1918: 
1.204     raeburn  1919: # ====================================== Include support for SSL rewrites
                   1920: 
                   1921: Include conf/loncapa_rewrite.conf
1.79      foxr     1922: 
1.2       harris41 1923: 
1.8       harris41 1924: # ====================================== Include machine-specific configuration
1.2       harris41 1925: 
                   1926: Include conf/loncapa.conf
1.61      albertel 1927: 
                   1928: # ================================================= Include local configuration
                   1929: 
                   1930: Include conf/loncapa_apache_local*.conf
1.1       harris41 1931: 
                   1932: # ================================================== Initiate mod_perl starting
                   1933: 
                   1934: PerlRequire      conf/startup.pl
1.47      albertel 1935: <IfDefine !MODPERL2>
1.1       harris41 1936: PerlFreshRestart On
1.47      albertel 1937: </IfDefine>

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