Annotation of loncom/loncapa_apache.conf, revision 1.215.2.19

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.