Annotation of loncom/loncapa_apache.conf, revision 1.215.2.25.2.4

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

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