Annotation of loncom/loncapa_apache.conf, revision 1.215.2.30.2.5

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

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