Annotation of loncom/loncapa_apache.conf, revision 1.215.2.27

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

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