Annotation of loncom/loncapa_apache.conf, revision 1.156

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.156   ! albertel    4: ## $Id: loncapa_apache.conf,v 1.155 2006/08/29 21:41:08 raeburn Exp $
1.1       harris41    5: ##
                      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.52      albertel   21: LoadModule perl_module       modules/libperl.so
1.47      albertel   22: <IfDefine !MODPERL2>
1.1       harris41   23: AddModule mod_perl.c
1.47      albertel   24: </IfDefine>
1.1       harris41   25: 
1.63      albertel   26: <IfDefine MODPERL2>
                     27: PerlSetVar	MODPERL2	1
                     28: </IfDefine>
1.1       harris41   29: # =============================================================== Miscellaneous
                     30: 
                     31: ServerAdmin korte@lite.msu.edu
                     32: ExtendedStatus On
                     33: #
                     34: # LON-CAPA Section (extensions to srm.conf name space servicing)
                     35: #
                     36: # ===================================================================== Aliases
                     37: 
                     38: Alias /prtspool/ /home/httpd/prtspool/
1.8       harris41   39: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
1.1       harris41   40: 
                     41: # ================================================================= Directories
                     42: 
                     43: # ------------------------------------------------------------- Access Handlers
                     44: 
1.12      www        45: PerlTransHandler	Apache::lontrans
1.129     albertel   46: PerlCleanupHandler	Apache::lonacc::cleanup
1.12      www        47: 
1.125     albertel   48: PerlAuthenHandler Apache::checkauthen
                     49: PerlSetVar lonOtherAuthen no
                     50: 
1.45      albertel   51: #PerlWarn On
1.21      www        52: <LocationMatch "^/+res.*">
1.125     albertel   53: 
1.139     albertel   54: AuthType LONCAPA
1.125     albertel   55: Require valid-user
                     56: 
                     57: PerlAccessHandler      Apache::publiccheck
                     58: PerlAuthzHandler       Apache::lonacc
1.1       harris41   59: PerlHeaderParserHandler Apache::lonrep
                     60: ErrorDocument     403 /adm/login
                     61: ErrorDocument     404 /adm/notfound.html
                     62: ErrorDocument     406 /adm/roles
1.74      www        63: ErrorDocument	  500 /adm/errorhandler
                     64: </LocationMatch>
                     65: 
1.125     albertel   66: 
                     67: <LocationMatch "/.*">
                     68: </LocationMatch>
                     69: 
                     70: 
1.74      www        71: <LocationMatch "^/+enc.*">
1.115     raeburn    72: SetHandler perl-script
1.127     albertel   73: PerlHandler       Apache::lonencurl
1.74      www        74: ErrorDocument     403 /adm/login
1.80      albertel   75: ErrorDocument     404 /adm/notfound.html
                     76: ErrorDocument     406 /adm/roles
1.11      www        77: ErrorDocument	  500 /adm/errorhandler
                     78: </LocationMatch>
                     79: 
1.84      banghart   80: <Location /adm/portfolio>
1.139     albertel   81: AuthType LONCAPA
1.125     albertel   82: Require valid-user
                     83: PerlAuthzHandler Apache::lonacc
1.123     raeburn    84: SetHandler perl-script
1.126     albertel   85: PerlHandler Apache::portfolio
1.123     raeburn    86: </Location>
                     87: 
1.136     raeburn    88: <Location /adm/coursegrp_portfolio>
1.139     albertel   89: AuthType LONCAPA
1.136     raeburn    90: Require valid-user
                     91: PerlAuthzHandler Apache::lonacc
                     92: SetHandler perl-script
                     93: PerlHandler Apache::portfolio
                     94: </Location>
                     95: 
1.21      www        96: <LocationMatch "^/+userfiles.*">
1.11      www        97: PerlAccessHandler       Apache::lontokacc
1.58      www        98: PerlCleanupHandler	Apache::lontokacc::removefile
1.129     albertel   99: PerlCleanupHandler	Apache::lonacc::cleanup
1.12      www       100: </LocationMatch>
                    101: 
1.76      albertel  102: <LocationMatch "^/+uploaded.*">
1.139     albertel  103: AuthType LONCAPA
1.125     albertel  104: Require valid-user
                    105: PerlAuthzHandler	Apache::lonacc
1.75      raeburn   106: PerlHeaderParserHandler Apache::lonuploadrep
1.80      albertel  107: ErrorDocument     403 /adm/login
1.16      www       108: ErrorDocument     404 /adm/notfound.html
1.80      albertel  109: ErrorDocument     406 /adm/roles
1.16      www       110: ErrorDocument	  500 /adm/errorhandler
1.75      raeburn   111: </LocationMatch>
                    112: 
1.106     albertel  113: <LocationMatch "^/+editupload.*">
1.139     albertel  114: AuthType LONCAPA
1.125     albertel  115: Require valid-user
                    116: PerlAuthzHandler	Apache::lonacc
1.106     albertel  117: ErrorDocument     403 /adm/login
                    118: ErrorDocument     406 /adm/roles
                    119: ErrorDocument	  500 /adm/errorhandler
                    120: </LocationMatch>
                    121: 
1.98      albertel  122: <LocationMatch "^/+uploaded/.*/.*/internal/.*">
1.150     albertel  123: PerlAuthenHandler	Apache::lonuploadedacc
                    124: PerlAuthzHandler	Apache::lonuploadedacc::skip_phase
1.151     albertel  125: PerlAccessHandler	Apache::lonuploadedacc::skip_phase
1.98      albertel  126: </LocationMatch>
                    127: 
1.140     raeburn   128: <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
                    129: PerlAccessHandler      Apache::publiccheck
1.141     albertel  130: AuthType LONCAPA
1.140     raeburn   131: Require valid-user
                    132: PerlAuthzHandler       Apache::lonacc
                    133: </LocationMatch>
                    134: 
                    135: <LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
                    136: PerlAccessHandler      Apache::publiccheck
1.141     albertel  137: AuthType LONCAPA
1.140     raeburn   138: Require valid-user
                    139: PerlAuthzHandler       Apache::lonacc
                    140: </LocationMatch>
1.98      albertel  141: 
1.76      albertel  142: <LocationMatch "^/+uploaded/.*\.page$">
1.75      raeburn   143: SetHandler perl-script
1.126     albertel  144: PerlHandler Apache::lonpage
1.75      raeburn   145: </LocationMatch>
                    146: 
1.76      albertel  147: <LocationMatch "^/+uploaded/.*\.sequence$">
1.75      raeburn   148: SetHandler perl-script
1.126     albertel  149: PerlHandler Apache::lonsequence
1.16      www       150: </LocationMatch>
                    151: 
1.44      www       152: <LocationMatch "^/+public/.*/syllabus$">
1.132     albertel  153: PerlAccessHandler      Apache::publiccheck
1.139     albertel  154: AuthType LONCAPA
1.125     albertel  155: Require valid-user
                    156: PerlAuthzHandler	Apache::lonacc
1.16      www       157: SetHandler              perl-script
1.126     albertel  158: PerlHandler             Apache::lonsyllabus
1.16      www       159: ErrorDocument     404 /adm/notfound.html
                    160: ErrorDocument	  500 /adm/errorhandler
                    161: </LocationMatch>
                    162: 
1.122     www       163: <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
1.132     albertel  164: PerlAccessHandler      Apache::publiccheck
1.139     albertel  165: AuthType LONCAPA
1.125     albertel  166: Require valid-user
                    167: PerlAuthzHandler	Apache::lonacc
1.121     www       168: SetHandler              perl-script
1.126     albertel  169: PerlHandler             Apache::lonrss
1.121     www       170: ErrorDocument     404 /adm/notfound.html
                    171: ErrorDocument	  500 /adm/errorhandler
                    172: </LocationMatch>
                    173: 
1.44      www       174: <LocationMatch "^/adm/.*/aboutme$">
1.139     albertel  175: AuthType LONCAPA
1.125     albertel  176: Require valid-user
                    177: PerlAuthzHandler	Apache::lonacc
1.16      www       178: SetHandler              perl-script
1.126     albertel  179: PerlHandler             Apache::lonaboutme
1.19      www       180: ErrorDocument     404 /adm/notfound.html
1.54      www       181: ErrorDocument     406 /adm/notinit.html
1.19      www       182: ErrorDocument	  500 /adm/errorhandler
                    183: </LocationMatch>
                    184: 
1.153     albertel  185: <LocationMatch "^/adm/.*/aboutme/portfolio$">
                    186: PerlAccessHandler       Apache::publiccheck
                    187: AuthType LONCAPA
                    188: Require valid-user
                    189: PerlAuthzHandler	Apache::lonacc
                    190: SetHandler              perl-script
                    191: PerlHandler             Apache::lonaboutme
                    192: ErrorDocument     404 /adm/notfound.html
                    193: ErrorDocument     406 /adm/notinit.html
                    194: ErrorDocument	  500 /adm/errorhandler
                    195: </LocationMatch>
                    196: 
1.44      www       197: <LocationMatch "^/adm/.*/smppg$">
1.139     albertel  198: AuthType LONCAPA
1.125     albertel  199: Require valid-user
                    200: PerlAuthzHandler	Apache::lonacc
1.19      www       201: SetHandler              perl-script
1.126     albertel  202: PerlHandler             Apache::lonsimplepage
1.19      www       203: ErrorDocument     404 /adm/notfound.html
1.54      www       204: ErrorDocument     406 /adm/notinit.html
1.19      www       205: ErrorDocument	  500 /adm/errorhandler
                    206: </LocationMatch>
                    207: 
1.44      www       208: <LocationMatch "^/adm/.*/bulletinboard$">
1.139     albertel  209: AuthType LONCAPA
1.125     albertel  210: Require valid-user
                    211: PerlAuthzHandler	Apache::lonacc
1.19      www       212: SetHandler              perl-script
1.126     albertel  213: PerlHandler             Apache::londatecheck
                    214: PerlHandler             Apache::lonbulletin
1.55      www       215: ErrorDocument     404 /adm/notfound.html
                    216: ErrorDocument     406 /adm/notinit.html
                    217: ErrorDocument	  500 /adm/errorhandler
                    218: </LocationMatch>
                    219: 
                    220: <LocationMatch "\.problem/smpedit$">
1.139     albertel  221: AuthType LONCAPA
1.125     albertel  222: Require valid-user
                    223: PerlAuthzHandler	Apache::lonacc
1.55      www       224: SetHandler              perl-script
1.126     albertel  225: PerlHandler             Apache::lonsimpleproblemedit
1.11      www       226: ErrorDocument     404 /adm/notfound.html
1.54      www       227: ErrorDocument     406 /adm/notinit.html
1.1       harris41  228: ErrorDocument	  500 /adm/errorhandler
                    229: </LocationMatch>
                    230: 
1.21      www       231: <LocationMatch "^/+priv.*">
1.139     albertel  232: AuthType LONCAPA
1.131     albertel  233: Require valid-user
1.125     albertel  234: PerlAuthzHandler Apache::loncacc
1.1       harris41  235: SetHandler        perl-script
1.126     albertel  236: PerlHandler       Apache::lonconstruct
1.1       harris41  237: ErrorDocument     403 /adm/login
                    238: ErrorDocument     404 /adm/notfound.html
1.18      www       239: ErrorDocument     406 /adm/unauthorized
1.1       harris41  240: ErrorDocument	  500 /adm/errorhandler
                    241: </LocationMatch>
                    242: 
1.21      www       243: <LocationMatch "^/+raw.*">
1.1       harris41  244: PerlAccessHandler Apache::lonracc
                    245: </LocationMatch>
                    246: 
1.21      www       247: <LocationMatch "^/+\~.*">
1.139     albertel  248: AuthType LONCAPA
1.131     albertel  249: Require valid-user
1.125     albertel  250: PerlAuthzHandler Apache::loncacc
1.1       harris41  251: ErrorDocument     403 /adm/login
                    252: ErrorDocument     404 /adm/notfound.html
1.18      www       253: ErrorDocument     406 /adm/unauthorized
1.1       harris41  254: ErrorDocument	  500 /adm/errorhandler
                    255: </LocationMatch>
                    256: 
1.41      bowersj2  257: <LocationMatch "^/adm/helper/.*\.helper$">
1.139     albertel  258: AuthType LONCAPA
1.125     albertel  259: Require valid-user
1.142     albertel  260: PerlAuthzHandler  Apache::lonacc
1.41      bowersj2  261: SetHandler        perl-script
1.126     albertel  262: PerlHandler       Apache::lonhelper
1.41      bowersj2  263: ErrorDocument     403 /adm/login
                    264: ErrorDocument     404 /adm/notfound.html
                    265: ErrorDocument     406 /adm/unauthorized
                    266: ErrorDocument     500 /adm/errorhandler
                    267: </LocationMatch>
                    268: 
1.23      albertel  269: <LocationMatch "/prtspool">
1.139     albertel  270: AuthType LONCAPA
1.125     albertel  271: Require valid-user
                    272: PerlAuthzHandler Apache::lonacc
1.23      albertel  273: ErrorDocument     403 /adm/login
                    274: ErrorDocument     404 /adm/notfound.html
                    275: ErrorDocument     406 /adm/roles
1.99      www       276: ErrorDocument     413 /adm/overloaded.txt
1.23      albertel  277: ErrorDocument	  500 /adm/errorhandler
                    278: </LocationMatch>
1.1       harris41  279: # ------------------------------------------------------------------------- RAT
                    280: 
                    281: <LocationMatch "^/\~.*\.sequence$">
                    282: SetHandler perl-script
1.126     albertel  283: PerlHandler Apache::lonratedt
1.1       harris41  284: </LocationMatch>
                    285: 
                    286: <LocationMatch "^/\~.*\.page$">
                    287: SetHandler perl-script
1.126     albertel  288: PerlHandler Apache::lonratedt
1.1       harris41  289: </LocationMatch>
                    290: 
                    291: <LocationMatch "^/\~.*\/ratserver$">
                    292: SetHandler perl-script
1.126     albertel  293: PerlHandler Apache::lonratsrv
1.1       harris41  294: </LocationMatch>
                    295: 
1.100     raeburn   296: <LocationMatch "^/\~.*\/adveditmenu$">
                    297: SetHandler perl-script
1.126     albertel  298: PerlHandler Apache::lonratmenu
1.100     raeburn   299: </LocationMatch>
                    300: 
1.1       harris41  301: <Location /adm/ratparms>
1.139     albertel  302: AuthType LONCAPA
1.125     albertel  303: Require valid-user
                    304: PerlAuthzHandler       Apache::lonacc
1.1       harris41  305: SetHandler perl-script
1.126     albertel  306: PerlHandler Apache::lonratparms
1.1       harris41  307: ErrorDocument     403 /adm/login
                    308: ErrorDocument	  500 /adm/errorhandler
                    309: </Location>
                    310: 
                    311: # --------------------------------------------- Resource Space Content Handlers
                    312: 
1.64      albertel  313: <LocationMatch "^/+res.*/$">
1.1       harris41  314: SetHandler perl-script
1.126     albertel  315: PerlHandler Apache::lonindexer
1.29      www       316: PerlCleanupHandler Apache::lonindexer::cleanup
1.129     albertel  317: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  318: </LocationMatch>
                    319: 
1.64      albertel  320: <LocationMatch "^/+(res|\~).*\.tex$">
1.1       harris41  321: SetHandler perl-script
1.126     albertel  322: PerlHandler Apache::lontex
1.1       harris41  323: </LocationMatch>
                    324: 
1.71      www       325: <LocationMatch "^/+res/.*\.page$">
1.1       harris41  326: SetHandler perl-script
1.126     albertel  327: PerlHandler Apache::lonpage
1.1       harris41  328: </LocationMatch>
                    329: 
1.71      www       330: <LocationMatch "^/+res/.*\.sequence$">
1.1       harris41  331: SetHandler perl-script
1.126     albertel  332: PerlHandler Apache::lonsequence
1.1       harris41  333: </LocationMatch>
                    334: 
1.106     albertel  335: <LocationMatch "^/+(res|\~|public|uploaded|editupload|adm).*\.meta$">
1.132     albertel  336: PerlAccessHandler      Apache::publiccheck
1.1       harris41  337: SetHandler perl-script
1.126     albertel  338: PerlHandler Apache::lonmeta
1.99      www       339: ErrorDocument     413 /adm/overloaded.txt
1.39      www       340: </LocationMatch>
                    341: 
1.71      www       342: <LocationMatch "^/adm/bombs/">
1.139     albertel  343: AuthType LONCAPA
1.125     albertel  344: Require valid-user
1.71      www       345: SetHandler perl-script
1.125     albertel  346: PerlAuthzHandler Apache::lonacc
1.126     albertel  347: PerlHandler Apache::lonmeta
1.71      www       348: </LocationMatch>
                    349: 
                    350: 
                    351: 
                    352: <LocationMatch "^/+(res|\~).*\.rights$">
1.39      www       353: SetHandler perl-script
1.126     albertel  354: PerlHandler Apache::lonrights
1.1       harris41  355: </LocationMatch>
                    356: 
1.78      albertel  357: <LocationMatch "^/+(uploaded|res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">
1.1       harris41  358: SetHandler perl-script
1.126     albertel  359: PerlHandler Apache::londatecheck
                    360: PerlHandler Apache::lonxml
1.1       harris41  361: </LocationMatch>
                    362: 
1.107     albertel  363: <LocationMatch "^/+(res|\~).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
1.1       harris41  364: SetHandler perl-script
1.126     albertel  365: PerlHandler Apache::lonhomework
1.1       harris41  366: </LocationMatch>
                    367: 
                    368: <LocationMatch "^/adm/wrapper/">
1.139     albertel  369: AuthType LONCAPA
1.125     albertel  370: Require valid-user
                    371: PerlAuthzHandler       Apache::lonacc
1.1       harris41  372: SetHandler perl-script
1.126     albertel  373: PerlHandler Apache::lonwrapper
1.66      www       374: ErrorDocument     403 /adm/login
                    375: ErrorDocument	  500 /adm/errorhandler
                    376: </LocationMatch>
                    377: 
1.113     www       378: <LocationMatch "^/adm/source">
1.139     albertel  379: AuthType LONCAPA
1.125     albertel  380: Require valid-user
                    381: PerlAuthzHandler       Apache::lonacc
1.83      taceyjo1  382: SetHandler perl-script
1.126     albertel  383: PerlHandler Apache::lonsource
1.83      taceyjo1  384: ErrorDocument     403 /adm/login
1.85      www       385: ErrorDocument     406 /adm/roles
1.83      taceyjo1  386: ErrorDocument	  500 /adm/errorhandler
                    387: </LocationMatch>
                    388: 
                    389: 
1.66      www       390: <LocationMatch "^/adm/localize/">
1.139     albertel  391: AuthType LONCAPA
1.125     albertel  392: Require valid-user
                    393: PerlAuthzHandler       Apache::lonacc
1.66      www       394: SetHandler perl-script
1.126     albertel  395: PerlHandler Apache::lonlocalize
1.1       harris41  396: ErrorDocument     403 /adm/login
                    397: ErrorDocument	  500 /adm/errorhandler
                    398: </LocationMatch>
                    399: 
                    400: # -------------------------------------------------------------- Admin Programs
1.24      albertel  401: 
                    402: <Location /adm/randomlabel.png>
1.139     albertel  403: AuthType LONCAPA
1.125     albertel  404: Require valid-user
                    405: PerlAuthzHandler       Apache::lonacc
1.24      albertel  406: SetHandler perl-script
1.126     albertel  407: PerlHandler Apache::randomlylabel
1.69      albertel  408: ErrorDocument     403 /adm/login
                    409: ErrorDocument	  500 /adm/errorhandler
                    410: </Location>
                    411: 
                    412: <Location /adm/imagechoice>
1.139     albertel  413: AuthType LONCAPA
1.125     albertel  414: Require valid-user
                    415: PerlAuthzHandler       Apache::lonacc
1.69      albertel  416: SetHandler perl-script
1.126     albertel  417: PerlHandler Apache::imagechoice
1.24      albertel  418: ErrorDocument     403 /adm/login
                    419: ErrorDocument	  500 /adm/errorhandler
                    420: </Location>
1.1       harris41  421: 
                    422: <Location /adm/statistics>
1.139     albertel  423: AuthType LONCAPA
1.125     albertel  424: Require valid-user
                    425: PerlAuthzHandler       Apache::lonacc
1.1       harris41  426: SetHandler perl-script
1.126     albertel  427: PerlHandler Apache::lonstatistics
1.1       harris41  428: ErrorDocument     403 /adm/login
1.20      www       429: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  430: ErrorDocument	  500 /adm/errorhandler
                    431: </Location>
                    432: 
1.92      matthew   433: <Location /adm/trackstudent>
1.139     albertel  434: AuthType LONCAPA
1.125     albertel  435: Require valid-user
                    436: PerlAuthzHandler       Apache::lonacc
1.92      matthew   437: SetHandler perl-script
1.126     albertel  438: PerlHandler Apache::lontrackstudent
1.92      matthew   439: ErrorDocument     403 /adm/login
                    440: ErrorDocument     413 /adm/overloaded.txt
                    441: ErrorDocument	  500 /adm/errorhandler
                    442: </Location>
                    443: 
1.1       harris41  444: <Location /adm/roles>
1.139     albertel  445: AuthType LONCAPA
1.125     albertel  446: Require valid-user
                    447: PerlAuthzHandler       Apache::lonacc
1.1       harris41  448: SetHandler perl-script
1.126     albertel  449: PerlHandler Apache::lonroles
1.33      www       450: ErrorDocument     403 /adm/login
                    451: ErrorDocument	  500 /adm/errorhandler
                    452: </Location>
                    453: 
                    454: <Location /adm/menu>
1.139     albertel  455: AuthType LONCAPA
1.125     albertel  456: Require valid-user
                    457: PerlAuthzHandler       Apache::lonacc
1.33      www       458: SetHandler perl-script
1.128     albertel  459: PerlHandler Apache::lonmainmenu
1.42      www       460: ErrorDocument     403 /adm/login
                    461: ErrorDocument	  500 /adm/errorhandler
                    462: </Location>
                    463: 
                    464: <Location /adm/remote>
1.139     albertel  465: AuthType LONCAPA
1.125     albertel  466: Require valid-user
                    467: PerlAuthzHandler       Apache::lonacc
1.42      www       468: SetHandler perl-script
1.126     albertel  469: PerlHandler Apache::lonremote
1.27      www       470: ErrorDocument     403 /adm/login
                    471: ErrorDocument	  500 /adm/errorhandler
                    472: </Location>
                    473: 
                    474: <Location /adm/pickstudent>
1.139     albertel  475: AuthType LONCAPA
1.125     albertel  476: Require valid-user
                    477: PerlAuthzHandler       Apache::lonacc
1.27      www       478: SetHandler perl-script
1.126     albertel  479: PerlHandler Apache::lonpickstudent
1.40      www       480: ErrorDocument     403 /adm/login
                    481: ErrorDocument	  500 /adm/errorhandler
                    482: </Location>
                    483: 
                    484: <Location /adm/pickcourse>
1.139     albertel  485: AuthType LONCAPA
1.125     albertel  486: Require valid-user
                    487: PerlAuthzHandler       Apache::lonacc
1.40      www       488: SetHandler perl-script
1.126     albertel  489: PerlHandler Apache::lonpickcourse
1.77      albertel  490: ErrorDocument     403 /adm/login
                    491: ErrorDocument	  500 /adm/errorhandler
                    492: </Location>
                    493: 
                    494: <Location /adm/pickcode>
1.139     albertel  495: AuthType LONCAPA
1.125     albertel  496: Require valid-user
                    497: PerlAuthzHandler       Apache::lonacc
1.77      albertel  498: SetHandler perl-script
1.126     albertel  499: PerlHandler Apache::lonpickcode
1.1       harris41  500: ErrorDocument     403 /adm/login
                    501: ErrorDocument	  500 /adm/errorhandler
                    502: </Location>
                    503: 
                    504: <Location /adm/login>
                    505: SetHandler perl-script
1.126     albertel  506: PerlHandler Apache::lonlogin
1.1       harris41  507: </Location>
                    508: 
1.148     raeburn   509: <Location /adm/restrictedaccess>
                    510: PerlAccessHandler      Apache::publiccheck
                    511: AuthType LONCAPA
1.152     albertel  512: Require valid-user
1.148     raeburn   513: SetHandler perl-script
1.149     albertel  514: PerlAuthzHandler       Apache::lonacc
1.148     raeburn   515: PerlHandler Apache::restrictedaccess
1.154     albertel  516: ErrorDocument	  500 /adm/errorhandler
1.148     raeburn   517: </Location>
                    518: 
1.1       harris41  519: <Location /adm/logout>
1.139     albertel  520: AuthType LONCAPA
1.125     albertel  521: Require valid-user
                    522: PerlAuthzHandler       Apache::lonacc
1.1       harris41  523: SetHandler perl-script
1.126     albertel  524: PerlHandler Apache::lonlogout
1.1       harris41  525: ErrorDocument     403 /adm/login
1.154     albertel  526: ErrorDocument	  500 /adm/errorhandler
1.1       harris41  527: </Location>
                    528: 
1.117     albertel  529: <Location /adm/switchserver>
1.139     albertel  530: AuthType LONCAPA
1.125     albertel  531: Require valid-user
                    532: PerlAuthzHandler       Apache::lonacc
1.117     albertel  533: SetHandler perl-script
1.126     albertel  534: PerlHandler Apache::switchserver
1.117     albertel  535: ErrorDocument     403 /adm/login
1.154     albertel  536: ErrorDocument	  500 /adm/errorhandler
1.117     albertel  537: </Location>
                    538: 
1.1       harris41  539: <Location /adm/authenticate>
                    540: SetHandler perl-script
1.126     albertel  541: PerlHandler Apache::lonauth
1.1       harris41  542: </Location>
                    543: 
1.117     albertel  544: <Location /adm/migrateuser>
                    545: SetHandler perl-script
1.126     albertel  546: PerlHandler Apache::migrateuser
1.117     albertel  547: </Location>
                    548: 
1.1       harris41  549: <Location /adm/annotations>
1.139     albertel  550: AuthType LONCAPA
1.125     albertel  551: Require valid-user
                    552: PerlAuthzHandler       Apache::lonacc
1.1       harris41  553: SetHandler perl-script
1.126     albertel  554: PerlHandler Apache::admannotations
1.1       harris41  555: ErrorDocument     403 /adm/login
                    556: ErrorDocument	  500 /adm/errorhandler
                    557: </Location>
                    558: 
1.91      www       559: <Location /adm/spellcheck>
1.139     albertel  560: AuthType LONCAPA
1.125     albertel  561: Require valid-user
                    562: PerlAuthzHandler       Apache::lonacc
1.91      www       563: SetHandler perl-script
1.126     albertel  564: PerlHandler Apache::lonspeller
1.91      www       565: ErrorDocument     403 /adm/login
                    566: ErrorDocument	  500 /adm/errorhandler
                    567: </Location>
                    568: 
1.1       harris41  569: <Location /adm/bookmarks>
1.139     albertel  570: AuthType LONCAPA
1.125     albertel  571: Require valid-user
                    572: PerlAuthzHandler       Apache::lonacc
1.1       harris41  573: SetHandler perl-script
1.126     albertel  574: PerlHandler Apache::admbookmarks
1.1       harris41  575: ErrorDocument     403 /adm/login
                    576: ErrorDocument	  500 /adm/errorhandler
                    577: </Location>
                    578: 
                    579: <Location /adm/flip>
1.139     albertel  580: AuthType LONCAPA
1.125     albertel  581: Require valid-user
                    582: PerlAuthzHandler       Apache::lonacc
1.1       harris41  583: SetHandler perl-script
1.126     albertel  584: PerlHandler Apache::lonpageflip
1.30      www       585: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129     albertel  586: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  587: ErrorDocument     406 /adm/roles
                    588: ErrorDocument     403 /adm/login
                    589: ErrorDocument	  500 /adm/errorhandler
                    590: </Location>
                    591: 
                    592: <Location /adm/ambiguous>
1.139     albertel  593: AuthType LONCAPA
1.125     albertel  594: Require valid-user
                    595: PerlAuthzHandler       Apache::lonacc
1.1       harris41  596: SetHandler perl-script
1.126     albertel  597: PerlHandler Apache::lonambiguous
1.30      www       598: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129     albertel  599: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  600: ErrorDocument     403 /adm/login
                    601: ErrorDocument	  500 /adm/errorhandler
                    602: </Location>
                    603: 
                    604: <Location /adm/email>
1.139     albertel  605: AuthType LONCAPA
1.125     albertel  606: Require valid-user
                    607: PerlAuthzHandler       Apache::lonacc
1.1       harris41  608: SetHandler perl-script
1.130     albertel  609: PerlHandler Apache::lonmsgdisplay
1.1       harris41  610: ErrorDocument     403 /adm/login
                    611: ErrorDocument	  500 /adm/errorhandler
                    612: </Location>
                    613: 
1.116     raeburn   614: <Location /adm/notify>
1.139     albertel  615: AuthType LONCAPA
1.125     albertel  616: Require valid-user
                    617: PerlAuthzHandler       Apache::lonacc
1.116     raeburn   618: SetHandler perl-script
1.126     albertel  619: PerlHandler Apache::lonnotify
1.116     raeburn   620: ErrorDocument     403 /adm/login
                    621: ErrorDocument     500 /adm/errorhandler
                    622: </Location>
                    623: 
1.1       harris41  624: <Location /adm/parmset>
1.139     albertel  625: AuthType LONCAPA
1.125     albertel  626: Require valid-user
                    627: PerlAuthzHandler       Apache::lonacc
1.1       harris41  628: SetHandler perl-script
1.126     albertel  629: PerlHandler Apache::lonparmset
1.31      bowersj2  630: ErrorDocument     403 /adm/login
                    631: ErrorDocument     406 /adm/roles
                    632: ErrorDocument	  500 /adm/errorhandler
                    633: </Location>
                    634: 
1.110     albertel  635: <Location /adm/slotrequest>
1.139     albertel  636: AuthType LONCAPA
1.125     albertel  637: Require valid-user
                    638: PerlAuthzHandler       Apache::lonacc
1.110     albertel  639: SetHandler perl-script
1.126     albertel  640: PerlHandler Apache::slotrequest
1.110     albertel  641: ErrorDocument     403 /adm/login
                    642: ErrorDocument     406 /adm/roles
                    643: ErrorDocument	  500 /adm/errorhandler
                    644: </Location>
                    645: 
1.31      bowersj2  646: <Location /adm/wizard>
1.139     albertel  647: AuthType LONCAPA
1.125     albertel  648: Require valid-user
                    649: PerlAuthzHandler       Apache::lonacc
1.31      bowersj2  650: SetHandler perl-script
1.126     albertel  651: PerlHandler Apache::lonwizard
1.1       harris41  652: ErrorDocument     403 /adm/login
                    653: ErrorDocument     406 /adm/roles
                    654: ErrorDocument	  500 /adm/errorhandler
                    655: </Location>
                    656: 
                    657: <Location /adm/grades>
1.139     albertel  658: AuthType LONCAPA
1.125     albertel  659: Require valid-user
                    660: PerlAuthzHandler       Apache::lonacc
1.1       harris41  661: SetHandler perl-script
1.126     albertel  662: PerlHandler Apache::grades
1.1       harris41  663: ErrorDocument     403 /adm/login
                    664: ErrorDocument     406 /adm/roles
                    665: ErrorDocument	  500 /adm/errorhandler
                    666: </Location>
                    667: 
                    668: <Location /adm/createcourse>
1.139     albertel  669: AuthType LONCAPA
1.125     albertel  670: Require valid-user
                    671: PerlAuthzHandler       Apache::lonacc
1.1       harris41  672: SetHandler perl-script
1.126     albertel  673: PerlHandler Apache::loncreatecourse
1.1       harris41  674: ErrorDocument     403 /adm/login
                    675: ErrorDocument     406 /adm/roles
                    676: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn   677: </Location>
                    678: 
                    679: <Location /adm/modifycourse>
1.139     albertel  680: AuthType LONCAPA
1.125     albertel  681: Require valid-user
                    682: PerlAuthzHandler       Apache::lonacc
1.67      raeburn   683: SetHandler perl-script
1.126     albertel  684: PerlHandler Apache::lonmodifycourse
1.67      raeburn   685: ErrorDocument     403 /adm/login
                    686: ErrorDocument     406 /adm/roles
                    687: ErrorDocument     500 /adm/errorhandler
1.1       harris41  688: </Location>
                    689: 
                    690: <Location /adm/createuser>
1.139     albertel  691: AuthType LONCAPA
1.125     albertel  692: Require valid-user
                    693: PerlAuthzHandler       Apache::lonacc
1.1       harris41  694: SetHandler perl-script
1.126     albertel  695: PerlHandler Apache::loncreateuser
1.1       harris41  696: ErrorDocument     403 /adm/login
                    697: ErrorDocument     406 /adm/roles
                    698: ErrorDocument	  500 /adm/errorhandler
                    699: </Location>
                    700: 
                    701: <Location /adm/publish>
1.139     albertel  702: AuthType LONCAPA
1.125     albertel  703: Require valid-user
                    704: PerlAuthzHandler       Apache::lonacc
1.1       harris41  705: SetHandler perl-script
1.126     albertel  706: PerlHandler Apache::lonpublisher
1.1       harris41  707: ErrorDocument     403 /adm/login
                    708: ErrorDocument     404 /adm/notfound.html
1.18      www       709: ErrorDocument     406 /adm/unauthorized
1.1       harris41  710: ErrorDocument	  500 /adm/errorhandler
                    711: </Location>
                    712: 
1.64      albertel  713: <LocationMatch "^/+\~.*/$">
1.139     albertel  714: AuthType LONCAPA
1.131     albertel  715: Require valid-user
1.125     albertel  716: PerlAuthzHandler       Apache::loncacc
1.1       harris41  717: SetHandler perl-script
1.126     albertel  718: PerlHandler Apache::lonpubdir
1.1       harris41  719: ErrorDocument     403 /adm/login
                    720: ErrorDocument     404 /adm/notfound.html
1.18      www       721: ErrorDocument     406 /adm/unauthorized
1.1       harris41  722: ErrorDocument	  500 /adm/errorhandler
                    723: </LocationMatch>
                    724: 
                    725: <Location /adm/pubdir>
1.139     albertel  726: AuthType LONCAPA
1.125     albertel  727: Require valid-user
                    728: PerlAuthzHandler       Apache::lonacc
1.1       harris41  729: SetHandler perl-script
1.126     albertel  730: PerlHandler Apache::lonpubdir
1.1       harris41  731: ErrorDocument     403 /adm/login
                    732: ErrorDocument     404 /adm/notfound.html
1.18      www       733: ErrorDocument     406 /adm/unauthorized
                    734: ErrorDocument	  500 /adm/errorhandler
                    735: </Location>
                    736: 
                    737: <Location /adm/unauthorized>
1.139     albertel  738: AuthType LONCAPA
1.125     albertel  739: Require valid-user
                    740: PerlAuthzHandler       Apache::lonacc
1.18      www       741: SetHandler perl-script
1.126     albertel  742: PerlHandler Apache::lonunauthorized
1.18      www       743: ErrorDocument     403 /adm/login
                    744: ErrorDocument     404 /adm/notfound.html
1.1       harris41  745: ErrorDocument	  500 /adm/errorhandler
                    746: </Location>
                    747: 
                    748: <Location /adm/retrieve>
1.139     albertel  749: AuthType LONCAPA
1.125     albertel  750: Require valid-user
                    751: PerlAuthzHandler       Apache::lonacc
1.1       harris41  752: SetHandler perl-script
1.126     albertel  753: PerlHandler Apache::lonretrieve
1.1       harris41  754: ErrorDocument     403 /adm/login
                    755: ErrorDocument     404 /adm/notfound.html
1.18      www       756: ErrorDocument     406 /adm/unauthorized
1.1       harris41  757: ErrorDocument	  500 /adm/errorhandler
                    758: </Location>
                    759: 
1.109     www       760: <Location /adm/cleanup>
1.139     albertel  761: AuthType LONCAPA
1.125     albertel  762: Require valid-user
                    763: PerlAuthzHandler       Apache::lonacc
1.109     www       764: SetHandler perl-script
1.126     albertel  765: PerlHandler Apache::loncleanup
1.109     www       766: ErrorDocument     403 /adm/login
                    767: ErrorDocument     404 /adm/notfound.html
                    768: ErrorDocument     406 /adm/unauthorized
                    769: ErrorDocument	  500 /adm/errorhandler
                    770: </Location>
                    771: 
1.1       harris41  772: <Location /adm/cfile>
1.139     albertel  773: AuthType LONCAPA
1.125     albertel  774: Require valid-user
                    775: PerlAuthzHandler       Apache::lonacc
1.1       harris41  776: SetHandler perl-script
1.126     albertel  777: PerlHandler Apache::loncfile
1.1       harris41  778: ErrorDocument     403 /adm/login
                    779: ErrorDocument     404 /adm/notfound.html
1.18      www       780: ErrorDocument     406 /adm/unauthorized
1.1       harris41  781: ErrorDocument	  500 /adm/errorhandler
                    782: </Location>
                    783: 
                    784: <Location /adm/diff>
1.139     albertel  785: AuthType LONCAPA
1.125     albertel  786: Require valid-user
                    787: PerlAuthzHandler       Apache::lonacc
1.1       harris41  788: SetHandler perl-script
1.126     albertel  789: PerlHandler Apache::londiff
1.1       harris41  790: ErrorDocument     403 /adm/login
                    791: ErrorDocument     404 /adm/notfound.html
1.18      www       792: ErrorDocument     406 /adm/unauthorized
1.1       harris41  793: ErrorDocument	  500 /adm/errorhandler
                    794: </Location>
                    795: 
                    796: <Location /adm/upload>
1.139     albertel  797: AuthType LONCAPA
1.125     albertel  798: Require valid-user
                    799: PerlAuthzHandler       Apache::lonacc
1.1       harris41  800: SetHandler perl-script
1.126     albertel  801: PerlHandler Apache::lonupload
1.1       harris41  802: ErrorDocument     403 /adm/login
                    803: ErrorDocument     404 /adm/notfound.html
1.18      www       804: ErrorDocument     406 /adm/unauthorized
1.1       harris41  805: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn   806: </Location>
                    807: 
1.73      raeburn   808: <Location /adm/imsimport>
1.139     albertel  809: AuthType LONCAPA
1.125     albertel  810: Require valid-user
                    811: PerlAuthzHandler       Apache::lonacc
1.73      raeburn   812: SetHandler perl-script
1.126     albertel  813: PerlHandler Apache::imsimport
1.73      raeburn   814: ErrorDocument     403 /adm/login
                    815: ErrorDocument     404 /adm/notfound.html
                    816: ErrorDocument     406 /adm/unauthorized
                    817: ErrorDocument     500 /adm/errorhandler
                    818: </Location>
                    819: 
1.72      raeburn   820: <Location /adm/testbank>
1.139     albertel  821: AuthType LONCAPA
1.125     albertel  822: Require valid-user
                    823: PerlAuthzHandler       Apache::lonacc
1.72      raeburn   824: SetHandler perl-script
1.126     albertel  825: PerlHandler Apache::testbankimport
1.72      raeburn   826: ErrorDocument     403 /adm/login
                    827: ErrorDocument     404 /adm/notfound.html
                    828: ErrorDocument     406 /adm/unauthorized
                    829: ErrorDocument     500 /adm/errorhandler
1.1       harris41  830: </Location>
                    831: 
                    832: <Location /adm/assesscalc>
1.139     albertel  833: AuthType LONCAPA
1.125     albertel  834: Require valid-user
                    835: PerlAuthzHandler       Apache::lonacc
1.1       harris41  836: SetHandler perl-script
1.126     albertel  837: PerlHandler Apache::lonspreadsheet
1.1       harris41  838: ErrorDocument     403 /adm/login
                    839: ErrorDocument     406 /adm/roles
1.20      www       840: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  841: ErrorDocument	  500 /adm/errorhandler
                    842: </Location>
                    843: 
                    844: <Location /adm/studentcalc>
1.139     albertel  845: AuthType LONCAPA
1.125     albertel  846: Require valid-user
                    847: PerlAuthzHandler       Apache::lonacc
1.1       harris41  848: SetHandler perl-script
1.126     albertel  849: PerlHandler Apache::lonspreadsheet
1.1       harris41  850: ErrorDocument     403 /adm/login
                    851: ErrorDocument     406 /adm/roles
1.20      www       852: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  853: ErrorDocument	  500 /adm/errorhandler
                    854: </Location>
                    855: 
                    856: <Location /adm/classcalc>
1.139     albertel  857: AuthType LONCAPA
1.125     albertel  858: Require valid-user
                    859: PerlAuthzHandler       Apache::lonacc
1.1       harris41  860: SetHandler perl-script
1.126     albertel  861: PerlHandler Apache::lonspreadsheet
1.1       harris41  862: ErrorDocument     403 /adm/login
                    863: ErrorDocument     406 /adm/roles
1.20      www       864: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  865: ErrorDocument	  500 /adm/errorhandler
                    866: </Location>
                    867: 
                    868: <Location /adm/dropadd>
1.139     albertel  869: AuthType LONCAPA
1.125     albertel  870: Require valid-user
                    871: PerlAuthzHandler       Apache::lonacc
1.1       harris41  872: SetHandler perl-script
1.126     albertel  873: PerlHandler Apache::londropadd
1.44      www       874: ErrorDocument     403 /adm/login
                    875: ErrorDocument     406 /adm/roles
                    876: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn   877: </Location>
                    878: 
1.92      matthew   879: <Location /adm/viewclasslist>
1.139     albertel  880: AuthType LONCAPA
1.125     albertel  881: Require valid-user
                    882: PerlAuthzHandler       Apache::lonacc
1.92      matthew   883: SetHandler perl-script
1.126     albertel  884: PerlHandler Apache::lonviewclasslist
1.92      matthew   885: ErrorDocument     403 /adm/login
                    886: ErrorDocument     406 /adm/roles
                    887: ErrorDocument	  500 /adm/errorhandler
                    888: </Location>
                    889: 
1.118     raeburn   890: <Location /adm/coursegroups>
1.139     albertel  891: AuthType LONCAPA
1.125     albertel  892: Require valid-user
                    893: PerlAuthzHandler       Apache::lonacc
1.118     raeburn   894: SetHandler perl-script
1.126     albertel  895: PerlHandler Apache::loncoursegroups
1.118     raeburn   896: ErrorDocument     403 /adm/login
                    897: ErrorDocument     406 /adm/roles
                    898: ErrorDocument     500 /adm/errorhandler
                    899: </Location>
                    900: 
1.143     raeburn   901: <Location /adm/groupboards>
                    902: AuthType LONCAPA
                    903: Require valid-user
                    904: PerlAuthzHandler       Apache::lonacc
                    905: SetHandler perl-script
                    906: PerlHandler Apache::groupboards
                    907: ErrorDocument     403 /adm/login
                    908: ErrorDocument     406 /adm/roles
                    909: ErrorDocument     500 /adm/errorhandler
                    910: </Location>
                    911: 
1.144     raeburn   912: <Location /adm/grouproster>
                    913: AuthType LONCAPA
                    914: Require valid-user
                    915: PerlAuthzHandler       Apache::lonacc
                    916: SetHandler perl-script
                    917: PerlHandler Apache::grouproster
                    918: ErrorDocument     403 /adm/login
                    919: ErrorDocument     406 /adm/roles
                    920: ErrorDocument     500 /adm/errorhandler
                    921: </Location>
                    922: 
1.112     raeburn   923: <Location /adm/whatsnew>
1.139     albertel  924: AuthType LONCAPA
1.125     albertel  925: Require valid-user
                    926: PerlAuthzHandler       Apache::lonacc
1.112     raeburn   927: SetHandler perl-script
1.126     albertel  928: PerlHandler Apache::lonwhatsnew
1.112     raeburn   929: ErrorDocument     403 /adm/login
                    930: ErrorDocument     406 /adm/roles
                    931: ErrorDocument     500 /adm/errorhandler
                    932: </Location>
                    933: 
1.65      raeburn   934: <Location /adm/populate>
1.139     albertel  935: AuthType LONCAPA
1.125     albertel  936: Require valid-user
                    937: PerlAuthzHandler       Apache::lonacc
1.65      raeburn   938: SetHandler perl-script
1.126     albertel  939: PerlHandler Apache::lonpopulate
1.65      raeburn   940: ErrorDocument     403 /adm/login
                    941: ErrorDocument     406 /adm/roles
                    942: ErrorDocument     500 /adm/errorhandler
1.44      www       943: </Location>
                    944: 
                    945: <Location /adm/managekeys>
1.139     albertel  946: AuthType LONCAPA
1.125     albertel  947: Require valid-user
                    948: PerlAuthzHandler       Apache::lonacc
1.44      www       949: SetHandler perl-script
1.126     albertel  950: PerlHandler Apache::lonmanagekeys
1.1       harris41  951: ErrorDocument     403 /adm/login
                    952: ErrorDocument     406 /adm/roles
                    953: ErrorDocument	  500 /adm/errorhandler
                    954: </Location>
                    955: 
                    956: <Location /adm/printout>
1.139     albertel  957: AuthType LONCAPA
1.125     albertel  958: Require valid-user
                    959: PerlAuthzHandler       Apache::lonacc
1.1       harris41  960: SetHandler perl-script
1.126     albertel  961: PerlHandler Apache::lonprintout
1.1       harris41  962: ErrorDocument     403 /adm/login
1.20      www       963: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  964: ErrorDocument	  500 /adm/errorhandler
                    965: </Location>
                    966: 
                    967: <Location /adm/feedback>
1.139     albertel  968: AuthType LONCAPA
1.125     albertel  969: Require valid-user
                    970: PerlAuthzHandler       Apache::lonacc
1.1       harris41  971: SetHandler perl-script
1.126     albertel  972: PerlHandler Apache::lonfeedback
1.10      www       973: ErrorDocument     403 /adm/login
                    974: ErrorDocument	  500 /adm/errorhandler
                    975: </Location>
                    976: 
                    977: <Location /adm/coursedocs>
1.139     albertel  978: AuthType LONCAPA
1.125     albertel  979: Require valid-user
                    980: PerlAuthzHandler       Apache::lonacc
1.10      www       981: SetHandler perl-script
1.126     albertel  982: PerlHandler Apache::londocs
1.108     albertel  983: PerlCleanupHandler Apache::londocs::untiehash
1.129     albertel  984: PerlCleanupHandler	Apache::lonacc::cleanup
1.10      www       985: ErrorDocument     403 /adm/login
                    986: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn   987: </Location>
                    988: 
                    989: <Location /adm/imsimportdocs>
1.139     albertel  990: AuthType LONCAPA
1.125     albertel  991: Require valid-user
                    992: PerlAuthzHandler       Apache::lonacc
1.73      raeburn   993: SetHandler perl-script
1.126     albertel  994: PerlHandler Apache::imsimportdocs
1.73      raeburn   995: ErrorDocument     403 /adm/login
                    996: ErrorDocument     500 /adm/errorhandler
1.10      www       997: </Location>
                    998: 
1.135     www       999: <LocationMatch "^/adm/announcements">
1.139     albertel 1000: AuthType LONCAPA
1.125     albertel 1001: Require valid-user
                   1002: PerlAuthzHandler       Apache::lonacc
1.10      www      1003: SetHandler perl-script
1.126     albertel 1004: PerlHandler Apache::lonannounce
1.10      www      1005: ErrorDocument     403 /adm/login
                   1006: ErrorDocument	  500 /adm/errorhandler
1.135     www      1007: </LocationMatch>
1.10      www      1008: 
                   1009: <Location /adm/chat>
1.139     albertel 1010: AuthType LONCAPA
1.125     albertel 1011: Require valid-user
                   1012: PerlAuthzHandler       Apache::lonacc
1.10      www      1013: SetHandler perl-script
1.126     albertel 1014: PerlHandler Apache::lonchat
1.13      www      1015: ErrorDocument	  500 /adm/errorhandler
                   1016: </Location>
                   1017: 
                   1018: <Location /adm/chatfetch>
1.139     albertel 1019: AuthType LONCAPA
1.125     albertel 1020: Require valid-user
                   1021: PerlAuthzHandler       Apache::lonacc
1.13      www      1022: SetHandler perl-script
1.126     albertel 1023: PerlHandler Apache::lonchatfetch
1.20      www      1024: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1025: ErrorDocument	  500 /adm/errorhandler
                   1026: </Location>
                   1027: 
1.137     albertel 1028: <Location /adm/groupchat>
1.139     albertel 1029: AuthType LONCAPA
1.137     albertel 1030: Require valid-user
                   1031: PerlAuthzHandler       Apache::lonacc
                   1032: SetHandler perl-script
                   1033: PerlHandler Apache::longroupchat
                   1034: ErrorDocument     403 /adm/login
                   1035: ErrorDocument     500 /adm/errorhandler
                   1036: </Location>
                   1037: 
1.1       harris41 1038: <Location /adm/evaluate>
1.139     albertel 1039: AuthType LONCAPA
1.125     albertel 1040: Require valid-user
                   1041: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1042: SetHandler perl-script
1.126     albertel 1043: PerlHandler Apache::lonevaluate
1.1       harris41 1044: ErrorDocument     403 /adm/login
                   1045: ErrorDocument	  500 /adm/errorhandler
                   1046: </Location>
                   1047: 
                   1048: <Location /adm/preferences>
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::lonpreferences
1.1       harris41 1054: ErrorDocument     403 /adm/login
                   1055: ErrorDocument	  500 /adm/errorhandler
                   1056: </Location>
                   1057: 
                   1058: <Location /adm/communicate>
1.139     albertel 1059: AuthType LONCAPA
1.125     albertel 1060: Require valid-user
                   1061: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1062: SetHandler perl-script
1.126     albertel 1063: PerlHandler Apache::loncommunicate
1.1       harris41 1064: ErrorDocument     403 /adm/login
                   1065: ErrorDocument	  500 /adm/errorhandler
                   1066: </Location>
                   1067: 
                   1068: <Location /adm/searchcat>
1.139     albertel 1069: AuthType LONCAPA
1.125     albertel 1070: Require valid-user
                   1071: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1072: SetHandler perl-script
1.126     albertel 1073: PerlHandler Apache::lonsearchcat
1.28      www      1074: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1075: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1076: ErrorDocument     403 /adm/login
1.20      www      1077: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1078: ErrorDocument	  500 /adm/errorhandler
                   1079: </Location>
                   1080: 
                   1081: <Location /adm/navmaps>
1.139     albertel 1082: AuthType LONCAPA
1.125     albertel 1083: Require valid-user
                   1084: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1085: SetHandler perl-script
1.126     albertel 1086: PerlHandler Apache::lonnavmaps
1.1       harris41 1087: ErrorDocument     403 /adm/login
                   1088: ErrorDocument     406 /adm/roles
                   1089: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1090: </Location>
                   1091: 
                   1092: <Location /adm/quickgrades>
1.139     albertel 1093: AuthType LONCAPA
1.125     albertel 1094: Require valid-user
                   1095: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1096: SetHandler perl-script
1.126     albertel 1097: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1098: ErrorDocument     403 /adm/login
                   1099: ErrorDocument     406 /adm/roles
                   1100: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1101: </Location>
                   1102: 
                   1103: <Location /adm/groupsort>
1.139     albertel 1104: AuthType LONCAPA
1.125     albertel 1105: Require valid-user
                   1106: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1107: SetHandler perl-script
1.126     albertel 1108: PerlHandler Apache::groupsort
1.29      www      1109: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1110: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1111: ErrorDocument     403 /adm/login
                   1112: ErrorDocument	  500 /adm/errorhandler
                   1113: </Location>
                   1114: 
                   1115: <Location /adm/errorhandler>
                   1116: SetHandler perl-script
1.126     albertel 1117: PerlHandler Apache::lonerrorhandler
1.1       harris41 1118: </Location>
                   1119: 
1.7       bowersj2 1120: <LocationMatch "^/adm/help/.*\.hlp$">
1.139     albertel 1121: AuthType LONCAPA
1.125     albertel 1122: Require valid-user
1.147     albertel 1123: PerlAccessHandler      Apache::publiccheck
1.125     albertel 1124: PerlAuthzHandler	Apache::lonacc
1.7       bowersj2 1125: SetHandler perl-script
1.126     albertel 1126: PerlHandler Apache::lonhelp
1.154     albertel 1127: ErrorDocument	  500 /adm/errorhandler
1.7       bowersj2 1128: </LocationMatch>
                   1129: 
1.90      raeburn  1130: <LocationMatch "^/adm/helpmenu">
1.139     albertel 1131: AuthType LONCAPA
1.125     albertel 1132: Require valid-user
                   1133: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1134: SetHandler perl-script
1.126     albertel 1135: PerlHandler Apache::lonhelpmenu
1.154     albertel 1136: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1137: </LocationMatch>
                   1138: 
                   1139: <LocationMatch "^/adm/support">
1.139     albertel 1140: AuthType LONCAPA
1.125     albertel 1141: Require valid-user
                   1142: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1143: SetHandler perl-script
1.126     albertel 1144: PerlHandler Apache::lonsupportreq
1.154     albertel 1145: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1146: </LocationMatch>
                   1147: 
1.100     raeburn  1148: <LocationMatch "^/adm/helpdesk">
                   1149: SetHandler perl-script
1.126     albertel 1150: PerlHandler Apache::lonsupportreq
1.154     albertel 1151: ErrorDocument	  500 /adm/errorhandler
1.100     raeburn  1152: </LocationMatch>
                   1153: 
1.133     albertel 1154: <LocationMatch "^/adm/css">
                   1155: SetHandler perl-script
                   1156: PerlHandler Apache::loncss
1.154     albertel 1157: ErrorDocument	  500 /adm/errorhandler
1.133     albertel 1158: </LocationMatch>
                   1159: 
1.155     raeburn  1160: <LocationMatch "^/adm/coursecatalog">
                   1161: SetHandler perl-script
                   1162: PerlHandler Apache::coursecatalog
1.156   ! albertel 1163: ErrorDocument	  500 /adm/errorhandler
1.155     raeburn  1164: </LocationMatch>
                   1165: 
                   1166: 
1.1       harris41 1167: # ------------------------------------------------- Backdoor Adm Tests/Programs
                   1168: 
                   1169: <Location /cgi-bin/loncron.pl>
1.37      www      1170: AuthName "LON-CAPA Network Administration"
                   1171: AuthType Basic
                   1172: AuthUserFile /home/httpd/lonTabs/htpasswd
                   1173: require user lonadm
                   1174: </Location>
                   1175: 
                   1176: <Location /cgi-bin/userstatus.pl>
1.1       harris41 1177: AuthName "LON-CAPA Network Administration"
                   1178: AuthType Basic
                   1179: AuthUserFile /home/httpd/lonTabs/htpasswd
                   1180: require user lonadm
                   1181: </Location>
                   1182: 
                   1183: <Location /cgi-bin/lonversions.pl>
                   1184: AuthName "LON-CAPA Network Administration"
                   1185: AuthType Basic
                   1186: AuthUserFile /home/httpd/lonTabs/htpasswd
                   1187: require user lonadm
                   1188: </Location>
                   1189: 
                   1190: <Location /cgi-bin/clusterstatus.pl>
                   1191: AuthName "LON-CAPA Network Administration"
                   1192: AuthType Basic
                   1193: AuthUserFile /home/httpd/lonTabs/htpasswd
                   1194: require user lonadm
                   1195: </Location>
                   1196: 
                   1197: <Location /cgi-bin/metadata_keywords.pl>
                   1198: AuthName "LON-CAPA Network Administration"
                   1199: AuthType Basic
                   1200: AuthUserFile /home/httpd/lonTabs/htpasswd
                   1201: require user lonadm
1.22      www      1202: </Location>
                   1203: 
                   1204: <Location /cgi-bin/metadata_harvest.pl>
                   1205: AuthName "harvest"
                   1206: AuthType Basic
                   1207: AuthUserFile /home/httpd/lonTabs/htpasswd
                   1208: require user  reaper
1.62      www      1209: </Location>
                   1210: 
                   1211: <Location /cgi-bin/takeoffline.pl>
                   1212: AuthName "Offline"
                   1213: AuthType Basic
                   1214: AuthUserFile /home/httpd/lonTabs/htpasswd
                   1215: require user  offline
                   1216: </Location>
                   1217: 
                   1218: <Location /cgi-bin/takeonline.pl>
                   1219: AuthName "Offline"
                   1220: AuthType Basic
                   1221: AuthUserFile /home/httpd/lonTabs/htpasswd
                   1222: require user  offline
1.1       harris41 1223: </Location>
                   1224: 
                   1225: <Location /adm/test>
                   1226: AuthName "LON-CAPA Network Administration"
                   1227: AuthType Basic
                   1228: AuthUserFile /home/httpd/lonTabs/htpasswd
                   1229: require user lonadm
                   1230: SetHandler perl-script
1.125     albertel 1231: PerlAuthzHandler Apache::lonacc
1.126     albertel 1232: PerlHandler Apache::lontest
1.1       harris41 1233: </Location>
                   1234: 
                   1235: # ------------------------------------------------------- Shutting down a child
                   1236: 
1.129     albertel 1237: PerlChildExitHandler Apache::lonacc::goodbye
1.1       harris41 1238: 
                   1239: #
                   1240: # LON-CAPA Section (extensions to access.conf permission configuration)
                   1241: #
                   1242: # =========================================================== Directory Options
                   1243: 
                   1244: # Start out with "no"
                   1245: 
                   1246: <Directory />
                   1247: Options None
                   1248: AllowOverride None
                   1249: </Directory>
                   1250: 
                   1251: # Yes to symbolic links and server-side includes
                   1252: 
                   1253: <Directory /home/httpd/html>
                   1254: Options Includes FollowSymLinks
                   1255: AllowOverride None
                   1256: order allow,deny
                   1257: allow from all
                   1258: </Directory>
                   1259: 
                   1260: # If it is in cgi-bin, then it can be executed as a CGI script.
                   1261: 
                   1262: <Directory /home/httpd/cgi-bin>
                   1263: AllowOverride None
                   1264: Options ExecCGI
                   1265: </Directory>
                   1266: 
                   1267: # ============================================================= Access Handlers
                   1268: 
                   1269: # ------------------------------------------------- Allow server-status reports
                   1270: <Location /server-status>
                   1271: SetHandler server-status
                   1272: AuthName "LON-CAPA Network Administration"
                   1273: AuthType Basic
                   1274: AuthUserFile /home/httpd/lonTabs/htpasswd
                   1275: require user lonadm
                   1276: </Location>
                   1277: 
                   1278: # ------------------------ Allow LON-CAPA "low-level" connection status reports
                   1279: <Location /lon-status>
                   1280: AuthName "LON-CAPA Network Administration"
                   1281: AuthType Basic
                   1282: AuthUserFile /home/httpd/lonTabs/htpasswd
                   1283: require user lonadm
                   1284: </Location>
                   1285: 
                   1286: # ------------------- Allow access to local system documentation from localhost
                   1287: Alias /doc /usr/doc
                   1288: <Directory /usr/doc>
                   1289: order deny,allow
                   1290: deny from all
                   1291: allow from localhost
                   1292: Options Indexes FollowSymLinks
                   1293: </Directory>
                   1294: 
                   1295: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1296: # ====================================== Internal Settings / Perl Configuration
                   1297: 
1.59      www      1298: PerlSetVar	 lonVersion   '<!-- VERSION -->'
1.1       harris41 1299: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                   1300: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1301: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1302: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1303: PerlSetVar       londPort     5663
                   1304: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                   1305: PerlSetVar       lonDaemons   /home/httpd/perl
                   1306: PerlSetVar       lonSockDir   /home/httpd/sockets
                   1307: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1308: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1309: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.119     albertel 1310: # & sepeareted list of : seperated fileds inorder of
                   1311: # - internal name to call it, 
                   1312: # - regexp that it should match (done case-insensitively)
                   1313: # - regexp that is should not match (done case-insensitively)
                   1314: # - regexp that will pull out the version number into $1
                   1315: # - a number that describes the minimum version that has mathml support
                   1316: # - a number that describes the minimum number version that has unicode support
                   1317: 
                   1318: PerlSetVar       lonBrowsDet  explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&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
                   1319: 
1.105     albertel 1320: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1321: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1322: PerlSetVar       lonScriptTimeout 10
1.70      www      1323: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1324: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1325: # -----------------------------------------------------------------------------
                   1326: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1327: # www@localhost.  This value must always be "localhostkey".
                   1328: # The only security risk occurs when somebody logs in as 'www' on your system
                   1329: # (in which case you have much bigger problems than whether or not they
                   1330: # can access the non-authoritative loncapa database on your machine).
                   1331: 
                   1332: PerlSetVar       lonSqlAccess   localhostkey
                   1333: 
                   1334: # -----------------------------------------------------------------------------
1.36      albertel 1335: # lonttpdPort is the port used by the lightweight graphics httpd server
                   1336: # not the main Apache server
1.96      albertel 1337: PerlSetVar       lonhttpdPort  8080
1.36      albertel 1338: 
1.2       harris41 1339: 
1.86      foxr     1340: #----------------------------------------------------------------------------
                   1341: #
1.79      foxr     1342: #   Parameters used by secure lond/lonc
                   1343: 
                   1344: #
                   1345: #   Secure lond/lonc require ssl certificate and private
                   1346: #   key files to function correctly.  The certificate
                   1347: #   files need not be terribly secure, but the private key files
                   1348: #   should be set up so that only www (the lonc/lond effective user)
                   1349: #   can read them.
                   1350: # 
                   1351: #   The definition below is the full path to the directory that
                   1352: #   contains the certificate and key files:
1.82      foxr     1353: 
1.79      foxr     1354: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1355: 
                   1356: #
                   1357: #  Secure lond/lonc require two certificates and a private host key.
                   1358: #  The certificates required are that of the lonCAPA certificate authority
                   1359: #  and the certificate that authority issued to this host.
                   1360: #  lonnetCertificateAuthority is the name of the file that contains the
                   1361: #                            lonCAPA certificate authority's certificate.
                   1362: #  lonnetCertificate is the name of the file that contains the certificate
                   1363: #                    issued to the host by the certificate authority.
                   1364: #  Both of these variables are names of files assumed to be in 
                   1365: #  lonCertificateDirectory:
                   1366: 
                   1367: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1368: PerlSetVar lonnetCertificate          lonhostcert.pem
                   1369: 
                   1370: #
                   1371: #  To generate the request for a certificate, and to negotiate the
                   1372: #  initial ssl connection, the host requires a private key.  This key
                   1373: #  is created at lonCAPA install time.  Did we mention above that it
                   1374: #  should be set so that only www can read it?  The variale below
                   1375: #  is the name of the file relative to lonnetCertificateDirectory
                   1376: #  that has the host's private key.  Did we remember to tell you to
                   1377: #  keep the permissions on that file set to rw-------  (0600)?
                   1378: #  
                   1379: 
                   1380: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1381: 
                   1382: # Did we mention that the file described above must have
                   1383: # permissions really locked down so that it can't be stolen?
                   1384: 
1.86      foxr     1385: #-------------------------------------------------------------------------
                   1386: 
                   1387: #   Parameters that define where all the ssl stuff is that's needed
                   1388: #   to generate certificate requests and, on a system that's a CA
                   1389: #   the certificate authority.
                   1390: #    
                   1391: #    SSLProgram    -> Path to the openssl command
                   1392: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1393: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1394: #                     Authority.
1.87      foxr     1395: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1396: #                    (on the cert manager system).
                   1397: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1398: #    The following are good for the loncapa redhat installs and
                   1399: #    the loncapa certificate authority system:
                   1400: #
                   1401: PerlSetVar SSLProgram	/usr/bin/openssl
                   1402: PerlSetVar SSLDirectory /usr/share/ssl
                   1403: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1404: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1405: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1406: 
                   1407: #-------------------------------------------------------------------------
                   1408: 
1.79      foxr     1409: 
                   1410: 
1.2       harris41 1411: 
1.8       harris41 1412: # ====================================== Include machine-specific configuration
1.2       harris41 1413: 
                   1414: Include conf/loncapa.conf
1.61      albertel 1415: 
                   1416: # ================================================= Include local configuration
                   1417: 
                   1418: Include conf/loncapa_apache_local*.conf
1.1       harris41 1419: 
                   1420: # ================================================== Initiate mod_perl starting
                   1421: 
                   1422: PerlRequire      conf/startup.pl
1.47      albertel 1423: <IfDefine !MODPERL2>
1.1       harris41 1424: PerlFreshRestart On
1.47      albertel 1425: </IfDefine>

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