Annotation of loncom/loncapa_apache.conf, revision 1.265

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

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