Annotation of loncom/loncapa_apache.conf, revision 1.215.2.25.2.3

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

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