Annotation of loncom/loncapa_apache.conf, revision 1.215.2.30.2.8

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

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