Annotation of loncom/loncapa_apache.conf, revision 1.215.2.30

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

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