Annotation of loncom/loncapa_apache.conf, revision 1.271

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

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