Annotation of loncom/loncapa_apache.conf, revision 1.237

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

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