Annotation of loncom/loncapa_apache.conf, revision 1.260

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.222     raeburn     4: 
1.260   ! raeburn     5: # $Id: loncapa_apache.conf,v 1.259 2017/12/07 15:21:25 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.260   ! raeburn   761: <Location /adm/service/roster>
        !           762: SetHandler perl-script
        !           763: PerlHandler Apache::ltiroster
        !           764: </Location>
        !           765: 
1.148     raeburn   766: <Location /adm/restrictedaccess>
                    767: PerlAccessHandler      Apache::publiccheck
                    768: AuthType LONCAPA
1.152     albertel  769: Require valid-user
1.228     raeburn   770: PerlAuthzHandler       Apache::lonacc
1.148     raeburn   771: SetHandler perl-script
                    772: PerlHandler Apache::restrictedaccess
1.154     albertel  773: ErrorDocument	  500 /adm/errorhandler
1.148     raeburn   774: </Location>
                    775: 
1.162     raeburn   776: <Location /adm/blockedaccess>
                    777: PerlAccessHandler      Apache::publiccheck
                    778: AuthType LONCAPA
                    779: Require valid-user
1.228     raeburn   780: PerlAuthzHandler       Apache::lonacc
1.162     raeburn   781: SetHandler perl-script
                    782: PerlHandler Apache::blockedaccess
                    783: ErrorDocument     500 /adm/errorhandler
                    784: </Location>
                    785: 
1.1       harris41  786: <Location /adm/logout>
1.139     albertel  787: AuthType LONCAPA
1.125     albertel  788: Require valid-user
                    789: PerlAuthzHandler       Apache::lonacc
1.1       harris41  790: SetHandler perl-script
1.126     albertel  791: PerlHandler Apache::lonlogout
1.1       harris41  792: ErrorDocument     403 /adm/login
1.175     www       793: ErrorDocument     409 /adm/preferences?action=lockwarning
1.154     albertel  794: ErrorDocument	  500 /adm/errorhandler
1.1       harris41  795: </Location>
                    796: 
1.117     albertel  797: <Location /adm/switchserver>
1.139     albertel  798: AuthType LONCAPA
1.125     albertel  799: Require valid-user
                    800: PerlAuthzHandler       Apache::lonacc
1.117     albertel  801: SetHandler perl-script
1.126     albertel  802: PerlHandler Apache::switchserver
1.117     albertel  803: ErrorDocument     403 /adm/login
1.154     albertel  804: ErrorDocument	  500 /adm/errorhandler
1.117     albertel  805: </Location>
                    806: 
1.1       harris41  807: <Location /adm/authenticate>
                    808: SetHandler perl-script
1.126     albertel  809: PerlHandler Apache::lonauth
1.1       harris41  810: </Location>
                    811: 
1.117     albertel  812: <Location /adm/migrateuser>
                    813: SetHandler perl-script
1.126     albertel  814: PerlHandler Apache::migrateuser
1.117     albertel  815: </Location>
                    816: 
1.212     raeburn   817: <Location /adm/sso>
                    818:   <IfModule mod_shib>
                    819:     AuthType shibboleth
                    820:     ShibUseEnvironment On
                    821:     ShibRequestSetting requireSession 1
                    822:     ShibRequestSetting redirectToSSL 443
                    823:     require valid-user
                    824:     PerlAuthzHandler       Apache::lonshibacc
                    825:     PerlAuthzHandler       Apache::lonacc
                    826:   </IfModule>
1.213     raeburn   827:   <IfModule !mod_shib>
                    828:     PerlTypeHandler        Apache::lonnoshib
                    829:   </IfModule>
1.212     raeburn   830: </Location>
                    831: 
1.1       harris41  832: <Location /adm/annotations>
1.139     albertel  833: AuthType LONCAPA
1.125     albertel  834: Require valid-user
                    835: PerlAuthzHandler       Apache::lonacc
1.1       harris41  836: SetHandler perl-script
1.126     albertel  837: PerlHandler Apache::admannotations
1.1       harris41  838: ErrorDocument     403 /adm/login
                    839: ErrorDocument	  500 /adm/errorhandler
                    840: </Location>
                    841: 
1.91      www       842: <Location /adm/spellcheck>
1.139     albertel  843: AuthType LONCAPA
1.125     albertel  844: Require valid-user
                    845: PerlAuthzHandler       Apache::lonacc
1.91      www       846: SetHandler perl-script
1.126     albertel  847: PerlHandler Apache::lonspeller
1.91      www       848: ErrorDocument     403 /adm/login
                    849: ErrorDocument	  500 /adm/errorhandler
                    850: </Location>
                    851: 
1.1       harris41  852: <Location /adm/flip>
1.139     albertel  853: AuthType LONCAPA
1.125     albertel  854: Require valid-user
                    855: PerlAuthzHandler       Apache::lonacc
1.1       harris41  856: SetHandler perl-script
1.126     albertel  857: PerlHandler Apache::lonpageflip
1.30      www       858: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129     albertel  859: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  860: ErrorDocument     406 /adm/roles
                    861: ErrorDocument     403 /adm/login
                    862: ErrorDocument	  500 /adm/errorhandler
                    863: </Location>
                    864: 
                    865: <Location /adm/ambiguous>
1.139     albertel  866: AuthType LONCAPA
1.125     albertel  867: Require valid-user
                    868: PerlAuthzHandler       Apache::lonacc
1.1       harris41  869: SetHandler perl-script
1.126     albertel  870: PerlHandler Apache::lonambiguous
1.30      www       871: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129     albertel  872: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  873: ErrorDocument     403 /adm/login
                    874: ErrorDocument	  500 /adm/errorhandler
                    875: </Location>
                    876: 
                    877: <Location /adm/email>
1.139     albertel  878: AuthType LONCAPA
1.125     albertel  879: Require valid-user
                    880: PerlAuthzHandler       Apache::lonacc
1.1       harris41  881: SetHandler perl-script
1.130     albertel  882: PerlHandler Apache::lonmsgdisplay
1.1       harris41  883: ErrorDocument     403 /adm/login
                    884: ErrorDocument	  500 /adm/errorhandler
                    885: </Location>
                    886: 
1.116     raeburn   887: <Location /adm/notify>
1.139     albertel  888: AuthType LONCAPA
1.125     albertel  889: Require valid-user
                    890: PerlAuthzHandler       Apache::lonacc
1.116     raeburn   891: SetHandler perl-script
1.126     albertel  892: PerlHandler Apache::lonnotify
1.116     raeburn   893: ErrorDocument     403 /adm/login
                    894: ErrorDocument     500 /adm/errorhandler
                    895: </Location>
                    896: 
1.1       harris41  897: <Location /adm/parmset>
1.139     albertel  898: AuthType LONCAPA
1.125     albertel  899: Require valid-user
                    900: PerlAuthzHandler       Apache::lonacc
1.1       harris41  901: SetHandler perl-script
1.126     albertel  902: PerlHandler Apache::lonparmset
1.31      bowersj2  903: ErrorDocument     403 /adm/login
                    904: ErrorDocument     406 /adm/roles
                    905: ErrorDocument	  500 /adm/errorhandler
                    906: </Location>
                    907: 
1.185     raeburn   908: <Location /adm/courseprefs>
                    909: AuthType LONCAPA
                    910: Require valid-user
                    911: PerlAuthzHandler       Apache::lonacc
                    912: SetHandler perl-script
                    913: PerlHandler Apache::courseprefs
                    914: ErrorDocument     403 /adm/login
                    915: ErrorDocument     406 /adm/roles
                    916: ErrorDocument     500 /adm/errorhandler
                    917: </Location>
                    918: 
1.110     albertel  919: <Location /adm/slotrequest>
1.139     albertel  920: AuthType LONCAPA
1.125     albertel  921: Require valid-user
                    922: PerlAuthzHandler       Apache::lonacc
1.110     albertel  923: SetHandler perl-script
1.126     albertel  924: PerlHandler Apache::slotrequest
1.110     albertel  925: ErrorDocument     403 /adm/login
                    926: ErrorDocument     406 /adm/roles
                    927: ErrorDocument	  500 /adm/errorhandler
                    928: </Location>
                    929: 
1.31      bowersj2  930: <Location /adm/wizard>
1.139     albertel  931: AuthType LONCAPA
1.125     albertel  932: Require valid-user
                    933: PerlAuthzHandler       Apache::lonacc
1.31      bowersj2  934: SetHandler perl-script
1.126     albertel  935: PerlHandler Apache::lonwizard
1.1       harris41  936: ErrorDocument     403 /adm/login
                    937: ErrorDocument     406 /adm/roles
                    938: ErrorDocument	  500 /adm/errorhandler
                    939: </Location>
                    940: 
                    941: <Location /adm/grades>
1.139     albertel  942: AuthType LONCAPA
1.125     albertel  943: Require valid-user
                    944: PerlAuthzHandler       Apache::lonacc
1.1       harris41  945: SetHandler perl-script
1.126     albertel  946: PerlHandler Apache::grades
1.1       harris41  947: ErrorDocument     403 /adm/login
                    948: ErrorDocument     406 /adm/roles
                    949: ErrorDocument	  500 /adm/errorhandler
                    950: </Location>
                    951: 
1.187     raeburn   952: <Location /adm/requestcourse>
                    953: AuthType LONCAPA
                    954: Require valid-user
                    955: PerlAuthzHandler       Apache::lonacc
                    956: SetHandler perl-script
                    957: PerlHandler Apache::lonrequestcourse
                    958: ErrorDocument     403 /adm/login
                    959: ErrorDocument     406 /adm/roles
                    960: ErrorDocument     500 /adm/errorhandler
                    961: </Location>
                    962: 
1.1       harris41  963: <Location /adm/createcourse>
1.139     albertel  964: AuthType LONCAPA
1.125     albertel  965: Require valid-user
                    966: PerlAuthzHandler       Apache::lonacc
1.1       harris41  967: SetHandler perl-script
1.126     albertel  968: PerlHandler Apache::loncreatecourse
1.1       harris41  969: ErrorDocument     403 /adm/login
                    970: ErrorDocument     406 /adm/roles
                    971: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn   972: </Location>
                    973: 
                    974: <Location /adm/modifycourse>
1.139     albertel  975: AuthType LONCAPA
1.125     albertel  976: Require valid-user
                    977: PerlAuthzHandler       Apache::lonacc
1.67      raeburn   978: SetHandler perl-script
1.126     albertel  979: PerlHandler Apache::lonmodifycourse
1.67      raeburn   980: ErrorDocument     403 /adm/login
                    981: ErrorDocument     406 /adm/roles
                    982: ErrorDocument     500 /adm/errorhandler
1.1       harris41  983: </Location>
                    984: 
1.163     raeburn   985: <Location /adm/domainprefs>
                    986: AuthType LONCAPA
                    987: Require valid-user
                    988: PerlAuthzHandler       Apache::lonacc
                    989: SetHandler perl-script
                    990: PerlHandler Apache::domainprefs
                    991: ErrorDocument     403 /adm/login
                    992: ErrorDocument     406 /adm/roles
                    993: ErrorDocument     500 /adm/errorhandler
                    994: </Location>
                    995: 
1.182     raeburn   996: <Location /adm/domainstatus>
                    997: PerlAccessHandler       Apache::lonstatusacc
                    998: SetHandler perl-script
                    999: PerlHandler Apache::domainstatus
                   1000: ErrorDocument     403 /adm/login
                   1001: ErrorDocument     406 /adm/roles
                   1002: ErrorDocument     500 /adm/errorhandler
                   1003: </Location>
                   1004: 
1.1       harris41 1005: <Location /adm/createuser>
1.139     albertel 1006: AuthType LONCAPA
1.125     albertel 1007: Require valid-user
                   1008: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1009: SetHandler perl-script
1.126     albertel 1010: PerlHandler Apache::loncreateuser
1.1       harris41 1011: ErrorDocument     403 /adm/login
                   1012: ErrorDocument     406 /adm/roles
                   1013: ErrorDocument	  500 /adm/errorhandler
                   1014: </Location>
                   1015: 
                   1016: <Location /adm/publish>
1.139     albertel 1017: AuthType LONCAPA
1.125     albertel 1018: Require valid-user
                   1019: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1020: SetHandler perl-script
1.126     albertel 1021: PerlHandler Apache::lonpublisher
1.1       harris41 1022: ErrorDocument     403 /adm/login
                   1023: ErrorDocument     404 /adm/notfound.html
1.18      www      1024: ErrorDocument     406 /adm/unauthorized
1.1       harris41 1025: ErrorDocument	  500 /adm/errorhandler
                   1026: </Location>
                   1027: 
1.205     www      1028: <LocationMatch "^/+priv/.*/$">
1.139     albertel 1029: AuthType LONCAPA
1.131     albertel 1030: Require valid-user
1.125     albertel 1031: PerlAuthzHandler       Apache::loncacc
1.1       harris41 1032: SetHandler perl-script
1.126     albertel 1033: PerlHandler Apache::lonpubdir
1.1       harris41 1034: ErrorDocument     403 /adm/login
                   1035: ErrorDocument     404 /adm/notfound.html
1.18      www      1036: ErrorDocument     406 /adm/unauthorized
1.1       harris41 1037: ErrorDocument	  500 /adm/errorhandler
                   1038: </LocationMatch>
                   1039: 
1.18      www      1040: <Location /adm/unauthorized>
1.139     albertel 1041: AuthType LONCAPA
1.125     albertel 1042: Require valid-user
                   1043: PerlAuthzHandler       Apache::lonacc
1.18      www      1044: SetHandler perl-script
1.126     albertel 1045: PerlHandler Apache::lonunauthorized
1.18      www      1046: ErrorDocument     403 /adm/login
                   1047: ErrorDocument     404 /adm/notfound.html
1.1       harris41 1048: ErrorDocument	  500 /adm/errorhandler
                   1049: </Location>
                   1050: 
                   1051: <Location /adm/retrieve>
1.139     albertel 1052: AuthType LONCAPA
1.125     albertel 1053: Require valid-user
                   1054: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1055: SetHandler perl-script
1.126     albertel 1056: PerlHandler Apache::lonretrieve
1.1       harris41 1057: ErrorDocument     403 /adm/login
                   1058: ErrorDocument     404 /adm/notfound.html
1.18      www      1059: ErrorDocument     406 /adm/unauthorized
1.1       harris41 1060: ErrorDocument	  500 /adm/errorhandler
                   1061: </Location>
                   1062: 
1.109     www      1063: <Location /adm/cleanup>
1.139     albertel 1064: AuthType LONCAPA
1.125     albertel 1065: Require valid-user
                   1066: PerlAuthzHandler       Apache::lonacc
1.109     www      1067: SetHandler perl-script
1.126     albertel 1068: PerlHandler Apache::loncleanup
1.109     www      1069: ErrorDocument     403 /adm/login
                   1070: ErrorDocument     404 /adm/notfound.html
                   1071: ErrorDocument     406 /adm/unauthorized
                   1072: ErrorDocument	  500 /adm/errorhandler
                   1073: </Location>
                   1074: 
1.1       harris41 1075: <Location /adm/cfile>
1.139     albertel 1076: AuthType LONCAPA
1.125     albertel 1077: Require valid-user
                   1078: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1079: SetHandler perl-script
1.126     albertel 1080: PerlHandler Apache::loncfile
1.1       harris41 1081: ErrorDocument     403 /adm/login
                   1082: ErrorDocument     404 /adm/notfound.html
1.18      www      1083: ErrorDocument     406 /adm/unauthorized
1.1       harris41 1084: ErrorDocument	  500 /adm/errorhandler
                   1085: </Location>
                   1086: 
                   1087: <Location /adm/diff>
1.139     albertel 1088: AuthType LONCAPA
1.125     albertel 1089: Require valid-user
                   1090: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1091: SetHandler perl-script
1.126     albertel 1092: PerlHandler Apache::londiff
1.1       harris41 1093: ErrorDocument     403 /adm/login
                   1094: ErrorDocument     404 /adm/notfound.html
1.18      www      1095: ErrorDocument     406 /adm/unauthorized
1.1       harris41 1096: ErrorDocument	  500 /adm/errorhandler
                   1097: </Location>
                   1098: 
                   1099: <Location /adm/upload>
1.139     albertel 1100: AuthType LONCAPA
1.125     albertel 1101: Require valid-user
                   1102: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1103: SetHandler perl-script
1.126     albertel 1104: PerlHandler Apache::lonupload
1.1       harris41 1105: ErrorDocument     403 /adm/login
                   1106: ErrorDocument     404 /adm/notfound.html
1.18      www      1107: ErrorDocument     406 /adm/unauthorized
1.1       harris41 1108: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn  1109: </Location>
                   1110: 
1.73      raeburn  1111: <Location /adm/imsimport>
1.139     albertel 1112: AuthType LONCAPA
1.125     albertel 1113: Require valid-user
                   1114: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1115: SetHandler perl-script
1.126     albertel 1116: PerlHandler Apache::imsimport
1.73      raeburn  1117: ErrorDocument     403 /adm/login
                   1118: ErrorDocument     404 /adm/notfound.html
                   1119: ErrorDocument     406 /adm/unauthorized
                   1120: ErrorDocument     500 /adm/errorhandler
                   1121: </Location>
                   1122: 
1.72      raeburn  1123: <Location /adm/testbank>
1.139     albertel 1124: AuthType LONCAPA
1.125     albertel 1125: Require valid-user
                   1126: PerlAuthzHandler       Apache::lonacc
1.72      raeburn  1127: SetHandler perl-script
1.126     albertel 1128: PerlHandler Apache::testbankimport
1.72      raeburn  1129: ErrorDocument     403 /adm/login
                   1130: ErrorDocument     404 /adm/notfound.html
                   1131: ErrorDocument     406 /adm/unauthorized
                   1132: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1133: </Location>
                   1134: 
                   1135: <Location /adm/assesscalc>
1.139     albertel 1136: AuthType LONCAPA
1.125     albertel 1137: Require valid-user
                   1138: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1139: SetHandler perl-script
1.126     albertel 1140: PerlHandler Apache::lonspreadsheet
1.1       harris41 1141: ErrorDocument     403 /adm/login
                   1142: ErrorDocument     406 /adm/roles
1.20      www      1143: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1144: ErrorDocument	  500 /adm/errorhandler
                   1145: </Location>
                   1146: 
                   1147: <Location /adm/studentcalc>
1.139     albertel 1148: AuthType LONCAPA
1.125     albertel 1149: Require valid-user
                   1150: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1151: SetHandler perl-script
1.126     albertel 1152: PerlHandler Apache::lonspreadsheet
1.1       harris41 1153: ErrorDocument     403 /adm/login
                   1154: ErrorDocument     406 /adm/roles
1.20      www      1155: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1156: ErrorDocument	  500 /adm/errorhandler
                   1157: </Location>
                   1158: 
                   1159: <Location /adm/classcalc>
1.139     albertel 1160: AuthType LONCAPA
1.125     albertel 1161: Require valid-user
                   1162: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1163: SetHandler perl-script
1.126     albertel 1164: PerlHandler Apache::lonspreadsheet
1.1       harris41 1165: ErrorDocument     403 /adm/login
                   1166: ErrorDocument     406 /adm/roles
1.20      www      1167: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1168: ErrorDocument	  500 /adm/errorhandler
                   1169: </Location>
                   1170: 
                   1171: <Location /adm/dropadd>
1.139     albertel 1172: AuthType LONCAPA
1.125     albertel 1173: Require valid-user
                   1174: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1175: SetHandler perl-script
1.126     albertel 1176: PerlHandler Apache::londropadd
1.44      www      1177: ErrorDocument     403 /adm/login
                   1178: ErrorDocument     406 /adm/roles
                   1179: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn  1180: </Location>
                   1181: 
1.92      matthew  1182: <Location /adm/viewclasslist>
1.139     albertel 1183: AuthType LONCAPA
1.125     albertel 1184: Require valid-user
                   1185: PerlAuthzHandler       Apache::lonacc
1.92      matthew  1186: SetHandler perl-script
1.126     albertel 1187: PerlHandler Apache::lonviewclasslist
1.92      matthew  1188: ErrorDocument     403 /adm/login
                   1189: ErrorDocument     406 /adm/roles
                   1190: ErrorDocument	  500 /adm/errorhandler
                   1191: </Location>
                   1192: 
1.118     raeburn  1193: <Location /adm/coursegroups>
1.139     albertel 1194: AuthType LONCAPA
1.125     albertel 1195: Require valid-user
                   1196: PerlAuthzHandler       Apache::lonacc
1.118     raeburn  1197: SetHandler perl-script
1.126     albertel 1198: PerlHandler Apache::loncoursegroups
1.118     raeburn  1199: ErrorDocument     403 /adm/login
                   1200: ErrorDocument     406 /adm/roles
                   1201: ErrorDocument     500 /adm/errorhandler
                   1202: </Location>
                   1203: 
1.143     raeburn  1204: <Location /adm/groupboards>
                   1205: AuthType LONCAPA
                   1206: Require valid-user
                   1207: PerlAuthzHandler       Apache::lonacc
                   1208: SetHandler perl-script
                   1209: PerlHandler Apache::groupboards
                   1210: ErrorDocument     403 /adm/login
                   1211: ErrorDocument     406 /adm/roles
                   1212: ErrorDocument     500 /adm/errorhandler
                   1213: </Location>
                   1214: 
1.144     raeburn  1215: <Location /adm/grouproster>
                   1216: AuthType LONCAPA
                   1217: Require valid-user
                   1218: PerlAuthzHandler       Apache::lonacc
                   1219: SetHandler perl-script
                   1220: PerlHandler Apache::grouproster
                   1221: ErrorDocument     403 /adm/login
                   1222: ErrorDocument     406 /adm/roles
                   1223: ErrorDocument     500 /adm/errorhandler
                   1224: </Location>
                   1225: 
1.112     raeburn  1226: <Location /adm/whatsnew>
1.139     albertel 1227: AuthType LONCAPA
1.125     albertel 1228: Require valid-user
                   1229: PerlAuthzHandler       Apache::lonacc
1.112     raeburn  1230: SetHandler perl-script
1.126     albertel 1231: PerlHandler Apache::lonwhatsnew
1.112     raeburn  1232: ErrorDocument     403 /adm/login
                   1233: ErrorDocument     406 /adm/roles
                   1234: ErrorDocument     500 /adm/errorhandler
                   1235: </Location>
                   1236: 
1.65      raeburn  1237: <Location /adm/populate>
1.139     albertel 1238: AuthType LONCAPA
1.125     albertel 1239: Require valid-user
                   1240: PerlAuthzHandler       Apache::lonacc
1.65      raeburn  1241: SetHandler perl-script
1.126     albertel 1242: PerlHandler Apache::lonpopulate
1.65      raeburn  1243: ErrorDocument     403 /adm/login
                   1244: ErrorDocument     406 /adm/roles
                   1245: ErrorDocument     500 /adm/errorhandler
1.44      www      1246: </Location>
                   1247: 
                   1248: <Location /adm/managekeys>
1.139     albertel 1249: AuthType LONCAPA
1.125     albertel 1250: Require valid-user
                   1251: PerlAuthzHandler       Apache::lonacc
1.44      www      1252: SetHandler perl-script
1.126     albertel 1253: PerlHandler Apache::lonmanagekeys
1.1       harris41 1254: ErrorDocument     403 /adm/login
                   1255: ErrorDocument     406 /adm/roles
                   1256: ErrorDocument	  500 /adm/errorhandler
                   1257: </Location>
                   1258: 
                   1259: <Location /adm/printout>
1.139     albertel 1260: AuthType LONCAPA
1.125     albertel 1261: Require valid-user
                   1262: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1263: SetHandler perl-script
1.126     albertel 1264: PerlHandler Apache::lonprintout
1.1       harris41 1265: ErrorDocument     403 /adm/login
1.20      www      1266: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1267: ErrorDocument	  500 /adm/errorhandler
                   1268: </Location>
                   1269: 
                   1270: <Location /adm/feedback>
1.139     albertel 1271: AuthType LONCAPA
1.125     albertel 1272: Require valid-user
                   1273: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1274: SetHandler perl-script
1.126     albertel 1275: PerlHandler Apache::lonfeedback
1.10      www      1276: ErrorDocument     403 /adm/login
                   1277: ErrorDocument	  500 /adm/errorhandler
                   1278: </Location>
                   1279: 
                   1280: <Location /adm/coursedocs>
1.139     albertel 1281: AuthType LONCAPA
1.125     albertel 1282: Require valid-user
                   1283: PerlAuthzHandler       Apache::lonacc
1.10      www      1284: SetHandler perl-script
1.126     albertel 1285: PerlHandler Apache::londocs
1.108     albertel 1286: PerlCleanupHandler Apache::londocs::untiehash
1.129     albertel 1287: PerlCleanupHandler	Apache::lonacc::cleanup
1.10      www      1288: ErrorDocument     403 /adm/login
                   1289: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn  1290: </Location>
                   1291: 
1.207     raeburn  1292: <Location /adm/supplemental>
                   1293: AuthType LONCAPA
                   1294: Require valid-user
                   1295: PerlAuthzHandler       Apache::lonacc
                   1296: SetHandler perl-script
                   1297: PerlHandler Apache::londocs
                   1298: PerlCleanupHandler Apache::londocs::untiehash
                   1299: PerlCleanupHandler      Apache::lonacc::cleanup
                   1300: ErrorDocument     403 /adm/login
                   1301: ErrorDocument     500 /adm/errorhandler
                   1302: </Location>
                   1303: 
1.73      raeburn  1304: <Location /adm/imsimportdocs>
1.139     albertel 1305: AuthType LONCAPA
1.125     albertel 1306: Require valid-user
                   1307: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1308: SetHandler perl-script
1.126     albertel 1309: PerlHandler Apache::imsimportdocs
1.73      raeburn  1310: ErrorDocument     403 /adm/login
                   1311: ErrorDocument     500 /adm/errorhandler
1.10      www      1312: </Location>
                   1313: 
1.224     raeburn  1314: <Location /adm/extresedit>
                   1315: AuthType LONCAPA
                   1316: Require valid-user
                   1317: PerlAuthzHandler       Apache::lonacc
                   1318: SetHandler perl-script
                   1319: PerlHandler Apache::lonextresedit
                   1320: ErrorDocument     403 /adm/login
                   1321: ErrorDocument     500 /adm/errorhandler
                   1322: </Location>
                   1323: 
1.135     www      1324: <LocationMatch "^/adm/announcements">
1.139     albertel 1325: AuthType LONCAPA
1.125     albertel 1326: Require valid-user
                   1327: PerlAuthzHandler       Apache::lonacc
1.10      www      1328: SetHandler perl-script
1.126     albertel 1329: PerlHandler Apache::lonannounce
1.10      www      1330: ErrorDocument     403 /adm/login
                   1331: ErrorDocument	  500 /adm/errorhandler
1.135     www      1332: </LocationMatch>
1.10      www      1333: 
                   1334: <Location /adm/chat>
1.139     albertel 1335: AuthType LONCAPA
1.125     albertel 1336: Require valid-user
                   1337: PerlAuthzHandler       Apache::lonacc
1.10      www      1338: SetHandler perl-script
1.126     albertel 1339: PerlHandler Apache::lonchat
1.13      www      1340: ErrorDocument	  500 /adm/errorhandler
                   1341: </Location>
                   1342: 
                   1343: <Location /adm/chatfetch>
1.139     albertel 1344: AuthType LONCAPA
1.125     albertel 1345: Require valid-user
                   1346: PerlAuthzHandler       Apache::lonacc
1.13      www      1347: SetHandler perl-script
1.126     albertel 1348: PerlHandler Apache::lonchatfetch
1.20      www      1349: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1350: ErrorDocument	  500 /adm/errorhandler
                   1351: </Location>
                   1352: 
1.137     albertel 1353: <Location /adm/groupchat>
1.139     albertel 1354: AuthType LONCAPA
1.137     albertel 1355: Require valid-user
                   1356: PerlAuthzHandler       Apache::lonacc
                   1357: SetHandler perl-script
                   1358: PerlHandler Apache::longroupchat
                   1359: ErrorDocument     403 /adm/login
                   1360: ErrorDocument     500 /adm/errorhandler
                   1361: </Location>
                   1362: 
1.1       harris41 1363: <Location /adm/evaluate>
1.139     albertel 1364: AuthType LONCAPA
1.125     albertel 1365: Require valid-user
                   1366: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1367: SetHandler perl-script
1.126     albertel 1368: PerlHandler Apache::lonevaluate
1.1       harris41 1369: ErrorDocument     403 /adm/login
                   1370: ErrorDocument	  500 /adm/errorhandler
                   1371: </Location>
                   1372: 
                   1373: <Location /adm/preferences>
1.139     albertel 1374: AuthType LONCAPA
1.125     albertel 1375: Require valid-user
                   1376: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1377: SetHandler perl-script
1.126     albertel 1378: PerlHandler Apache::lonpreferences
1.1       harris41 1379: ErrorDocument     403 /adm/login
                   1380: ErrorDocument	  500 /adm/errorhandler
                   1381: </Location>
                   1382: 
                   1383: <Location /adm/communicate>
1.139     albertel 1384: AuthType LONCAPA
1.125     albertel 1385: Require valid-user
                   1386: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1387: SetHandler perl-script
1.126     albertel 1388: PerlHandler Apache::loncommunicate
1.1       harris41 1389: ErrorDocument     403 /adm/login
                   1390: ErrorDocument	  500 /adm/errorhandler
                   1391: </Location>
                   1392: 
                   1393: <Location /adm/searchcat>
1.139     albertel 1394: AuthType LONCAPA
1.125     albertel 1395: Require valid-user
                   1396: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1397: SetHandler perl-script
1.126     albertel 1398: PerlHandler Apache::lonsearchcat
1.28      www      1399: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1400: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1401: ErrorDocument     403 /adm/login
1.20      www      1402: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1403: ErrorDocument	  500 /adm/errorhandler
                   1404: </Location>
                   1405: 
                   1406: <Location /adm/navmaps>
1.139     albertel 1407: AuthType LONCAPA
1.125     albertel 1408: Require valid-user
                   1409: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1410: SetHandler perl-script
1.160     albertel 1411: PerlHandler Apache::lonnavdisplay
1.1       harris41 1412: ErrorDocument     403 /adm/login
                   1413: ErrorDocument     406 /adm/roles
                   1414: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1415: </Location>
                   1416: 
                   1417: <Location /adm/quickgrades>
1.139     albertel 1418: AuthType LONCAPA
1.125     albertel 1419: Require valid-user
                   1420: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1421: SetHandler perl-script
1.126     albertel 1422: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1423: ErrorDocument     403 /adm/login
                   1424: ErrorDocument     406 /adm/roles
                   1425: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1426: </Location>
                   1427: 
                   1428: <Location /adm/groupsort>
1.139     albertel 1429: AuthType LONCAPA
1.125     albertel 1430: Require valid-user
                   1431: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1432: SetHandler perl-script
1.126     albertel 1433: PerlHandler Apache::groupsort
1.29      www      1434: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1435: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1436: ErrorDocument     403 /adm/login
1.251     raeburn  1437: ErrorDocument     406 /adm/roles
1.1       harris41 1438: ErrorDocument	  500 /adm/errorhandler
                   1439: </Location>
                   1440: 
1.197     wenzelju 1441: <Location /adm/wishlist>
                   1442: AuthType LONCAPA
                   1443: Require valid-user
                   1444: PerlAuthzHandler       Apache::lonacc
                   1445: SetHandler perl-script
1.202     wenzelju 1446: PerlHandler Apache::lonwishlistdisplay
1.197     wenzelju 1447: ErrorDocument     403 /adm/login
                   1448: ErrorDocument     406 /adm/roles
                   1449: ErrorDocument	  500 /adm/errorhandler
                   1450: </Location>
                   1451: 
1.208     raeburn  1452: <Location /adm/setblock>
                   1453: AuthType LONCAPA
                   1454: Require valid-user
                   1455: PerlAuthzHandler       Apache::lonacc
                   1456: SetHandler             perl-script
                   1457: PerlHandler            Apache::lonblockingmenu
                   1458: ErrorDocument     403 /adm/login
1.209     raeburn  1459: ErrorDocument     406 /adm/roles
1.208     raeburn  1460: ErrorDocument     500 /adm/errorhandler
                   1461: </Location>
                   1462: 
1.186     droeschl 1463: <Location /adm/blockingstatus>
1.188     droeschl 1464: PerlAccessHandler      Apache::publiccheck
1.186     droeschl 1465: AuthType LONCAPA
                   1466: Require valid-user
                   1467: PerlAuthzHandler       Apache::lonacc
1.188     droeschl 1468: SetHandler             perl-script
                   1469: PerlHandler            Apache::lonblockingstatus
1.186     droeschl 1470: </Location>
                   1471: 
1.249     raeburn  1472: <Location /adm/accesstimes>
                   1473: AuthType LONCAPA
                   1474: Require valid-user
                   1475: PerlAuthzHandler       Apache::lonacc
                   1476: SetHandler             perl-script
                   1477: PerlHandler            Apache::lonaccesstimes
                   1478: ErrorDocument     403 /adm/login
                   1479: ErrorDocument     406 /adm/roles
                   1480: ErrorDocument     500 /adm/errorhandler
                   1481: </Location>
                   1482: 
1.1       harris41 1483: <Location /adm/errorhandler>
                   1484: SetHandler perl-script
1.126     albertel 1485: PerlHandler Apache::lonerrorhandler
1.1       harris41 1486: </Location>
                   1487: 
1.7       bowersj2 1488: <LocationMatch "^/adm/help/.*\.hlp$">
1.139     albertel 1489: AuthType LONCAPA
1.125     albertel 1490: Require valid-user
1.147     albertel 1491: PerlAccessHandler      Apache::publiccheck
1.125     albertel 1492: PerlAuthzHandler	Apache::lonacc
1.7       bowersj2 1493: SetHandler perl-script
1.126     albertel 1494: PerlHandler Apache::lonhelp
1.154     albertel 1495: ErrorDocument	  500 /adm/errorhandler
1.7       bowersj2 1496: </LocationMatch>
                   1497: 
1.90      raeburn  1498: <LocationMatch "^/adm/helpmenu">
1.139     albertel 1499: AuthType LONCAPA
1.125     albertel 1500: Require valid-user
                   1501: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1502: SetHandler perl-script
1.126     albertel 1503: PerlHandler Apache::lonhelpmenu
1.154     albertel 1504: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1505: </LocationMatch>
                   1506: 
                   1507: <LocationMatch "^/adm/support">
1.139     albertel 1508: AuthType LONCAPA
1.125     albertel 1509: Require valid-user
                   1510: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1511: SetHandler perl-script
1.126     albertel 1512: PerlHandler Apache::lonsupportreq
1.154     albertel 1513: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1514: </LocationMatch>
                   1515: 
1.100     raeburn  1516: <LocationMatch "^/adm/helpdesk">
                   1517: SetHandler perl-script
1.126     albertel 1518: PerlHandler Apache::lonsupportreq
1.154     albertel 1519: ErrorDocument	  500 /adm/errorhandler
1.100     raeburn  1520: </LocationMatch>
                   1521: 
1.221     raeburn  1522: <LocationMatch "^/adm/css/.*\.css$">
1.133     albertel 1523: SetHandler perl-script
                   1524: PerlHandler Apache::loncss
1.154     albertel 1525: ErrorDocument	  500 /adm/errorhandler
1.133     albertel 1526: </LocationMatch>
                   1527: 
1.155     raeburn  1528: <LocationMatch "^/adm/coursecatalog">
                   1529: SetHandler perl-script
                   1530: PerlHandler Apache::coursecatalog
1.156     albertel 1531: ErrorDocument	  500 /adm/errorhandler
1.155     raeburn  1532: </LocationMatch>
                   1533: 
1.161     raeburn  1534: <LocationMatch "^/adm/resetpw">
                   1535: SetHandler perl-script
                   1536: PerlHandler Apache::resetpw
                   1537: ErrorDocument     500 /adm/errorhandler
                   1538: </LocationMatch>
1.155     raeburn  1539: 
1.173     raeburn  1540: <LocationMatch "^/adm/selfenroll">
                   1541: SetHandler perl-script
                   1542: PerlHandler Apache::selfenroll
                   1543: ErrorDocument     500 /adm/errorhandler
                   1544: </LocationMatch>
                   1545: 
1.171     raeburn  1546: <LocationMatch "^/adm/createaccount">
                   1547: SetHandler perl-script
                   1548: PerlHandler Apache::createaccount
                   1549: ErrorDocument     500 /adm/errorhandler
                   1550: </LocationMatch>
                   1551: 
1.165     albertel 1552: <LocationMatch "^/adm/dns">
                   1553: SetHandler perl-script
                   1554: PerlHandler Apache::londns
                   1555: ErrorDocument     500 /adm/errorhandler
                   1556: </LocationMatch>
1.164     albertel 1557: 
1.219     foxr     1558: <LocationMatch "^/ajax/spellcheck">
1.218     foxr     1559: SetHandler perl-script
1.219     foxr     1560: PerlHandler Apache::spellcheck
1.218     foxr     1561: </LocationMatch>
                   1562: 
                   1563: 
                   1564: 
1.1       harris41 1565: # ------------------------------------------------- Backdoor Adm Tests/Programs
                   1566: 
                   1567: <Location /adm/test>
1.181     raeburn  1568: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1569: SetHandler perl-script
1.126     albertel 1570: PerlHandler Apache::lontest
1.1       harris41 1571: </Location>
                   1572: 
                   1573: # ------------------------------------------------------- Shutting down a child
                   1574: 
1.129     albertel 1575: PerlChildExitHandler Apache::lonacc::goodbye
1.1       harris41 1576: 
                   1577: #
                   1578: # LON-CAPA Section (extensions to access.conf permission configuration)
                   1579: #
                   1580: # =========================================================== Directory Options
                   1581: 
                   1582: # Start out with "no"
                   1583: 
                   1584: <Directory />
                   1585: Options None
                   1586: AllowOverride None
1.226     raeburn  1587: <IfModule mod_authz_core.c>
                   1588:   Require all denied
                   1589: </IfModule>
                   1590: <IfModule !mod_authz_core.c>
                   1591:   order deny,allow
                   1592:   deny from all
                   1593: </IfModule>
1.158     raeburn  1594: </Directory>
                   1595: 
                   1596: # Allow uploaded files to be served
                   1597: 
                   1598: <Directory "/home/httpd/lonUsers">
1.257     raeburn  1599: Options FollowSymLinks
1.158     raeburn  1600: AllowOverride None
1.226     raeburn  1601: <IfModule mod_authz_core.c>
                   1602:   Require all granted
                   1603: </IfModule>
                   1604: <IfModule !mod_authz_core.c>
                   1605:   order allow,deny
                   1606:   allow from all
                   1607: </IfModule>
1.158     raeburn  1608: </Directory>
                   1609:  
1.1       harris41 1610: # Yes to symbolic links and server-side includes
                   1611: 
                   1612: <Directory /home/httpd/html>
1.257     raeburn  1613: Options FollowSymLinks
1.1       harris41 1614: AllowOverride None
1.226     raeburn  1615: <IfModule mod_authz_core.c>
                   1616:   Require all granted
                   1617: </IfModule>
                   1618: <IfModule !mod_authz_core.c>
                   1619:   order allow,deny
                   1620:   allow from all
                   1621: </IfModule>
1.1       harris41 1622: </Directory>
                   1623: 
                   1624: # If it is in cgi-bin, then it can be executed as a CGI script.
                   1625: 
                   1626: <Directory /home/httpd/cgi-bin>
                   1627: AllowOverride None
1.157     albertel 1628: Options ExecCGI FollowSymLinks
1.226     raeburn  1629: <IfModule mod_authz_core.c>
                   1630:   Require all granted
                   1631: </IfModule>
                   1632: <IfModule !mod_authz_core.c>
                   1633:   order allow,deny
                   1634:   allow from all
                   1635: </IfModule>
1.159     raeburn  1636: </Directory>
                   1637: 
                   1638: # Allow serving of files in prtspool
                   1639: 
                   1640: <Directory "/home/httpd/prtspool/">
1.256     raeburn  1641: Options FollowSymLinks
1.159     raeburn  1642: AllowOverride None
1.226     raeburn  1643: <IfModule mod_authz_core.c>
                   1644:   Require all granted
                   1645: </IfModule>
                   1646: <IfModule !mod_authz_core.c>
                   1647:   order allow,deny
                   1648:   allow from all
                   1649: </IfModule>
1.1       harris41 1650: </Directory>
                   1651: 
1.167     banghart 1652: # Allow serving of files in zipspool
                   1653: 
                   1654: <Directory "/home/httpd/zipspool/">
1.256     raeburn  1655: Options FollowSymLinks
1.167     banghart 1656: AllowOverride None
1.226     raeburn  1657: <IfModule mod_authz_core.c>
                   1658:   Require all granted
                   1659: </IfModule>
                   1660: <IfModule !mod_authz_core.c>
                   1661:   order allow,deny
                   1662:   allow from all
                   1663: </IfModule>
1.167     banghart 1664: </Directory>
                   1665: 
1.177     raeburn  1666: # Allow serving of files in captchaspool
                   1667: 
                   1668: <Directory "/home/httpd/captchaspool/">
1.256     raeburn  1669: Options FollowSymLinks
1.177     raeburn  1670: AllowOverride None
1.226     raeburn  1671: <IfModule mod_authz_core.c>
                   1672:   Require all granted
                   1673: </IfModule>
                   1674: <IfModule !mod_authz_core.c>
                   1675:   order allow,deny
                   1676:   allow from all
                   1677: </IfModule>
1.177     raeburn  1678: </Directory>
                   1679: 
1.227     raeburn  1680: <DirectoryMatch "^/home/httpd/html/priv/.+/">
                   1681:    DirectoryIndex disabled
                   1682: </DirectoryMatch>
                   1683: 
1.235     raeburn  1684: <DirectoryMatch "^/home/httpd/html/res/.+/">
                   1685:    DirectoryIndex disabled
                   1686: </DirectoryMatch>
                   1687: 
1.1       harris41 1688: # ============================================================= Access Handlers
                   1689: 
                   1690: # ------------------------------------------------- Allow server-status reports
                   1691: <Location /server-status>
1.181     raeburn  1692: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1693: SetHandler server-status
                   1694: </Location>
                   1695: 
                   1696: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181     raeburn  1697: <LocationMatch "^/+lon-status/.*">
                   1698: PerlAccessHandler Apache::lonstatusacc
                   1699: ErrorDocument     406 /adm/roles
                   1700: ErrorDocument     500 /adm/errorhandler
                   1701: </LocationMatch>
1.1       harris41 1702: 
                   1703: # ------------------- Allow access to local system documentation from localhost
                   1704: Alias /doc /usr/doc
                   1705: <Directory /usr/doc>
                   1706: Options Indexes FollowSymLinks
1.226     raeburn  1707: <IfModule mod_authz_host.c>
                   1708:   Require local
                   1709: </IfModule>
                   1710: <IfModule !mod_authz_host.c>
                   1711:   order deny,allow
                   1712:   deny from all
                   1713:   allow from localhost
                   1714: </IfModule>
1.1       harris41 1715: </Directory>
                   1716: 
                   1717: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1718: # ====================================== Internal Settings / Perl Configuration
                   1719: 
1.250     raeburn  1720: PerlSetVar	 lonVersion  '<!-- VERSION -->'
1.1       harris41 1721: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
1.210     raeburn  1722: PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs
1.1       harris41 1723: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1724: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1725: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1726: PerlSetVar       londPort     5663
1.229     raeburn  1727: PerlSetVar       lonSysEMail  techsupport@loncapa.org
1.1       harris41 1728: PerlSetVar       lonDaemons   /home/httpd/perl
1.184     foxr     1729: PerlSetVar       lonLib       /home/httpd/lib
1.1       harris41 1730: PerlSetVar       lonSockDir   /home/httpd/sockets
1.164     albertel 1731: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
1.1       harris41 1732: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1733: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1734: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.166     banghart 1735: PerlSetVar       lonZipDir    /home/httpd/zipspool
1.177     raeburn  1736: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
                   1737: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
1.258     raeburn  1738: PerlSetVar       lonLTIDir    /home/httpd/lonLTItmp
1.168     albertel 1739: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
1.231     raeburn  1740: # & separated list of % separated fields in order of
1.119     albertel 1741: # - internal name to call it, 
                   1742: # - regexp that it should match (done case-insensitively)
                   1743: # - regexp that is should not match (done case-insensitively)
                   1744: # - regexp that will pull out the version number into $1
                   1745: # - a number that describes the minimum version that has mathml support
                   1746: # - a number that describes the minimum number version that has unicode support
                   1747: 
1.233     raeburn  1748: 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 1749: 
1.105     albertel 1750: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1751: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1752: PerlSetVar       lonScriptTimeout 10
1.70      www      1753: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1754: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1755: # -----------------------------------------------------------------------------
                   1756: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1757: # www@localhost.  This value must always be "localhostkey".
                   1758: # The only security risk occurs when somebody logs in as 'www' on your system
                   1759: # (in which case you have much bigger problems than whether or not they
                   1760: # can access the non-authoritative loncapa database on your machine).
                   1761: 
                   1762: PerlSetVar       lonSqlAccess   localhostkey
                   1763: 
1.86      foxr     1764: #----------------------------------------------------------------------------
                   1765: #
1.79      foxr     1766: #   Parameters used by secure lond/lonc
                   1767: 
                   1768: #
                   1769: #   Secure lond/lonc require ssl certificate and private
                   1770: #   key files to function correctly.  The certificate
                   1771: #   files need not be terribly secure, but the private key files
                   1772: #   should be set up so that only www (the lonc/lond effective user)
                   1773: #   can read them.
                   1774: # 
                   1775: #   The definition below is the full path to the directory that
                   1776: #   contains the certificate and key files:
1.82      foxr     1777: 
1.79      foxr     1778: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1779: 
                   1780: #
                   1781: #  Secure lond/lonc require two certificates and a private host key.
                   1782: #  The certificates required are that of the lonCAPA certificate authority
                   1783: #  and the certificate that authority issued to this host.
                   1784: #  lonnetCertificateAuthority is the name of the file that contains the
                   1785: #                            lonCAPA certificate authority's certificate.
                   1786: #  lonnetCertificate is the name of the file that contains the certificate
                   1787: #                    issued to the host by the certificate authority.
                   1788: #  Both of these variables are names of files assumed to be in 
                   1789: #  lonCertificateDirectory:
                   1790: 
                   1791: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1792: PerlSetVar lonnetCertificate          lonhostcert.pem
1.248     raeburn  1793: PerlSetVar lonnetHostnameCertificate  lonhostnamecert.pem
1.79      foxr     1794: 
                   1795: #
                   1796: #  To generate the request for a certificate, and to negotiate the
                   1797: #  initial ssl connection, the host requires a private key.  This key
                   1798: #  is created at lonCAPA install time.  Did we mention above that it
                   1799: #  should be set so that only www can read it?  The variale below
                   1800: #  is the name of the file relative to lonnetCertificateDirectory
                   1801: #  that has the host's private key.  Did we remember to tell you to
                   1802: #  keep the permissions on that file set to rw-------  (0600)?
                   1803: #  
                   1804: 
                   1805: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1806: 
                   1807: # Did we mention that the file described above must have
                   1808: # permissions really locked down so that it can't be stolen?
                   1809: 
1.86      foxr     1810: #-------------------------------------------------------------------------
                   1811: 
                   1812: #   Parameters that define where all the ssl stuff is that's needed
                   1813: #   to generate certificate requests and, on a system that's a CA
                   1814: #   the certificate authority.
                   1815: #    
                   1816: #    SSLProgram    -> Path to the openssl command
                   1817: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1818: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1819: #                     Authority.
1.87      foxr     1820: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1821: #                    (on the cert manager system).
                   1822: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1823: #    The following are good for the loncapa redhat installs and
                   1824: #    the loncapa certificate authority system:
                   1825: #
                   1826: PerlSetVar SSLProgram	/usr/bin/openssl
                   1827: PerlSetVar SSLDirectory /usr/share/ssl
                   1828: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1829: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1830: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1831: 
                   1832: #-------------------------------------------------------------------------
                   1833: 
1.79      foxr     1834: 
1.204     raeburn  1835: # ====================================== Include support for SSL rewrites
                   1836: 
                   1837: Include conf/loncapa_rewrite.conf
1.79      foxr     1838: 
1.2       harris41 1839: 
1.8       harris41 1840: # ====================================== Include machine-specific configuration
1.2       harris41 1841: 
                   1842: Include conf/loncapa.conf
1.61      albertel 1843: 
                   1844: # ================================================= Include local configuration
                   1845: 
                   1846: Include conf/loncapa_apache_local*.conf
1.1       harris41 1847: 
                   1848: # ================================================== Initiate mod_perl starting
                   1849: 
                   1850: PerlRequire      conf/startup.pl
1.47      albertel 1851: <IfDefine !MODPERL2>
1.1       harris41 1852: PerlFreshRestart On
1.47      albertel 1853: </IfDefine>

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