Annotation of loncom/loncapa_apache.conf, revision 1.215.2.22.4.1

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.215.2.6  raeburn     4: 
1.215.2.22.4.  (raeburn    5:): # $Id: loncapa_apache.conf,v 1.215.2.22 2017/06/06 20:25:46 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.11      www       134: PerlAccessHandler       Apache::lontokacc
1.58      www       135: PerlCleanupHandler	Apache::lontokacc::removefile
1.129     albertel  136: PerlCleanupHandler	Apache::lonacc::cleanup
1.12      www       137: </LocationMatch>
                    138: 
1.76      albertel  139: <LocationMatch "^/+uploaded.*">
1.139     albertel  140: AuthType LONCAPA
1.125     albertel  141: Require valid-user
                    142: PerlAuthzHandler	Apache::lonacc
1.178     raeburn   143: PerlHandler 		Apache::londatecheck
                    144: PerlHandler  		Apache::lonipcheck
1.75      raeburn   145: PerlHeaderParserHandler Apache::lonuploadrep
1.80      albertel  146: ErrorDocument     403 /adm/login
1.16      www       147: ErrorDocument     404 /adm/notfound.html
1.80      albertel  148: ErrorDocument     406 /adm/roles
1.16      www       149: ErrorDocument	  500 /adm/errorhandler
1.75      raeburn   150: </LocationMatch>
                    151: 
1.106     albertel  152: <LocationMatch "^/+editupload.*">
1.139     albertel  153: AuthType LONCAPA
1.125     albertel  154: Require valid-user
                    155: PerlAuthzHandler	Apache::lonacc
1.106     albertel  156: ErrorDocument     403 /adm/login
                    157: ErrorDocument     406 /adm/roles
                    158: ErrorDocument	  500 /adm/errorhandler
                    159: </LocationMatch>
                    160: 
1.98      albertel  161: <LocationMatch "^/+uploaded/.*/.*/internal/.*">
1.150     albertel  162: PerlAuthenHandler	Apache::lonuploadedacc
                    163: PerlAuthzHandler	Apache::lonuploadedacc::skip_phase
1.151     albertel  164: PerlAccessHandler	Apache::lonuploadedacc::skip_phase
1.98      albertel  165: </LocationMatch>
                    166: 
1.140     raeburn   167: <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
                    168: PerlAccessHandler      Apache::publiccheck
1.141     albertel  169: AuthType LONCAPA
1.140     raeburn   170: Require valid-user
                    171: PerlAuthzHandler       Apache::lonacc
                    172: </LocationMatch>
                    173: 
                    174: <LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
                    175: PerlAccessHandler      Apache::publiccheck
1.141     albertel  176: AuthType LONCAPA
1.140     raeburn   177: Require valid-user
                    178: PerlAuthzHandler       Apache::lonacc
                    179: </LocationMatch>
1.98      albertel  180: 
1.76      albertel  181: <LocationMatch "^/+uploaded/.*\.page$">
1.75      raeburn   182: SetHandler perl-script
1.126     albertel  183: PerlHandler Apache::lonpage
1.75      raeburn   184: </LocationMatch>
                    185: 
1.76      albertel  186: <LocationMatch "^/+uploaded/.*\.sequence$">
1.75      raeburn   187: SetHandler perl-script
1.126     albertel  188: PerlHandler Apache::lonsequence
1.16      www       189: </LocationMatch>
                    190: 
1.44      www       191: <LocationMatch "^/+public/.*/syllabus$">
1.132     albertel  192: PerlAccessHandler      Apache::publiccheck
1.139     albertel  193: AuthType LONCAPA
1.125     albertel  194: Require valid-user
                    195: PerlAuthzHandler	Apache::lonacc
1.16      www       196: SetHandler              perl-script
1.126     albertel  197: PerlHandler             Apache::lonsyllabus
1.16      www       198: ErrorDocument     404 /adm/notfound.html
                    199: ErrorDocument	  500 /adm/errorhandler
                    200: </LocationMatch>
                    201: 
1.122     www       202: <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
1.132     albertel  203: PerlAccessHandler      Apache::publiccheck
1.139     albertel  204: AuthType LONCAPA
1.125     albertel  205: Require valid-user
                    206: PerlAuthzHandler	Apache::lonacc
1.121     www       207: SetHandler              perl-script
1.126     albertel  208: PerlHandler             Apache::lonrss
1.121     www       209: ErrorDocument     404 /adm/notfound.html
                    210: ErrorDocument	  500 /adm/errorhandler
                    211: </LocationMatch>
                    212: 
1.44      www       213: <LocationMatch "^/adm/.*/aboutme$">
1.139     albertel  214: AuthType LONCAPA
1.125     albertel  215: Require valid-user
                    216: PerlAuthzHandler	Apache::lonacc
1.16      www       217: SetHandler              perl-script
1.126     albertel  218: PerlHandler             Apache::lonaboutme
1.19      www       219: ErrorDocument     404 /adm/notfound.html
1.54      www       220: ErrorDocument     406 /adm/notinit.html
1.19      www       221: ErrorDocument	  500 /adm/errorhandler
                    222: </LocationMatch>
                    223: 
1.153     albertel  224: <LocationMatch "^/adm/.*/aboutme/portfolio$">
                    225: PerlAccessHandler       Apache::publiccheck
                    226: AuthType LONCAPA
                    227: Require valid-user
                    228: PerlAuthzHandler	Apache::lonacc
                    229: SetHandler              perl-script
                    230: PerlHandler             Apache::lonaboutme
                    231: ErrorDocument     404 /adm/notfound.html
                    232: ErrorDocument     406 /adm/notinit.html
                    233: ErrorDocument	  500 /adm/errorhandler
                    234: </LocationMatch>
                    235: 
1.44      www       236: <LocationMatch "^/adm/.*/smppg$">
1.139     albertel  237: AuthType LONCAPA
1.125     albertel  238: Require valid-user
                    239: PerlAuthzHandler	Apache::lonacc
1.19      www       240: SetHandler              perl-script
1.172     www       241: PerlHandler             Apache::londatecheck
1.178     raeburn   242: PerlHandler		Apache::lonipcheck
1.126     albertel  243: PerlHandler             Apache::lonsimplepage
1.19      www       244: ErrorDocument     404 /adm/notfound.html
1.54      www       245: ErrorDocument     406 /adm/notinit.html
1.19      www       246: ErrorDocument	  500 /adm/errorhandler
                    247: </LocationMatch>
                    248: 
1.44      www       249: <LocationMatch "^/adm/.*/bulletinboard$">
1.139     albertel  250: AuthType LONCAPA
1.125     albertel  251: Require valid-user
                    252: PerlAuthzHandler	Apache::lonacc
1.19      www       253: SetHandler              perl-script
1.126     albertel  254: PerlHandler             Apache::londatecheck
1.178     raeburn   255: PerlHandler		Apache::lonipcheck
1.126     albertel  256: PerlHandler             Apache::lonbulletin
1.55      www       257: ErrorDocument     404 /adm/notfound.html
                    258: ErrorDocument     406 /adm/notinit.html
                    259: ErrorDocument	  500 /adm/errorhandler
                    260: </LocationMatch>
                    261: 
                    262: <LocationMatch "\.problem/smpedit$">
1.139     albertel  263: AuthType LONCAPA
1.125     albertel  264: Require valid-user
                    265: PerlAuthzHandler	Apache::lonacc
1.55      www       266: SetHandler              perl-script
1.126     albertel  267: PerlHandler             Apache::lonsimpleproblemedit
1.11      www       268: ErrorDocument     404 /adm/notfound.html
1.54      www       269: ErrorDocument     406 /adm/notinit.html
1.1       harris41  270: ErrorDocument	  500 /adm/errorhandler
                    271: </LocationMatch>
                    272: 
1.215.2.22.4.  (raeburn  273:): <LocationMatch "^/adm/.*/ext\.tool$">
                    274:): AuthType LONCAPA
                    275:): Require valid-user
                    276:): PerlAuthzHandler        Apache::lonacc
                    277:): SetHandler              perl-script
                    278:): PerlHandler             Apache::londatecheck
                    279:): PerlHandler             Apache::lonipcheck
                    280:): PerlHandler             Apache::lonexttool
                    281:): ErrorDocument     404 /adm/notfound.html
                    282:): ErrorDocument     406 /adm/notinit.html
                    283:): ErrorDocument     500 /adm/errorhandler
                    284:): </LocationMatch>
                    285:): 
1.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.91      www       723: <Location /adm/spellcheck>
1.139     albertel  724: AuthType LONCAPA
1.125     albertel  725: Require valid-user
                    726: PerlAuthzHandler       Apache::lonacc
1.91      www       727: SetHandler perl-script
1.126     albertel  728: PerlHandler Apache::lonspeller
1.91      www       729: ErrorDocument     403 /adm/login
                    730: ErrorDocument	  500 /adm/errorhandler
                    731: </Location>
                    732: 
1.1       harris41  733: <Location /adm/flip>
1.139     albertel  734: AuthType LONCAPA
1.125     albertel  735: Require valid-user
                    736: PerlAuthzHandler       Apache::lonacc
1.1       harris41  737: SetHandler perl-script
1.126     albertel  738: PerlHandler Apache::lonpageflip
1.30      www       739: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129     albertel  740: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  741: ErrorDocument     406 /adm/roles
                    742: ErrorDocument     403 /adm/login
                    743: ErrorDocument	  500 /adm/errorhandler
                    744: </Location>
                    745: 
                    746: <Location /adm/ambiguous>
1.139     albertel  747: AuthType LONCAPA
1.125     albertel  748: Require valid-user
                    749: PerlAuthzHandler       Apache::lonacc
1.1       harris41  750: SetHandler perl-script
1.126     albertel  751: PerlHandler Apache::lonambiguous
1.30      www       752: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129     albertel  753: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  754: ErrorDocument     403 /adm/login
                    755: ErrorDocument	  500 /adm/errorhandler
                    756: </Location>
                    757: 
                    758: <Location /adm/email>
1.139     albertel  759: AuthType LONCAPA
1.125     albertel  760: Require valid-user
                    761: PerlAuthzHandler       Apache::lonacc
1.1       harris41  762: SetHandler perl-script
1.130     albertel  763: PerlHandler Apache::lonmsgdisplay
1.1       harris41  764: ErrorDocument     403 /adm/login
                    765: ErrorDocument	  500 /adm/errorhandler
                    766: </Location>
                    767: 
1.116     raeburn   768: <Location /adm/notify>
1.139     albertel  769: AuthType LONCAPA
1.125     albertel  770: Require valid-user
                    771: PerlAuthzHandler       Apache::lonacc
1.116     raeburn   772: SetHandler perl-script
1.126     albertel  773: PerlHandler Apache::lonnotify
1.116     raeburn   774: ErrorDocument     403 /adm/login
                    775: ErrorDocument     500 /adm/errorhandler
                    776: </Location>
                    777: 
1.1       harris41  778: <Location /adm/parmset>
1.139     albertel  779: AuthType LONCAPA
1.125     albertel  780: Require valid-user
                    781: PerlAuthzHandler       Apache::lonacc
1.1       harris41  782: SetHandler perl-script
1.126     albertel  783: PerlHandler Apache::lonparmset
1.31      bowersj2  784: ErrorDocument     403 /adm/login
                    785: ErrorDocument     406 /adm/roles
                    786: ErrorDocument	  500 /adm/errorhandler
                    787: </Location>
                    788: 
1.185     raeburn   789: <Location /adm/courseprefs>
                    790: AuthType LONCAPA
                    791: Require valid-user
                    792: PerlAuthzHandler       Apache::lonacc
                    793: SetHandler perl-script
                    794: PerlHandler Apache::courseprefs
                    795: ErrorDocument     403 /adm/login
                    796: ErrorDocument     406 /adm/roles
                    797: ErrorDocument     500 /adm/errorhandler
                    798: </Location>
                    799: 
1.110     albertel  800: <Location /adm/slotrequest>
1.139     albertel  801: AuthType LONCAPA
1.125     albertel  802: Require valid-user
                    803: PerlAuthzHandler       Apache::lonacc
1.110     albertel  804: SetHandler perl-script
1.126     albertel  805: PerlHandler Apache::slotrequest
1.110     albertel  806: ErrorDocument     403 /adm/login
                    807: ErrorDocument     406 /adm/roles
                    808: ErrorDocument	  500 /adm/errorhandler
                    809: </Location>
                    810: 
1.31      bowersj2  811: <Location /adm/wizard>
1.139     albertel  812: AuthType LONCAPA
1.125     albertel  813: Require valid-user
                    814: PerlAuthzHandler       Apache::lonacc
1.31      bowersj2  815: SetHandler perl-script
1.126     albertel  816: PerlHandler Apache::lonwizard
1.1       harris41  817: ErrorDocument     403 /adm/login
                    818: ErrorDocument     406 /adm/roles
                    819: ErrorDocument	  500 /adm/errorhandler
                    820: </Location>
                    821: 
                    822: <Location /adm/grades>
1.139     albertel  823: AuthType LONCAPA
1.125     albertel  824: Require valid-user
                    825: PerlAuthzHandler       Apache::lonacc
1.1       harris41  826: SetHandler perl-script
1.126     albertel  827: PerlHandler Apache::grades
1.1       harris41  828: ErrorDocument     403 /adm/login
                    829: ErrorDocument     406 /adm/roles
                    830: ErrorDocument	  500 /adm/errorhandler
                    831: </Location>
                    832: 
1.187     raeburn   833: <Location /adm/requestcourse>
                    834: AuthType LONCAPA
                    835: Require valid-user
                    836: PerlAuthzHandler       Apache::lonacc
                    837: SetHandler perl-script
                    838: PerlHandler Apache::lonrequestcourse
                    839: ErrorDocument     403 /adm/login
                    840: ErrorDocument     406 /adm/roles
                    841: ErrorDocument     500 /adm/errorhandler
                    842: </Location>
                    843: 
1.1       harris41  844: <Location /adm/createcourse>
1.139     albertel  845: AuthType LONCAPA
1.125     albertel  846: Require valid-user
                    847: PerlAuthzHandler       Apache::lonacc
1.1       harris41  848: SetHandler perl-script
1.126     albertel  849: PerlHandler Apache::loncreatecourse
1.1       harris41  850: ErrorDocument     403 /adm/login
                    851: ErrorDocument     406 /adm/roles
                    852: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn   853: </Location>
                    854: 
                    855: <Location /adm/modifycourse>
1.139     albertel  856: AuthType LONCAPA
1.125     albertel  857: Require valid-user
                    858: PerlAuthzHandler       Apache::lonacc
1.67      raeburn   859: SetHandler perl-script
1.126     albertel  860: PerlHandler Apache::lonmodifycourse
1.67      raeburn   861: ErrorDocument     403 /adm/login
                    862: ErrorDocument     406 /adm/roles
                    863: ErrorDocument     500 /adm/errorhandler
1.1       harris41  864: </Location>
                    865: 
1.163     raeburn   866: <Location /adm/domainprefs>
                    867: AuthType LONCAPA
                    868: Require valid-user
                    869: PerlAuthzHandler       Apache::lonacc
                    870: SetHandler perl-script
                    871: PerlHandler Apache::domainprefs
                    872: ErrorDocument     403 /adm/login
                    873: ErrorDocument     406 /adm/roles
                    874: ErrorDocument     500 /adm/errorhandler
                    875: </Location>
                    876: 
1.182     raeburn   877: <Location /adm/domainstatus>
                    878: PerlAccessHandler       Apache::lonstatusacc
                    879: SetHandler perl-script
                    880: PerlHandler Apache::domainstatus
                    881: ErrorDocument     403 /adm/login
                    882: ErrorDocument     406 /adm/roles
                    883: ErrorDocument     500 /adm/errorhandler
                    884: </Location>
                    885: 
1.1       harris41  886: <Location /adm/createuser>
1.139     albertel  887: AuthType LONCAPA
1.125     albertel  888: Require valid-user
                    889: PerlAuthzHandler       Apache::lonacc
1.1       harris41  890: SetHandler perl-script
1.126     albertel  891: PerlHandler Apache::loncreateuser
1.1       harris41  892: ErrorDocument     403 /adm/login
                    893: ErrorDocument     406 /adm/roles
                    894: ErrorDocument	  500 /adm/errorhandler
                    895: </Location>
                    896: 
                    897: <Location /adm/publish>
1.139     albertel  898: AuthType LONCAPA
1.125     albertel  899: Require valid-user
                    900: PerlAuthzHandler       Apache::lonacc
1.1       harris41  901: SetHandler perl-script
1.126     albertel  902: PerlHandler Apache::lonpublisher
1.1       harris41  903: ErrorDocument     403 /adm/login
                    904: ErrorDocument     404 /adm/notfound.html
1.18      www       905: ErrorDocument     406 /adm/unauthorized
1.1       harris41  906: ErrorDocument	  500 /adm/errorhandler
                    907: </Location>
                    908: 
1.205     www       909: <LocationMatch "^/+priv/.*/$">
1.139     albertel  910: AuthType LONCAPA
1.131     albertel  911: Require valid-user
1.125     albertel  912: PerlAuthzHandler       Apache::loncacc
1.1       harris41  913: SetHandler perl-script
1.126     albertel  914: PerlHandler Apache::lonpubdir
1.1       harris41  915: ErrorDocument     403 /adm/login
                    916: ErrorDocument     404 /adm/notfound.html
1.18      www       917: ErrorDocument     406 /adm/unauthorized
1.1       harris41  918: ErrorDocument	  500 /adm/errorhandler
                    919: </LocationMatch>
                    920: 
1.18      www       921: <Location /adm/unauthorized>
1.139     albertel  922: AuthType LONCAPA
1.125     albertel  923: Require valid-user
                    924: PerlAuthzHandler       Apache::lonacc
1.18      www       925: SetHandler perl-script
1.126     albertel  926: PerlHandler Apache::lonunauthorized
1.18      www       927: ErrorDocument     403 /adm/login
                    928: ErrorDocument     404 /adm/notfound.html
1.1       harris41  929: ErrorDocument	  500 /adm/errorhandler
                    930: </Location>
                    931: 
                    932: <Location /adm/retrieve>
1.139     albertel  933: AuthType LONCAPA
1.125     albertel  934: Require valid-user
                    935: PerlAuthzHandler       Apache::lonacc
1.1       harris41  936: SetHandler perl-script
1.126     albertel  937: PerlHandler Apache::lonretrieve
1.1       harris41  938: ErrorDocument     403 /adm/login
                    939: ErrorDocument     404 /adm/notfound.html
1.18      www       940: ErrorDocument     406 /adm/unauthorized
1.1       harris41  941: ErrorDocument	  500 /adm/errorhandler
                    942: </Location>
                    943: 
1.109     www       944: <Location /adm/cleanup>
1.139     albertel  945: AuthType LONCAPA
1.125     albertel  946: Require valid-user
                    947: PerlAuthzHandler       Apache::lonacc
1.109     www       948: SetHandler perl-script
1.126     albertel  949: PerlHandler Apache::loncleanup
1.109     www       950: ErrorDocument     403 /adm/login
                    951: ErrorDocument     404 /adm/notfound.html
                    952: ErrorDocument     406 /adm/unauthorized
                    953: ErrorDocument	  500 /adm/errorhandler
                    954: </Location>
                    955: 
1.1       harris41  956: <Location /adm/cfile>
1.139     albertel  957: AuthType LONCAPA
1.125     albertel  958: Require valid-user
                    959: PerlAuthzHandler       Apache::lonacc
1.1       harris41  960: SetHandler perl-script
1.126     albertel  961: PerlHandler Apache::loncfile
1.1       harris41  962: ErrorDocument     403 /adm/login
                    963: ErrorDocument     404 /adm/notfound.html
1.18      www       964: ErrorDocument     406 /adm/unauthorized
1.1       harris41  965: ErrorDocument	  500 /adm/errorhandler
                    966: </Location>
                    967: 
                    968: <Location /adm/diff>
1.139     albertel  969: AuthType LONCAPA
1.125     albertel  970: Require valid-user
                    971: PerlAuthzHandler       Apache::lonacc
1.1       harris41  972: SetHandler perl-script
1.126     albertel  973: PerlHandler Apache::londiff
1.1       harris41  974: ErrorDocument     403 /adm/login
                    975: ErrorDocument     404 /adm/notfound.html
1.18      www       976: ErrorDocument     406 /adm/unauthorized
1.1       harris41  977: ErrorDocument	  500 /adm/errorhandler
                    978: </Location>
                    979: 
                    980: <Location /adm/upload>
1.139     albertel  981: AuthType LONCAPA
1.125     albertel  982: Require valid-user
                    983: PerlAuthzHandler       Apache::lonacc
1.1       harris41  984: SetHandler perl-script
1.126     albertel  985: PerlHandler Apache::lonupload
1.1       harris41  986: ErrorDocument     403 /adm/login
                    987: ErrorDocument     404 /adm/notfound.html
1.18      www       988: ErrorDocument     406 /adm/unauthorized
1.1       harris41  989: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn   990: </Location>
                    991: 
1.73      raeburn   992: <Location /adm/imsimport>
1.139     albertel  993: AuthType LONCAPA
1.125     albertel  994: Require valid-user
                    995: PerlAuthzHandler       Apache::lonacc
1.73      raeburn   996: SetHandler perl-script
1.126     albertel  997: PerlHandler Apache::imsimport
1.73      raeburn   998: ErrorDocument     403 /adm/login
                    999: ErrorDocument     404 /adm/notfound.html
                   1000: ErrorDocument     406 /adm/unauthorized
                   1001: ErrorDocument     500 /adm/errorhandler
                   1002: </Location>
                   1003: 
1.72      raeburn  1004: <Location /adm/testbank>
1.139     albertel 1005: AuthType LONCAPA
1.125     albertel 1006: Require valid-user
                   1007: PerlAuthzHandler       Apache::lonacc
1.72      raeburn  1008: SetHandler perl-script
1.126     albertel 1009: PerlHandler Apache::testbankimport
1.72      raeburn  1010: ErrorDocument     403 /adm/login
                   1011: ErrorDocument     404 /adm/notfound.html
                   1012: ErrorDocument     406 /adm/unauthorized
                   1013: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1014: </Location>
                   1015: 
                   1016: <Location /adm/assesscalc>
1.139     albertel 1017: AuthType LONCAPA
1.125     albertel 1018: Require valid-user
                   1019: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1020: SetHandler perl-script
1.126     albertel 1021: PerlHandler Apache::lonspreadsheet
1.1       harris41 1022: ErrorDocument     403 /adm/login
                   1023: ErrorDocument     406 /adm/roles
1.20      www      1024: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1025: ErrorDocument	  500 /adm/errorhandler
                   1026: </Location>
                   1027: 
                   1028: <Location /adm/studentcalc>
1.139     albertel 1029: AuthType LONCAPA
1.125     albertel 1030: Require valid-user
                   1031: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1032: SetHandler perl-script
1.126     albertel 1033: PerlHandler Apache::lonspreadsheet
1.1       harris41 1034: ErrorDocument     403 /adm/login
                   1035: ErrorDocument     406 /adm/roles
1.20      www      1036: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1037: ErrorDocument	  500 /adm/errorhandler
                   1038: </Location>
                   1039: 
                   1040: <Location /adm/classcalc>
1.139     albertel 1041: AuthType LONCAPA
1.125     albertel 1042: Require valid-user
                   1043: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1044: SetHandler perl-script
1.126     albertel 1045: PerlHandler Apache::lonspreadsheet
1.1       harris41 1046: ErrorDocument     403 /adm/login
                   1047: ErrorDocument     406 /adm/roles
1.20      www      1048: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1049: ErrorDocument	  500 /adm/errorhandler
                   1050: </Location>
                   1051: 
                   1052: <Location /adm/dropadd>
1.139     albertel 1053: AuthType LONCAPA
1.125     albertel 1054: Require valid-user
                   1055: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1056: SetHandler perl-script
1.126     albertel 1057: PerlHandler Apache::londropadd
1.44      www      1058: ErrorDocument     403 /adm/login
                   1059: ErrorDocument     406 /adm/roles
                   1060: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn  1061: </Location>
                   1062: 
1.92      matthew  1063: <Location /adm/viewclasslist>
1.139     albertel 1064: AuthType LONCAPA
1.125     albertel 1065: Require valid-user
                   1066: PerlAuthzHandler       Apache::lonacc
1.92      matthew  1067: SetHandler perl-script
1.126     albertel 1068: PerlHandler Apache::lonviewclasslist
1.92      matthew  1069: ErrorDocument     403 /adm/login
                   1070: ErrorDocument     406 /adm/roles
                   1071: ErrorDocument	  500 /adm/errorhandler
                   1072: </Location>
                   1073: 
1.118     raeburn  1074: <Location /adm/coursegroups>
1.139     albertel 1075: AuthType LONCAPA
1.125     albertel 1076: Require valid-user
                   1077: PerlAuthzHandler       Apache::lonacc
1.118     raeburn  1078: SetHandler perl-script
1.126     albertel 1079: PerlHandler Apache::loncoursegroups
1.118     raeburn  1080: ErrorDocument     403 /adm/login
                   1081: ErrorDocument     406 /adm/roles
                   1082: ErrorDocument     500 /adm/errorhandler
                   1083: </Location>
                   1084: 
1.143     raeburn  1085: <Location /adm/groupboards>
                   1086: AuthType LONCAPA
                   1087: Require valid-user
                   1088: PerlAuthzHandler       Apache::lonacc
                   1089: SetHandler perl-script
                   1090: PerlHandler Apache::groupboards
                   1091: ErrorDocument     403 /adm/login
                   1092: ErrorDocument     406 /adm/roles
                   1093: ErrorDocument     500 /adm/errorhandler
                   1094: </Location>
                   1095: 
1.144     raeburn  1096: <Location /adm/grouproster>
                   1097: AuthType LONCAPA
                   1098: Require valid-user
                   1099: PerlAuthzHandler       Apache::lonacc
                   1100: SetHandler perl-script
                   1101: PerlHandler Apache::grouproster
                   1102: ErrorDocument     403 /adm/login
                   1103: ErrorDocument     406 /adm/roles
                   1104: ErrorDocument     500 /adm/errorhandler
                   1105: </Location>
                   1106: 
1.112     raeburn  1107: <Location /adm/whatsnew>
1.139     albertel 1108: AuthType LONCAPA
1.125     albertel 1109: Require valid-user
                   1110: PerlAuthzHandler       Apache::lonacc
1.112     raeburn  1111: SetHandler perl-script
1.126     albertel 1112: PerlHandler Apache::lonwhatsnew
1.112     raeburn  1113: ErrorDocument     403 /adm/login
                   1114: ErrorDocument     406 /adm/roles
                   1115: ErrorDocument     500 /adm/errorhandler
                   1116: </Location>
                   1117: 
1.65      raeburn  1118: <Location /adm/populate>
1.139     albertel 1119: AuthType LONCAPA
1.125     albertel 1120: Require valid-user
                   1121: PerlAuthzHandler       Apache::lonacc
1.65      raeburn  1122: SetHandler perl-script
1.126     albertel 1123: PerlHandler Apache::lonpopulate
1.65      raeburn  1124: ErrorDocument     403 /adm/login
                   1125: ErrorDocument     406 /adm/roles
                   1126: ErrorDocument     500 /adm/errorhandler
1.44      www      1127: </Location>
                   1128: 
                   1129: <Location /adm/managekeys>
1.139     albertel 1130: AuthType LONCAPA
1.125     albertel 1131: Require valid-user
                   1132: PerlAuthzHandler       Apache::lonacc
1.44      www      1133: SetHandler perl-script
1.126     albertel 1134: PerlHandler Apache::lonmanagekeys
1.1       harris41 1135: ErrorDocument     403 /adm/login
                   1136: ErrorDocument     406 /adm/roles
                   1137: ErrorDocument	  500 /adm/errorhandler
                   1138: </Location>
                   1139: 
                   1140: <Location /adm/printout>
1.139     albertel 1141: AuthType LONCAPA
1.125     albertel 1142: Require valid-user
                   1143: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1144: SetHandler perl-script
1.126     albertel 1145: PerlHandler Apache::lonprintout
1.1       harris41 1146: ErrorDocument     403 /adm/login
1.20      www      1147: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1148: ErrorDocument	  500 /adm/errorhandler
                   1149: </Location>
                   1150: 
                   1151: <Location /adm/feedback>
1.139     albertel 1152: AuthType LONCAPA
1.125     albertel 1153: Require valid-user
                   1154: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1155: SetHandler perl-script
1.126     albertel 1156: PerlHandler Apache::lonfeedback
1.10      www      1157: ErrorDocument     403 /adm/login
                   1158: ErrorDocument	  500 /adm/errorhandler
                   1159: </Location>
                   1160: 
                   1161: <Location /adm/coursedocs>
1.139     albertel 1162: AuthType LONCAPA
1.125     albertel 1163: Require valid-user
                   1164: PerlAuthzHandler       Apache::lonacc
1.10      www      1165: SetHandler perl-script
1.126     albertel 1166: PerlHandler Apache::londocs
1.108     albertel 1167: PerlCleanupHandler Apache::londocs::untiehash
1.129     albertel 1168: PerlCleanupHandler	Apache::lonacc::cleanup
1.10      www      1169: ErrorDocument     403 /adm/login
                   1170: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn  1171: </Location>
                   1172: 
1.207     raeburn  1173: <Location /adm/supplemental>
                   1174: AuthType LONCAPA
                   1175: Require valid-user
                   1176: PerlAuthzHandler       Apache::lonacc
                   1177: SetHandler perl-script
                   1178: PerlHandler Apache::londocs
                   1179: PerlCleanupHandler Apache::londocs::untiehash
                   1180: PerlCleanupHandler      Apache::lonacc::cleanup
                   1181: ErrorDocument     403 /adm/login
                   1182: ErrorDocument     500 /adm/errorhandler
                   1183: </Location>
                   1184: 
1.73      raeburn  1185: <Location /adm/imsimportdocs>
1.139     albertel 1186: AuthType LONCAPA
1.125     albertel 1187: Require valid-user
                   1188: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1189: SetHandler perl-script
1.126     albertel 1190: PerlHandler Apache::imsimportdocs
1.73      raeburn  1191: ErrorDocument     403 /adm/login
                   1192: ErrorDocument     500 /adm/errorhandler
1.10      www      1193: </Location>
                   1194: 
1.215.2.8  raeburn  1195: <Location /adm/extresedit>
                   1196: AuthType LONCAPA
                   1197: Require valid-user
                   1198: PerlAuthzHandler       Apache::lonacc
                   1199: SetHandler perl-script
                   1200: PerlHandler Apache::lonextresedit
                   1201: ErrorDocument     403 /adm/login
                   1202: ErrorDocument     500 /adm/errorhandler
                   1203: </Location>
                   1204: 
1.135     www      1205: <LocationMatch "^/adm/announcements">
1.139     albertel 1206: AuthType LONCAPA
1.125     albertel 1207: Require valid-user
                   1208: PerlAuthzHandler       Apache::lonacc
1.10      www      1209: SetHandler perl-script
1.126     albertel 1210: PerlHandler Apache::lonannounce
1.10      www      1211: ErrorDocument     403 /adm/login
                   1212: ErrorDocument	  500 /adm/errorhandler
1.135     www      1213: </LocationMatch>
1.10      www      1214: 
                   1215: <Location /adm/chat>
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::lonchat
1.13      www      1221: ErrorDocument	  500 /adm/errorhandler
                   1222: </Location>
                   1223: 
                   1224: <Location /adm/chatfetch>
1.139     albertel 1225: AuthType LONCAPA
1.125     albertel 1226: Require valid-user
                   1227: PerlAuthzHandler       Apache::lonacc
1.13      www      1228: SetHandler perl-script
1.126     albertel 1229: PerlHandler Apache::lonchatfetch
1.20      www      1230: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1231: ErrorDocument	  500 /adm/errorhandler
                   1232: </Location>
                   1233: 
1.137     albertel 1234: <Location /adm/groupchat>
1.139     albertel 1235: AuthType LONCAPA
1.137     albertel 1236: Require valid-user
                   1237: PerlAuthzHandler       Apache::lonacc
                   1238: SetHandler perl-script
                   1239: PerlHandler Apache::longroupchat
                   1240: ErrorDocument     403 /adm/login
                   1241: ErrorDocument     500 /adm/errorhandler
                   1242: </Location>
                   1243: 
1.1       harris41 1244: <Location /adm/evaluate>
1.139     albertel 1245: AuthType LONCAPA
1.125     albertel 1246: Require valid-user
                   1247: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1248: SetHandler perl-script
1.126     albertel 1249: PerlHandler Apache::lonevaluate
1.1       harris41 1250: ErrorDocument     403 /adm/login
                   1251: ErrorDocument	  500 /adm/errorhandler
                   1252: </Location>
                   1253: 
                   1254: <Location /adm/preferences>
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::lonpreferences
1.1       harris41 1260: ErrorDocument     403 /adm/login
                   1261: ErrorDocument	  500 /adm/errorhandler
                   1262: </Location>
                   1263: 
                   1264: <Location /adm/communicate>
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::loncommunicate
1.1       harris41 1270: ErrorDocument     403 /adm/login
                   1271: ErrorDocument	  500 /adm/errorhandler
                   1272: </Location>
                   1273: 
                   1274: <Location /adm/searchcat>
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::lonsearchcat
1.28      www      1280: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1281: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1282: ErrorDocument     403 /adm/login
1.20      www      1283: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1284: ErrorDocument	  500 /adm/errorhandler
                   1285: </Location>
                   1286: 
                   1287: <Location /adm/navmaps>
1.139     albertel 1288: AuthType LONCAPA
1.125     albertel 1289: Require valid-user
                   1290: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1291: SetHandler perl-script
1.160     albertel 1292: PerlHandler Apache::lonnavdisplay
1.1       harris41 1293: ErrorDocument     403 /adm/login
                   1294: ErrorDocument     406 /adm/roles
                   1295: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1296: </Location>
                   1297: 
                   1298: <Location /adm/quickgrades>
1.139     albertel 1299: AuthType LONCAPA
1.125     albertel 1300: Require valid-user
                   1301: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1302: SetHandler perl-script
1.126     albertel 1303: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1304: ErrorDocument     403 /adm/login
                   1305: ErrorDocument     406 /adm/roles
                   1306: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1307: </Location>
                   1308: 
                   1309: <Location /adm/groupsort>
1.139     albertel 1310: AuthType LONCAPA
1.125     albertel 1311: Require valid-user
                   1312: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1313: SetHandler perl-script
1.126     albertel 1314: PerlHandler Apache::groupsort
1.29      www      1315: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1316: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1317: ErrorDocument     403 /adm/login
1.215.2.19  raeburn  1318: ErrorDocument     406 /adm/roles
1.1       harris41 1319: ErrorDocument	  500 /adm/errorhandler
                   1320: </Location>
                   1321: 
1.215.2.2  raeburn  1322: <Location /adm/wishlist>
                   1323: AuthType LONCAPA
                   1324: Require valid-user
                   1325: PerlAuthzHandler       Apache::lonacc
                   1326: SetHandler perl-script
                   1327: PerlHandler Apache::lonwishlistdisplay
                   1328: ErrorDocument     403 /adm/login
                   1329: ErrorDocument     406 /adm/roles
                   1330: ErrorDocument     500 /adm/errorhandler
                   1331: </Location>
                   1332: 
1.208     raeburn  1333: <Location /adm/setblock>
                   1334: AuthType LONCAPA
                   1335: Require valid-user
                   1336: PerlAuthzHandler       Apache::lonacc
                   1337: SetHandler             perl-script
                   1338: PerlHandler            Apache::lonblockingmenu
                   1339: ErrorDocument     403 /adm/login
1.209     raeburn  1340: ErrorDocument     406 /adm/roles
1.208     raeburn  1341: ErrorDocument     500 /adm/errorhandler
                   1342: </Location>
                   1343: 
1.186     droeschl 1344: <Location /adm/blockingstatus>
1.188     droeschl 1345: PerlAccessHandler      Apache::publiccheck
1.186     droeschl 1346: AuthType LONCAPA
                   1347: Require valid-user
                   1348: PerlAuthzHandler       Apache::lonacc
1.188     droeschl 1349: SetHandler             perl-script
                   1350: PerlHandler            Apache::lonblockingstatus
1.186     droeschl 1351: </Location>
                   1352: 
1.215.2.18  raeburn  1353: <Location /adm/accesstimes>
                   1354: AuthType LONCAPA
                   1355: Require valid-user
                   1356: PerlAuthzHandler       Apache::lonacc
                   1357: SetHandler             perl-script
                   1358: PerlHandler            Apache::lonaccesstimes
                   1359: ErrorDocument     403 /adm/login
                   1360: ErrorDocument     406 /adm/roles
                   1361: ErrorDocument     500 /adm/errorhandler
                   1362: </Location>
                   1363: 
1.1       harris41 1364: <Location /adm/errorhandler>
                   1365: SetHandler perl-script
1.126     albertel 1366: PerlHandler Apache::lonerrorhandler
1.1       harris41 1367: </Location>
                   1368: 
1.7       bowersj2 1369: <LocationMatch "^/adm/help/.*\.hlp$">
1.139     albertel 1370: AuthType LONCAPA
1.125     albertel 1371: Require valid-user
1.147     albertel 1372: PerlAccessHandler      Apache::publiccheck
1.125     albertel 1373: PerlAuthzHandler	Apache::lonacc
1.7       bowersj2 1374: SetHandler perl-script
1.126     albertel 1375: PerlHandler Apache::lonhelp
1.154     albertel 1376: ErrorDocument	  500 /adm/errorhandler
1.7       bowersj2 1377: </LocationMatch>
                   1378: 
1.90      raeburn  1379: <LocationMatch "^/adm/helpmenu">
1.139     albertel 1380: AuthType LONCAPA
1.125     albertel 1381: Require valid-user
                   1382: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1383: SetHandler perl-script
1.126     albertel 1384: PerlHandler Apache::lonhelpmenu
1.154     albertel 1385: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1386: </LocationMatch>
                   1387: 
                   1388: <LocationMatch "^/adm/support">
1.139     albertel 1389: AuthType LONCAPA
1.125     albertel 1390: Require valid-user
                   1391: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1392: SetHandler perl-script
1.126     albertel 1393: PerlHandler Apache::lonsupportreq
1.154     albertel 1394: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1395: </LocationMatch>
                   1396: 
1.100     raeburn  1397: <LocationMatch "^/adm/helpdesk">
                   1398: SetHandler perl-script
1.126     albertel 1399: PerlHandler Apache::lonsupportreq
1.154     albertel 1400: ErrorDocument	  500 /adm/errorhandler
1.100     raeburn  1401: </LocationMatch>
                   1402: 
1.215.2.5  raeburn  1403: <LocationMatch "^/adm/css/.*\.css$">
1.133     albertel 1404: SetHandler perl-script
                   1405: PerlHandler Apache::loncss
1.154     albertel 1406: ErrorDocument	  500 /adm/errorhandler
1.133     albertel 1407: </LocationMatch>
                   1408: 
1.155     raeburn  1409: <LocationMatch "^/adm/coursecatalog">
                   1410: SetHandler perl-script
                   1411: PerlHandler Apache::coursecatalog
1.156     albertel 1412: ErrorDocument	  500 /adm/errorhandler
1.155     raeburn  1413: </LocationMatch>
                   1414: 
1.161     raeburn  1415: <LocationMatch "^/adm/resetpw">
                   1416: SetHandler perl-script
                   1417: PerlHandler Apache::resetpw
                   1418: ErrorDocument     500 /adm/errorhandler
                   1419: </LocationMatch>
1.155     raeburn  1420: 
1.173     raeburn  1421: <LocationMatch "^/adm/selfenroll">
                   1422: SetHandler perl-script
                   1423: PerlHandler Apache::selfenroll
                   1424: ErrorDocument     500 /adm/errorhandler
                   1425: </LocationMatch>
                   1426: 
1.171     raeburn  1427: <LocationMatch "^/adm/createaccount">
                   1428: SetHandler perl-script
                   1429: PerlHandler Apache::createaccount
                   1430: ErrorDocument     500 /adm/errorhandler
                   1431: </LocationMatch>
                   1432: 
1.165     albertel 1433: <LocationMatch "^/adm/dns">
                   1434: SetHandler perl-script
                   1435: PerlHandler Apache::londns
                   1436: ErrorDocument     500 /adm/errorhandler
                   1437: </LocationMatch>
1.164     albertel 1438: 
1.215.2.4  raeburn  1439: <LocationMatch "^/ajax/spellcheck">
                   1440: SetHandler perl-script
                   1441: PerlHandler Apache::spellcheck
                   1442: </LocationMatch>
                   1443: 
                   1444: 
1.215.2.9  raeburn  1445: 
1.1       harris41 1446: # ------------------------------------------------- Backdoor Adm Tests/Programs
                   1447: 
                   1448: <Location /adm/test>
1.181     raeburn  1449: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1450: SetHandler perl-script
1.126     albertel 1451: PerlHandler Apache::lontest
1.1       harris41 1452: </Location>
                   1453: 
                   1454: # ------------------------------------------------------- Shutting down a child
                   1455: 
1.129     albertel 1456: PerlChildExitHandler Apache::lonacc::goodbye
1.1       harris41 1457: 
                   1458: #
                   1459: # LON-CAPA Section (extensions to access.conf permission configuration)
                   1460: #
                   1461: # =========================================================== Directory Options
                   1462: 
                   1463: # Start out with "no"
                   1464: 
                   1465: <Directory />
                   1466: Options None
                   1467: AllowOverride None
1.215.2.10  raeburn  1468: <IfModule mod_authz_core.c>
                   1469:   Require all denied
                   1470: </IfModule>
                   1471: <IfModule !mod_authz_core.c>
                   1472:   order deny,allow
                   1473:   deny from all
                   1474: </IfModule>
1.158     raeburn  1475: </Directory>
                   1476: 
                   1477: # Allow uploaded files to be served
                   1478: 
                   1479: <Directory "/home/httpd/lonUsers">
1.215.2.22  raeburn  1480: Options FollowSymLinks
1.158     raeburn  1481: AllowOverride None
1.215.2.10  raeburn  1482: <IfModule mod_authz_core.c>
                   1483:   Require all granted
                   1484: </IfModule>
                   1485: <IfModule !mod_authz_core.c>
                   1486:   order allow,deny
                   1487:   allow from all
                   1488: </IfModule>
1.158     raeburn  1489: </Directory>
                   1490:  
1.1       harris41 1491: # Yes to symbolic links and server-side includes
                   1492: 
                   1493: <Directory /home/httpd/html>
1.215.2.22  raeburn  1494: Options FollowSymLinks
1.1       harris41 1495: AllowOverride None
1.215.2.10  raeburn  1496: <IfModule mod_authz_core.c>
                   1497:   Require all granted
                   1498: </IfModule>
                   1499: <IfModule !mod_authz_core.c>
                   1500:   order allow,deny
                   1501:   allow from all
                   1502: </IfModule>
1.1       harris41 1503: </Directory>
                   1504: 
                   1505: # If it is in cgi-bin, then it can be executed as a CGI script.
                   1506: 
                   1507: <Directory /home/httpd/cgi-bin>
                   1508: AllowOverride None
1.157     albertel 1509: Options ExecCGI FollowSymLinks
1.215.2.10  raeburn  1510: <IfModule mod_authz_core.c>
                   1511:   Require all granted
                   1512: </IfModule>
                   1513: <IfModule !mod_authz_core.c>
                   1514:   order allow,deny
                   1515:   allow from all
                   1516: </IfModule>
1.159     raeburn  1517: </Directory>
                   1518: 
                   1519: # Allow serving of files in prtspool
                   1520: 
                   1521: <Directory "/home/httpd/prtspool/">
1.215.2.21  raeburn  1522: Options FollowSymLinks
1.159     raeburn  1523: AllowOverride None
1.215.2.10  raeburn  1524: <IfModule mod_authz_core.c>
                   1525:   Require all granted
                   1526: </IfModule>
                   1527: <IfModule !mod_authz_core.c>
                   1528:   order allow,deny
                   1529:   allow from all
                   1530: </IfModule>
1.1       harris41 1531: </Directory>
                   1532: 
1.167     banghart 1533: # Allow serving of files in zipspool
                   1534: 
                   1535: <Directory "/home/httpd/zipspool/">
1.215.2.21  raeburn  1536: Options FollowSymLinks
1.167     banghart 1537: AllowOverride None
1.215.2.10  raeburn  1538: <IfModule mod_authz_core.c>
                   1539:   Require all granted
                   1540: </IfModule>
                   1541: <IfModule !mod_authz_core.c>
                   1542:   order allow,deny
                   1543:   allow from all
                   1544: </IfModule>
1.167     banghart 1545: </Directory>
                   1546: 
1.177     raeburn  1547: # Allow serving of files in captchaspool
                   1548: 
                   1549: <Directory "/home/httpd/captchaspool/">
1.215.2.21  raeburn  1550: Options FollowSymLinks
1.177     raeburn  1551: AllowOverride None
1.215.2.10  raeburn  1552: <IfModule mod_authz_core.c>
                   1553:   Require all granted
                   1554: </IfModule>
                   1555: <IfModule !mod_authz_core.c>
                   1556:   order allow,deny
                   1557:   allow from all
                   1558: </IfModule>
1.177     raeburn  1559: </Directory>
                   1560: 
1.215.2.10  raeburn  1561: <DirectoryMatch "^/home/httpd/html/priv/.+/">
                   1562:    DirectoryIndex disabled
                   1563: </DirectoryMatch>
                   1564: 
1.215.2.16  raeburn  1565: <DirectoryMatch "^/home/httpd/html/res/.+/">
                   1566:    DirectoryIndex disabled
                   1567: </DirectoryMatch>
                   1568: 
1.1       harris41 1569: # ============================================================= Access Handlers
                   1570: 
                   1571: # ------------------------------------------------- Allow server-status reports
                   1572: <Location /server-status>
1.181     raeburn  1573: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1574: SetHandler server-status
                   1575: </Location>
                   1576: 
                   1577: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181     raeburn  1578: <LocationMatch "^/+lon-status/.*">
                   1579: PerlAccessHandler Apache::lonstatusacc
                   1580: ErrorDocument     406 /adm/roles
                   1581: ErrorDocument     500 /adm/errorhandler
                   1582: </LocationMatch>
1.1       harris41 1583: 
                   1584: # ------------------- Allow access to local system documentation from localhost
                   1585: Alias /doc /usr/doc
                   1586: <Directory /usr/doc>
                   1587: Options Indexes FollowSymLinks
1.215.2.10  raeburn  1588: <IfModule mod_authz_host.c>
                   1589:   Require local
                   1590: </IfModule>
                   1591: <IfModule !mod_authz_host.c>
                   1592:   order deny,allow
                   1593:   deny from all
                   1594:   allow from localhost
                   1595: </IfModule>
1.1       harris41 1596: </Directory>
                   1597: 
                   1598: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1599: # ====================================== Internal Settings / Perl Configuration
                   1600: 
1.59      www      1601: PerlSetVar	 lonVersion   '<!-- VERSION -->'
1.1       harris41 1602: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
1.210     raeburn  1603: PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs
1.1       harris41 1604: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1605: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1606: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1607: PerlSetVar       londPort     5663
1.215.2.11  raeburn  1608: PerlSetVar       lonSysEMail  techsupport@loncapa.org
1.1       harris41 1609: PerlSetVar       lonDaemons   /home/httpd/perl
1.184     foxr     1610: PerlSetVar       lonLib       /home/httpd/lib
1.1       harris41 1611: PerlSetVar       lonSockDir   /home/httpd/sockets
1.164     albertel 1612: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
1.1       harris41 1613: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1614: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1615: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.166     banghart 1616: PerlSetVar       lonZipDir    /home/httpd/zipspool
1.177     raeburn  1617: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
                   1618: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
1.168     albertel 1619: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
1.215.2.13  raeburn  1620: # & separated list of % separated fields in order of
1.119     albertel 1621: # - internal name to call it, 
                   1622: # - regexp that it should match (done case-insensitively)
                   1623: # - regexp that is should not match (done case-insensitively)
                   1624: # - regexp that will pull out the version number into $1
                   1625: # - a number that describes the minimum version that has mathml support
                   1626: # - a number that describes the minimum number version that has unicode support
                   1627: 
1.215.2.14  raeburn  1628: 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 1629: 
1.105     albertel 1630: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1631: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1632: PerlSetVar       lonScriptTimeout 10
1.70      www      1633: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1634: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1635: # -----------------------------------------------------------------------------
                   1636: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1637: # www@localhost.  This value must always be "localhostkey".
                   1638: # The only security risk occurs when somebody logs in as 'www' on your system
                   1639: # (in which case you have much bigger problems than whether or not they
                   1640: # can access the non-authoritative loncapa database on your machine).
                   1641: 
                   1642: PerlSetVar       lonSqlAccess   localhostkey
                   1643: 
1.86      foxr     1644: #----------------------------------------------------------------------------
                   1645: #
1.79      foxr     1646: #   Parameters used by secure lond/lonc
                   1647: 
                   1648: #
                   1649: #   Secure lond/lonc require ssl certificate and private
                   1650: #   key files to function correctly.  The certificate
                   1651: #   files need not be terribly secure, but the private key files
                   1652: #   should be set up so that only www (the lonc/lond effective user)
                   1653: #   can read them.
                   1654: # 
                   1655: #   The definition below is the full path to the directory that
                   1656: #   contains the certificate and key files:
1.82      foxr     1657: 
1.79      foxr     1658: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1659: 
                   1660: #
                   1661: #  Secure lond/lonc require two certificates and a private host key.
                   1662: #  The certificates required are that of the lonCAPA certificate authority
                   1663: #  and the certificate that authority issued to this host.
                   1664: #  lonnetCertificateAuthority is the name of the file that contains the
                   1665: #                            lonCAPA certificate authority's certificate.
                   1666: #  lonnetCertificate is the name of the file that contains the certificate
                   1667: #                    issued to the host by the certificate authority.
                   1668: #  Both of these variables are names of files assumed to be in 
                   1669: #  lonCertificateDirectory:
                   1670: 
                   1671: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1672: PerlSetVar lonnetCertificate          lonhostcert.pem
                   1673: 
                   1674: #
                   1675: #  To generate the request for a certificate, and to negotiate the
                   1676: #  initial ssl connection, the host requires a private key.  This key
                   1677: #  is created at lonCAPA install time.  Did we mention above that it
                   1678: #  should be set so that only www can read it?  The variale below
                   1679: #  is the name of the file relative to lonnetCertificateDirectory
                   1680: #  that has the host's private key.  Did we remember to tell you to
                   1681: #  keep the permissions on that file set to rw-------  (0600)?
                   1682: #  
                   1683: 
                   1684: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1685: 
                   1686: # Did we mention that the file described above must have
                   1687: # permissions really locked down so that it can't be stolen?
                   1688: 
1.86      foxr     1689: #-------------------------------------------------------------------------
                   1690: 
                   1691: #   Parameters that define where all the ssl stuff is that's needed
                   1692: #   to generate certificate requests and, on a system that's a CA
                   1693: #   the certificate authority.
                   1694: #    
                   1695: #    SSLProgram    -> Path to the openssl command
                   1696: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1697: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1698: #                     Authority.
1.87      foxr     1699: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1700: #                    (on the cert manager system).
                   1701: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1702: #    The following are good for the loncapa redhat installs and
                   1703: #    the loncapa certificate authority system:
                   1704: #
                   1705: PerlSetVar SSLProgram	/usr/bin/openssl
                   1706: PerlSetVar SSLDirectory /usr/share/ssl
                   1707: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1708: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1709: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1710: 
                   1711: #-------------------------------------------------------------------------
                   1712: 
1.79      foxr     1713: 
1.204     raeburn  1714: # ====================================== Include support for SSL rewrites
                   1715: 
                   1716: Include conf/loncapa_rewrite.conf
1.79      foxr     1717: 
1.2       harris41 1718: 
1.8       harris41 1719: # ====================================== Include machine-specific configuration
1.2       harris41 1720: 
                   1721: Include conf/loncapa.conf
1.61      albertel 1722: 
                   1723: # ================================================= Include local configuration
                   1724: 
                   1725: Include conf/loncapa_apache_local*.conf
1.1       harris41 1726: 
                   1727: # ================================================== Initiate mod_perl starting
                   1728: 
                   1729: PerlRequire      conf/startup.pl
1.47      albertel 1730: <IfDefine !MODPERL2>
1.1       harris41 1731: PerlFreshRestart On
1.47      albertel 1732: </IfDefine>

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