Annotation of loncom/loncapa_apache.conf, revision 1.242

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

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