Annotation of loncom/loncapa_apache.conf, revision 1.248

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

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