Annotation of loncom/loncapa_apache.conf, revision 1.215.2.30.2.6

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

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