Annotation of loncom/loncapa_apache.conf, revision 1.215.2.25.2.2

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

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